Re: Decent jetty runner for eclipse

2009-04-15 Thread Christian Edward Gruber
Ganymede, Mac, 1.6. Christian. On 14-Apr-09, at 17:45 , Amit Nithian wrote: I am using it with Eclipse Ganymede and 1.6 without problems. I too have the parentLoader property and production mode off as I assume most others do too. I just upgraded from Eclipse 3.3 and launched this without m

Re: Decent jetty runner for eclipse

2009-04-14 Thread Amit Nithian
I am using it with Eclipse Ganymede and 1.6 without problems. I too have the parentLoader property and production mode off as I assume most others do too. I just upgraded from Eclipse 3.3 and launched this without much hassle. It's a great plugin for web development in Eclipse.. no fuss launching o

Re: Decent jetty runner for eclipse

2009-04-14 Thread Thiago H. de Paula Figueiredo
Em Tue, 14 Apr 2009 12:09:59 -0300, Marcus Veloso escreveu: Hi, following http://wiki.apache.org/tapestry/Tapestry5RunViaMain: ... 1. Add a dependency on Jetty to your POM at provided scope. Use the jetty-server-dependencies and jetty-provided-apis artifacts That's what I do:

Re: Decent jetty runner for eclipse

2009-04-14 Thread Marcus Veloso
Hi, following http://wiki.apache.org/tapestry/Tapestry5RunViaMain: ... 1. Add a dependency on Jetty to your POM at provided scope. Use the jetty-server-dependencies and jetty-provided-apis artifacts 2. Turn off J2EE deployment in module properties ... Can someone show the code

Re: Decent jetty runner for eclipse

2009-04-13 Thread Christian Köberl
I have created a simple Eclipse plugin for running Jetty (also frustrated by RunJettyRun and Jetty Launcher). The plugin can be used like Jetty launcher but support Java 6 and Jetty 6/7. It is currently in alpha stage but it works fine for servlet-based apps (JSP support is missing, Jetty 5 do

Re: Decent jetty runner for eclipse

2009-04-13 Thread Sergey Didenko
Thanx guys, that looks less dependent on Jetty defaults. Here is the article for everyone interested: http://docs.codehaus.org/display/JETTY/Classloading On Mon, Apr 13, 2009 at 9:24 PM, Fernando Padilla wrote: > we add this to our vmargs: > > -Dorg.mortbay.jetty.webapp.parentLoaderPriority=tru

Re: Decent jetty runner for eclipse

2009-04-13 Thread Fernando Padilla
we add this to our vmargs: -Dorg.mortbay.jetty.webapp.parentLoaderPriority=true -Dtapestry.production-mode=false -Xmx500m Thiago H. de Paula Figueiredo wrote: On Mon, Apr 13, 2009 at 2:28 PM, Sergey Didenko wrote: Don't you use webapp.setServerClasses( new String[] {"-org.mortbay.jetty.plus.

Re: Decent jetty runner for eclipse

2009-04-13 Thread Thiago H. de Paula Figueiredo
On Mon, Apr 13, 2009 at 2:28 PM, Sergey Didenko wrote: > Don't you use > webapp.setServerClasses( new String[] > {"-org.mortbay.jetty.plus.jaas.", "org.mortbay.jetty."} ); > also? As recommended on http://wiki.apache.org/tapestry/Tapestry5RunViaMain . The line webapp.setParentLoaderPriority(true)

Re: Decent jetty runner for eclipse

2009-04-13 Thread Sergey Didenko
Don't you use webapp.setServerClasses( new String[] {"-org.mortbay.jetty.plus.jaas.", "org.mortbay.jetty."} ); also? As recommended on http://wiki.apache.org/tapestry/Tapestry5RunViaMain . On Mon, Apr 13, 2009 at 3:28 PM, Thiago H. de Paula Figueiredo wrote: > I'm not using any Eclipse plugins

Re: Decent jetty runner for eclipse

2009-04-13 Thread Andreas Andreou
+1 - i also put that in the test source tree On Mon, Apr 13, 2009 at 3:28 PM, Thiago H. de Paula Figueiredo wrote: > I'm not using any Eclipse plugins: I just wrote a class (I call it > Main) in the test sources folder and added Jetty 6.1.14 as a test > dependency. My Main class has code in its m

Re: Decent jetty runner for eclipse

2009-04-13 Thread Thiago H. de Paula Figueiredo
I'm not using any Eclipse plugins: I just wrote a class (I call it Main) in the test sources folder and added Jetty 6.1.14 as a test dependency. My Main class has code in its main() method: Server server = new Server(); Connector connector = new SelectChannelConnector(); connector

Re: Decent jetty runner for eclipse

2009-04-13 Thread Peter Stavrinides
I remember using this plugin a while back (18 months perhaps) and it was pretty decent apart from the lack of Java 6 support, also I seem to recall it didn't work in the latest eclipse at that time so sadly I ditched it. Is it working in Ganymede with JDK 6 anybody? - Original Message