I can also confirm that in the org.eclipse.wst.common.component file
generated by the eclipse-plugin that there is no reference to test-classes
in that file.

However in the server.xml generated by WTP/eclipse to launch tomcat it
contains:

<Resources className="org.eclipse.jst.server.tomcat.loader.WtpDirContext"
virtualClasspath="C:\prj\webapp\target\test-classes;C:\prj\webapp\target\classes.....


Darren Salomons wrote:
> 
> Not sure if this is an eclipse question or a side effect of how maven sets
> up a WTP project.
> 
> What's happening is when I deploy my project to tomcat under WTP the
> target/test-classes folder is being put on the classpath before my
> target/classes folder.   My log4j properties and other properties files in
> my src/test/resources get moved into the target/test-classes and take
> precedence on the classpath.
> 
> I really don't even want the test-classes on the classpath at all.
> 
> Any thoughts?
> 

-- 
View this message in context: 
http://www.nabble.com/eclipse-wtp-maven-classpath-issues-tp15502968s177p15502980.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to