Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Web Tooling Support

There is a Jetty implementation for the Eclipse JST Server functionality. The Server feature allows you to stop/start web containers in a generic way from within Eclipse, and also to deploy/undeploy/hot redeploy Eclipse webapp projects.

Downloading and Installing

The Jetty Eclipse tools update site is here:

  1. To add this location as an update site, use the "Help->Software Updates->Find and Install" menu item.



  2. Select "Search for new features to install" and then click "Next".



  3. Click on "New Remote Site", and enter the following information and then click on "OK":



  4. You should now have a site called Webtide in your list, and the site should be checked:



  5. Click "Finish". Eclipse will find the Webtide site and present you with a list of plugins and features for you to install:



  6. Click "Next", and accept the Apache 2 license if you'd like this feature installed:



  7. You can then select the location to install the Jetty feature, or use the default location:



  8. You'll be asked to verify that you want this feature installed: Select "Install All":



  9. 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.

Creating a Jetty Server instance

  1. Go to the "New->Other->Server" menu item.



  2. Scroll down until you see "Jetty", then select it and press "Next"



  3. Enter the location of your local jetty installation - in this example, it is installed in "/home/janb/src/jetty-6"



  4. 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.



  5. 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.



  6. Press "Finish"


  7. If you haven't already opened the "Servers" view, do so now by selecting the "Show View->Other->Servers"


  8. 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.
  • No labels
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery