Jetty and Eclipse Integration
As I mentioned on a previous post (Installing and running Jetty), I am trying to use Jetty instead of Tomcat. What I like about Tomcat is that Eclipse has native support to it. You can quickly go to the servers view and add a new Tomcat server instance in less than a minute. But Eclipse does not have native support to Jetty, and I did some research of how to do the same easy way with Jetty as well.
I found this plugin Run-Jetty-Run hosted on Google Code and it is very simple to use. So in this post I will show how to install it within Eclipse and in the next post I will show how it is easy to use.
The link of Run-Jetty_run Plugin on Marketplace is: http://marketplace.eclipse.org/content/run-jetty-run
2 – Search for run-jetty-run and click on install:
3 – Confirm the installation of the plugin:
4 – Review and accept the licence and click on Finish:
5 – Wait while the plugin is being installed and then restart Eclipse.
Old way - Install new Software
1 – Open Eclipse, go to the Help -> Install new Software:
2 – Click on Add, then fill the form with Name:Jetty (or whatever you like) and Location: http://run-jetty-run.googlecode.com/svn/trunk/updatesite
3 – Select the plugin and click on Next:
4 – Confirm the installation of the plugin:
5 – Review and accept the licence and click on Finish:
6 – Wait while the plugin is being installed and then restart Eclipse.
On next post, we will see how to use it.