Jump to: navigation, search

Difference between revisions of "Jetty WTP Plugin"

m
m
Line 1: Line 1:
 
{{Jetty Feature
 
{{Jetty Feature
 
|introduction =
 
|introduction =
=== WTP Adaptor for Jetty 7.x/Jetty 8.x ===
+
== WTP Adaptor for Jetty 7.x/Jetty 8.x ==
  
The Jetty WTP Adaptor allows you to use Eclipse and it Web Tools Platform (WTP) to develop your web applications.
+
The Jetty WTP Adaptor allows you to use Eclipse and its Web Tools Platform (WTP) to develop your web applications.
  
 
|body =
 
|body =
Line 10: Line 10:
 
The WTP Adaptor consists of 3 plugins:  
 
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.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: 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
+
* org.eclipse.jst.server.jetty.ui.websocket: GUI components that provide a wizard that generates a Jetty WebSocket
  
== Installing the WTP Adaptor ==
+
=== Installing the WTP Adaptor ===
  
 
To install the WTP Adaptor, complete the following steps.
 
To install the WTP Adaptor, complete the following steps.
  
# Open Eclipse.
+
<ol>
# In the taskbar at the top of your screen, click '''Help -> Install New Software'''. The Available Software window opens.
+
<li> Open Eclipse.
# In the Work with: field, type one of the URLs provided below:  
+
<li> In the taskbar at the top of your screen, click '''Help -> Install New Software'''. The Available Software window opens.
 +
<li> In the Work with: field, type one of the URLs provided below:  
  
** Stable releases of the plugin: http://download.eclipse.org/jetty/updates/jetty-wtp
+
</li>** 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
 
** More bleeding edge versions of the plugin (each successful build on Hudson): http://download.eclipse.org/jetty/updates/jetty-wtp/development
  
# Press Return.
+
<li> Press Return.
# In the Name/Version box below, select the box for Jetty WTP Adaptor Site.
+
<li> In the Name/Version box below, select the box for Jetty WTP Adaptor Site.
# Click Next.  
+
<li> Click Next.  
The Install Details window opens.
+
</li>The Install Details window opens.
# Click Next again.  
+
<li> Click Next again.  
The Review Licenses window opens.
+
</li>The Review Licenses window opens.
# Accept the terms and click Finish.  
+
<li> Accept the terms and click Finish.  
The Installing Software dialog box opens, displaying progress for installing the WTP adaptor.  
+
</li>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.
 
When it completes, the Software Updates dialog box opens with a message that you need to restart Eclipse to complete the installation.
# Click Restart Now.
+
<li>Click Restart Now.
The Workspace Launcher dialog box opens, instructing you to select a Workspace.
+
</li>The Workspace Launcher dialog box opens, instructing you to select a Workspace.
# Select a Workspace.
+
<li>Select a Workspace.
You return to the main Eclipse window.
+
</ol>You return to the main Eclipse window.
  
  

Revision as of 14:54, 18 November 2010



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 window 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
  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 window opens.
  9. Click Next again.
  10. The Review Licenses window 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.
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.