Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
marekpribyl
Post subject: Unwanted test classes on the classpath of the deployed WAR  PostPosted: Mar 30, 2010 - 11:20 AM
Registered Member
Registered Member


Joined: May 08, 2006
Posts: 14

Hello,
I have 2 maven managed projects, JAR and WAR. JAR is included to the WAR project as a maven dependency, and in the WAR maven configuration is checked "Resolve dependencies from workspace projects". When I deploy the WAR to the integrated Tomcat, classpath contains classes from the JAR (correct) but TEST classes from the JAR as well (incorrect).
JAR build path is set correctly (src/main/java -> target/classes, src/test/java -> target/test-classes).

thanks in advance for any hint...


INSTALL SUMMARY:

*** Date:
Tuesday, March 30, 2010 12:13:12 PM CEST

** System properties:
OS=Linux
OS version=2.6.31
Java version=1.6.0_13

*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.5
Build id: 8.5-20100319

*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 8.5
Build id: 8.5-20100319

Eclipse startup command=-os
linux
-ws
gtk
-arch
x86
-showsplash
-launcher
/home/marek/Genuitec/MyEclipse 8.5 M2/myeclipse
-name
Myeclipse
--launcher.library
/home/marek/Genuitec/MyEclipse 8.5 M2/../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520/eclipse_1206.so
-startup
/home/marek/Genuitec/MyEclipse 8.5 M2/../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-exitdata
1eca0019
-install
/home/marek/Genuitec/MyEclipse 8.5 M2
-configuration
/home/marek/Genuitec/MyEclipse 8.5 M2/configuration
-vm
/home/marek/Genuitec/Common/binary/com.sun.java.jdk.linux.x86_1.6.0.013/bin/java
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: Unwanted test classes on the classpath of the deployed W  PostPosted: Apr 13, 2010 - 09:39 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

marekpribyl,
Sorry for the delayed reply. This is to let you know that the issue has been escalated to the dev team member. They will get back to you on this.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits