Here was my experience with the popular ones. My goal was to use the
dependencies in place without having to copy them to WEB-INF/lib.
Sysdeo had this cool DevLoader that allows your libraries to be
automatically loaded in your webapp without having to copy them to
WEB-INF/lib. I ran into one problem, the DevLoader loaded up the libraries
*after* my Spring context listener loaded, the effect was a
ClassNotFoundException.
Merve's nasty habit of loading my context twice was a problem:
http://sourceforge.net/tracker/index.php?func=detail&aid=1484970&group_id=154951&atid=793851
WTP 2.0 was superior to both Sysdeo and Merve. Because we deploy to Tomcat,
this is what I chose in the end. There are two rough spots: (1) The initial
project setup is a pain. I had to manually edit the project files to merge
WTP and Maven project settings. I just posted a message on this to the
list. (2) The Maven2 dependencies, when added to the J2EE Module
Dependencies, are added as a single unit. There does not seem to be a way
to be more granular or constrain by scope. This is fine for me. The net
result is you may have database drivers and some mock object code from your
unit tests in WEB-INF/lib during development that you would not have with a
formal deployment.
Jetty is the Eclipse champ. It is simple and just works.
In short. If you can, use Jetty. If you need Tomcat, consider WTP 2.0.
Another interesting option is LibCopy:
http://adam.kruszewski.name/projects/libcopy
Ben
On 7/12/07, Adam Hardy <[EMAIL PROTECTED]> wrote:
I'm upgrading from 0.9 to 0.11 beta and I'm wondering what the best
combination
of dev tools is now with m2eclipse.
I have been using tomcat and the issue was always how to get the compiled
classes into the web context with minimum fuss. (The dependency jars too
but
much less often).
I deployed my webapp by pointing the tomcat web context at my
src/main/webapp
directory. I used a quick script to copy any newly compiled classes from
/target
into src/main/webapp/WEB-INF/classes when necessary and usually tomcat
would
automatically redeploy the app.
Does m2eclipse now do this automatically with any of the eclipse webserver
or
appserver plugins? e.g. WTP, sysdeo, jboss, jetty or even weblogic?
Basically, what's the current best available combination?
Thanks
Adam
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email