Difference between revisions of "Jetty WTP Plugin"

From Eclipsepedia

Jump to: navigation, search
m
m
Line 20: Line 20:
 
<ol>
 
<ol>
 
<li> Open Eclipse.
 
<li> Open Eclipse.
<li> In the taskbar at the top of your screen, click '''Help -> Install New Software'''. The Available Software window opens.
+
<li> In the taskbar at the top of your screen, click '''Help -> Install New Software'''. The ''Available Software'' dialog box opens.
 
<li> In the Work with: field, type one of the URLs provided below:  
 
<li> In the Work with: field, type one of the URLs provided below:  
  
</li>** Stable releases of the plugin: http://download.eclipse.org/jetty/updates/jetty-wtp
+
</li>* Stable releases of the plugin: <nowiki>http://download.eclipse.org/jetty/updates/jetty-wtp</nowiki>
 +
</li>* More bleeding edge versions of the plugin (each successful build on Hudson): <nowiki>http://download.eclipse.org/jetty/updates/jetty-wtp/development</nowiki>
  
** More bleeding edge versions of the plugin (each successful build on Hudson): http://download.eclipse.org/jetty/updates/jetty-wtp/development
+
<li> Press '''Return'''.
 
+
<li> In the ''Name/Version'' box below, select the box for Jetty WTP Adaptor Site.
<li> Press Return.
+
<li> Click '''Next'''.  
<li> In the Name/Version box below, select the box for Jetty WTP Adaptor Site.
+
</li>The ''Install Details'' dialog box opens.
<li> Click Next.  
+
<li> Click '''Next''' again.  
</li>The Install Details window opens.
+
</li>The ''Review Licenses'' dialog box opens.
<li> Click Next again.  
+
<li> Accept the terms and click '''Finish'''.  
</li>The Review Licenses window opens.
+
</li>The ''Installing Software'' dialog box opens, displaying progress for installing the WTP adaptor.  
<li> Accept the terms and click Finish.  
+
When it completes, the ''Software Updates'' dialog box opens with a message that you need to restart Eclipse to complete the installation.
</li>The Installing Software dialog box opens, displaying progress for installing the WTP adaptor.  
+
<li>Click '''Restart Now'''.
When it completes, the Software Updates dialog box opens with a message that you need to restart Eclipse to complete the installation.
+
</li>The W''orkspace Launcher'' dialog box opens, instructing you to select a Workspace.
<li>Click Restart Now.
+
</li>The Workspace Launcher dialog box opens, instructing you to select a Workspace.
+
 
<li>Select a Workspace.
 
<li>Select a Workspace.
</ol>You return to the main Eclipse window.
+
</li>You return to the main Eclipse window.
 
+
</ol>
  
  

Revision as of 16:00, 18 November 2010



Contents

Introduction

WTP Adaptor for Jetty 7.x/Jetty 8.x

The Jetty WTP Adaptor allows you to use Eclipse and its Web Tools Platform (WTP) to develop your web applications.

Feature

This document explains how use the WTP Adaptor for Jetty 7.x/Jetty 8.x to start/stop a WTP Dynamic Web Project (or external Web application) with Jetty by using Eclipse WTP. Eclipse JEE Helios is required. (Galileo is not supported.) The origin of this Jetty WTP Adaptor is the WTP Adaptor for Tomcat.

The WTP Adaptor consists of 3 plugins:

  • org.eclipse.jst.server.jetty.core: central bits and pieces of the functionality
  • org.eclipse.jst.server.jetty.ui: GUI components for integration with the Eclipse UI
  • org.eclipse.jst.server.jetty.ui.websocket: GUI components that provide a wizard that generates a Jetty WebSocket

Installing the WTP Adaptor

To install the WTP Adaptor, complete the following steps.

  1. Open Eclipse.
  2. In the taskbar at the top of your screen, click Help -> Install New Software. The Available Software dialog box opens.
  3. In the Work with: field, type one of the URLs provided below:
  4. * Stable releases of the plugin: http://download.eclipse.org/jetty/updates/jetty-wtp * More bleeding edge versions of the plugin (each successful build on Hudson): http://download.eclipse.org/jetty/updates/jetty-wtp/development
  5. Press Return.
  6. In the Name/Version box below, select the box for Jetty WTP Adaptor Site.
  7. Click Next.
  8. The Install Details dialog box opens.
  9. Click Next again.
  10. The Review Licenses dialog box opens.
  11. Accept the terms and click Finish.
  12. The Installing Software dialog box opens, displaying progress for installing the WTP adaptor.

    When it completes, the Software Updates dialog box opens with a message that you need to restart Eclipse to complete the installation.

  13. Click Restart Now.
  14. The Workspace Launcher dialog box opens, instructing you to select a Workspace.
  15. Select a Workspace.
  16. You return to the main Eclipse window.


Helpful Pages

Contributing

To report a bug with the WTP integration please open a bugzilla issue: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Jetty

Patches are welcome, the plugins are setup so that you can import the project source within the Eclipse simply. In the Plugins View locate the bundle and right click -> Import As -> Source Project.