Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Jetty WTP Plugin"
m |
m |
||
Line 18: | Line 18: | ||
To install the WTP Adaptor, complete the following steps. | To install the WTP Adaptor, complete the following steps. | ||
− | # In the | + | # Open Eclipse. |
+ | # In the taskbar at the top of your screen, click '''Help -> Install New Software'''. The Available Software window opens. | ||
+ | # 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 | |
− | + | ** More bleeding edge versions of the plugin (each successful build on Hudson): http://download.eclipse.org/jetty/updates/jetty-wtp/development | |
− | + | # Press Return. | |
+ | # In the Name/Version box below, select the box for Jetty WTP Adaptor Site. | ||
+ | # Click Next. | ||
+ | The Install Details window opens. | ||
+ | # Click Next again. | ||
+ | The Review Licenses window opens. | ||
+ | # Accept the terms and click Finish. | ||
+ | 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. | ||
+ | # Click Restart Now. | ||
+ | The Workspace Launcher dialog box opens, instructing you to select a Workspace. | ||
+ | # Select a Workspace. | ||
+ | You return to the main Eclipse window. | ||
− | |||
− | |||
− | |||
Revision as of 18:46, 17 November 2010
Contents
Introduction
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.
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.
- Open Eclipse.
- In the taskbar at the top of your screen, click Help -> Install New Software. The Available Software window opens.
- 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
- More bleeding edge versions of the plugin (each successful build on Hudson): http://download.eclipse.org/jetty/updates/jetty-wtp/development
- Press Return.
- In the Name/Version box below, select the box for Jetty WTP Adaptor Site.
- Click Next.
The Install Details window opens.
- Click Next again.
The Review Licenses window opens.
- Accept the terms and click Finish.
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.
- Click Restart Now.
The Workspace Launcher dialog box opens, instructing you to select a Workspace.
- Select a Workspace.
You return to the main Eclipse window.
Helpful Pages
- Creating a Jetty Server
- Setting up a Dynamic Web Project
- How to modify the Port
- How to use external webapp
- How to modify context path
- How to use websocket wizard
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.