Hi,
since my applications are based on OSGi and websockets, i really prefer the use of jetty >= 7.x.
So far i tested the ozone layer addon by maven with mvn jetty:start. It worked really fine. But suddenly i can not run it anymore. I guess some problems with my configuration.
Since i am not an expert in maven and after hours of trial and error, i tried to setup eclipse 3.7, that the demo can be run using the jetty server adapter.
It was really struggling; but really easy too.
This little entry should describe the steps to setup eclipse.
First download eclipse juno JEE from
http://eclipse.org/downloads/index-developer.php
After running eclipse, you have to install subversion and maven (m2e) using the eclipse marketplace. (Help | Eclipse Marketplace)
You have to install the jetty server adapter by an updatesite. See detailed information here:
http://wiki.eclipse.org/Jetty_WTP_Plugin/Jetty_WTP_Install
Updatesite to jetty server adapter:
http://download.eclipse.org/jetty/updates/jetty-wtp
And install the vaadin plugin from http://vaadin.com/eclipse
Checkout the sources from the dontpush ozonelayer svn.
Import projects as maven projects.
Select “debug on server” at demo project. → If you get a “class not found exception for org.objectweb.asm”, then add the jar to the class path of the launchconfig. The jar is located in the jetty installation folder “lib/annotations”.
You can install the jetty server at the “debug on server” wizard page.
After all that steps, the installation should work fine!
Cheers, Florian