Reply to comment


Anonymous's picture

I never deploy neither. And I think I have a better solution than yours because you are messing up with the classloaders! The container and the webapp have the same classloader. And in your Eclipse project you may have some jars required for units tests which get loaded whereas they should not be there in production-like deployment.

What I wrote is an Eclipse plugin which is extending the usual java launcher. In the usual java launch configuration you can configure the classpath. With my plugin, the I use this configured classpath to be the jetty's extra classpath: http://docs.codehaus.org/display/JETTY/Classloading#Classloading-Usingth...

And this works very nicely with IvyDE, contrary to the other launch frameworks like WTP.

I should probably get it open source :p

Reply

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
Please answer this question to show that you're not a stupid spam robot.
5 + 2 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.

J'ai Failli Attendre