[jbossws-issues] [JBoss JIRA] Created: (JBWS-3331) JBossWS native 2.0.1 SP2_CP09 can not be compiled with Ant 1.7.1

Boris Belovic (JIRA) jira-events at lists.jboss.org
Tue Jul 19 10:02:24 EDT 2011


JBossWS native 2.0.1 SP2_CP09 can not be compiled with Ant 1.7.1
----------------------------------------------------------------

                 Key: JBWS-3331
                 URL: https://issues.jboss.org/browse/JBWS-3331
             Project: JBoss Web Services
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: Ant 1.7.1, jdk16_u22, Fedora14 x86_64
            Reporter: Boris Belovic


I've got JBossWS Native 2.0.1 SP2_CP09 and invoked ant tests-main. Build failed on test compilation, Ant probably can not locate JUnit on classpath, see error output from javac task:

tests-compile:
    [mkdir] Created dir: /home/bbelovic/WORK/soa-ws-43/src/output/tests/classes
    [javac] Compiling 122 source files to /home/bbelovic/WORK/soa-ws-43/src/output/tests/classes
    [javac] Compiling 196 source files to /home/bbelovic/WORK/soa-ws-43/src/output/tests/classes
    [javac] /home/bbelovic/WORK/soa-ws-43/src/src/test-framework/java/org/jboss/test/ws/jaxws/samples/asynchronous/AsynchronousDispatchTestCase.java:42: package junit.framework does not exist
    [javac] import junit.framework.Test;
    [javac]                       ^
    [javac] /home/bbelovic/WORK/soa-ws-43/src/src/test-framework/java/org/jboss/test/ws/jaxws/samples/asynchronous/AsynchronousDispatchTestCase.java:56: cannot access junit.framework.TestCase
    [javac] class file for junit.framework.TestCase not found
    [javac] public class AsynchronousDispatchTestCase extends JBossWSTest
    [javac]        ^
    [javac] /home/bbelovic/WORK/soa-ws-43/src/src/test-framework/java/org/jboss/test/ws/jaxws/samples/asynchronous/AsynchronousDispatchTestCase.java:64: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class org.jboss.test.ws.jaxws.samples.asynchronous.AsynchronousDispatchTestCase
    [javac]    public static Test suite()
    [javac]                  ^
    [javac] /home/bbelovic/WORK/soa-ws-43/src/src/test-framework/java/org/jboss/test/ws/jaxws/samples/asynchronous/AsynchronousProxyTestCase.java:36: package junit.framework does not exist
    [javac] import junit.framework.Test;
    [javac]                       ^
    [javac] /home/bbelovic/WORK/soa-ws-43/src/src/test-framework/java/org/jboss/test/ws/jaxws/samples/asynchronous/AsynchronousProxyTestCase.java:53: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class org.jboss.test.ws.jaxws.samples.asynchronous.AsynchronousProxyTestCase
    [javac]    public static Test suite()
    [javac]                  ^
    [javac] /home/bbelovic/WORK/soa-ws-43/src/src/test-framework/java/org/jboss/test/ws/jaxws/samples/context/WebServiceContextEJBTestCase.java:48: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase
    [javac]    public static Test suite()
    [javac]                  ^
    [javac] /home/bbelovic/WORK/soa-ws-43/src/src/test-framework/java/org/jboss/test/ws/jaxws/samples/context/WebServiceContextJSETestCase.java:48: cannot find symbol
    [javac] symbol  : class Test
    [javac] location: class org.jboss.test.ws.jaxws.samples.context.WebServiceContextJSETestCase
    [javac]    public static Test suite()
    [javac]                  ^


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list