Before you begin
- Install the Eclipse Jetty Integration from the Eclipse marketplace if you have not already done so.
Creating run and debug configurations
To create a new run and debug configuration for your app:
Select your flex application in the Project Explorer.
Select Run > Run Configurations....
Select Jetty Webapp in the left panel.
Click the New launch configuration icon.
The run configuration Name autofills with the project name.
Fill in other fields as needed.
For more information about the configuration options available when creating run and debug configurations, refer to the Eclipse Jetty documentation.
Launching your project with Jetty
After creating the run configuration, you can launch your project on the Jetty server by selecting Run > Run As > Run with Jetty. Your project is available at http://localhost:8080/, or on the port you specified in the run configuration.
You can debug your project by selecting Run > Debug As > Run with Jetty.