Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] m2eclipse-wtp and JDBC drivers

That makes sense.  Thanks Fred.  I'll just add the JDBC libs to our developer documentation then. :)  Cheers.

On Tue, Nov 22, 2011 at 10:31 AM, Fred Bricon <fbricon@xxxxxxxxx> wrote:
m2e-wtp doesn't currently support the use case of configuring WTP server instances from pom.xml configuration.
I'm not sure configuring a shared resource such as a server configuration via (multiple) pom.xml is a good idea. 
That could lead to some interesting configuration conflicts (projects copying different versions of the same artifact to tomcat/lib) :-)

The easiest solution is probably to distribute pre-configured tomcat zips to your team.

Anyway, as someone I know would say, you can provide a quality patch and I'll consider adding that feature to m2e-wtp.

Regards,

Fred Bricon

On Tue, Nov 22, 2011 at 6:54 PM, Derek Lewis <derek@xxxxxxxxxx> wrote:
Hello,

We've been using m2e and WTP on a project for a while, and just brought a bunch of developers onto the project which has exposed something we didn't realize before.  The small group of us that were working on this before had our database drivers in the lib dir of the tomcat installation our WTP servers were set up to use.  These new developers have fresh tomcat installations, without the database driver, and are getting classpath exceptions.
I've found mention of a similar issue here, but the only resolution there is to manually copy the driver: http://stackoverflow.com/questions/8106011/java-lang-classnotfoundexception-com-mysql-jdbc-driver-during-runtime-eclipse

What I'm wondering is it there is any way for m2e-wtp to take care of this automatically, or if this is a feature that could be added?

We're currently on m2e 0.12.2 and m2e-wtp 0.12.0.  (We're sort of stuck on these versions, because we have a fair number of custom configurators that are build against that version of m2e, with the old package names)

Any suggestions would be appreciated.

Cheers.

_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev




--
"Have you tried turning it off and on again" - The IT Crowd

_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev



Back to the top