facebook

Unwanted test classes on the classpath of the deployed WAR

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #307163 Reply

    Marek Pribyl
    Member

    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

    #307590 Reply

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Unwanted test classes on the classpath of the deployed WAR

You must be logged in to post in the forum log in