- To add this location as an update site, use the "Help->Software Updates->Find and Install" menu item.
- Select "Search for new features to install" and then click "Next".
- Click on "New Remote Site", and enter the following information and then click on "OK":
- You should now have a site called Webtide in your list, and the site should be checked:
- Click "Finish". Eclipse will find the Webtide site and present you with a list of plugins and features for you to install:
- Click "Next", and accept the Apache 2 license if you'd like this feature installed:
- You can then select the location to install the Jetty feature, or use the default location:
- You'll be asked to verify that you want this feature installed: Select "Install All":
- Now you will usually need to restart Eclipse - you'll be prompted to do this. Note that the feature will not be usable until you restart.
- Go to the "New->Other->Server" menu item.
- Scroll down until you see "Jetty", then select it and press "Next"
jetty-server.gif! Image Added
- Enter the location of your local jetty installation - in this example, it is installed in "/home/janb/src/jetty-6"
- Set up the jetty runtime by customising port numbers etc. Check the "Annotations Support" box if you'd like Jetty to support Servlet 2.5 Annotations for your webapps.
- If you have any Eclipse webapp projects, you can configure them to be deployed to Jetty using the following dialog box. In this example, we have no webapps, so the dialog is empty.
- Press "Finish"
- If you haven't already opened the "Servers" view, do so now by selecting the "Show View->Other->Servers"
- You will see a Jetty instance, its state, and icon displayed. Use the popup menu opened by clicking on Jetty in the Servers view to start/stop and deploy/undeploy your webapps.