0 Replies Latest reply on Apr 25, 2005 3:03 PM by John Kassad

    Build JBOSS test suite

    John Kassad Newbie

      Hello,

      I extracted JBOSS 4.0.2RC1, and built it.
      But I do not manage to build the test suite.
      Here is what happens after a build.bat tests (Windows XP Pro, JVM Sun 1.4.2, 07):
      - Mainly troubles finding Junit...
      Any help would be welcome :-)

      Thanks a lot,

      J. Kassad


      "
      compile-classes-only:
      [javac] Compiling 2150 source files to C:\temp\jboss-4.0.2RC1-src\testsuite\output\classes
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\ant\taskdefs\XMLJUnitMultipleResultFormatter.java:8: package org.apache.tools.ant.taskdefs.optional.junit does not exist
      [javac] import org.apache.tools.ant.taskdefs.optional.junit.JUnitTest;
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\ant\taskdefs\XMLJUnitMultipleResultFormatter.java:9: package org.apache.tools.ant.taskdefs.optional.junit does not exist
      [javac] import org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter;
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\ant\taskdefs\XMLJUnitMultipleResultFormatter.java:17: cannot resolve symbol
      [javac] symbol : class XMLJUnitResultFormatter
      [javac] location: class org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter
      [javac] public class XMLJUnitMultipleResultFormatter extends XMLJUnitResultFormatter
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\ant\taskdefs\XMLJUnitMultipleResultFormatter.java:20: cannot resolve symbol
      [javac] symbol : class JUnitTest
      [javac] location: class org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter
      [javac] public void startTestSuite(JUnitTest test)
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:15: warning: org.jboss.net.axis.AxisInvocationHandler in org.jboss.net.axis has been deprecated
      [javac] import org.jboss.net.axis.AxisInvocationHandler;
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:16: warning: org.jboss.net.jmx.MBeanInvocationHandler in org.jboss.net.jmx has been deprecated
      [javac] import org.jboss.net.jmx.MBeanInvocationHandler;
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:18: warning: org.jboss.net.jmx.adaptor.RemoteAdaptorInvocationHandler in org.jboss.net.jmx.adaptor has been deprecated
      [javac] import org.jboss.net.jmx.adaptor.RemoteAdaptorInvocationHandler;
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:218: warning: org.jboss.net.axis.AxisInvocationHandler in org.jboss.net.axis has been deprecated
      [javac] private AxisInvocationHandler createAxisInvocationHandler(String endpoint, String soapAction)
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:229: warning: org.jboss.net.axis.AxisInvocationHandler in org.jboss.net.axis has been deprecated
      [javac] private AxisInvocationHandler createAxisInvocationHandler(String soapAction)
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:237: warning: org.jboss.net.jmx.MBeanInvocationHandler in org.jboss.net.jmx has been deprecated
      [javac] private MBeanInvocationHandler createMBeanInvocationHandler(String soapAction)
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\ant\taskdefs\XMLJUnitMultipleResultFormatter.java:29: cannot resolve symbol
      [javac] symbol : variable super
      [javac] location: class org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter
      [javac] super.startTestSuite(test);
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\ha\jmx\HAServiceMBeanSupportTester.java:70: warning: callMethodOnPartition(java.lang.String,java.lang.Object[]) in org.jboss.ha.jmx.HAServiceMBeanSupport has been deprecated
      [javac] public void callMethodOnPartition(String methodName, Object[] args)
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:48: warning: org.jboss.net.axis.AxisInvocationHandler in org.jboss.net.axis has been deprecated
      [javac] private Map interfaceMap = new AxisInvocationHandler.DefaultInterfaceMap();
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:51: warning: org.jboss.net.axis.AxisInvocationHandler in org.jboss.net.axis has been deprecated
      [javac] private Map methodMap = new AxisInvocationHandler.DefaultMethodMap();
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:69: warning: org.jboss.net.axis.AxisInvocationHandler in org.jboss.net.axis has been deprecated
      [javac] AxisInvocationHandler handler =
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:85: warning: org.jboss.net.jmx.MBeanInvocationHandler in org.jboss.net.jmx has been deprecated
      [javac] MBeanInvocationHandler handler =
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:113: warning: org.jboss.net.jmx.MBeanInvocationHandler in org.jboss.net.jmx has been deprecated
      [javac] MBeanInvocationHandler handler =
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:124: warning: org.jboss.net.jmx.MBeanInvocationHandler in org.jboss.net.jmx has been deprecated
      [javac] MBeanInvocationHandler handler =
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:135: warning: org.jboss.net.jmx.MBeanInvocationHandler in org.jboss.net.jmx has been deprecated
      [javac] MBeanInvocationHandler handler =
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:152: warning: org.jboss.net.jmx.MBeanInvocationHandler in org.jboss.net.jmx has been deprecated
      [javac] MBeanInvocationHandler handler =
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:169: warning: org.jboss.net.jmx.MBeanInvocationHandler in org.jboss.net.jmx has been deprecated
      [javac] MBeanInvocationHandler handler =
      [javac] ^8
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:179: warning: org.jboss.net.jmx.MBeanInvocationHandler in org.jboss.net.jmx has been deprecated
      [javac] MBeanInvocationHandler handler =
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:221: warning: org.jboss.net.axis.AxisInvocationHandler in org.jboss.net.axis has been deprecated
      [javac] return new AxisInvocationHandler(new URL(endpoint),
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:240: warning: org.jboss.net.jmx.MBeanInvocationHandler in org.jboss.net.jmx has been deprecated
      [javac] return new MBeanInvocationHandler(new URL(SERVICES_LOCATION),
      [javac] ^
      [javac] C:\temp\jboss-4.0.2RC1-src\testsuite\src\main\org\jboss\test\jbossnet\jmx\JmxUnitTestCase.java:251: warning: org.jboss.net.jmx.adaptor.RemoteAdaptorInvocationHandler in org.jboss.net.jmx.adaptor has been deprecated
      [javac] return RemoteAdaptorInvocationHandler.createRemoteAdaptor(createMBeanInvocationHandler(soapAction));
      [javac] ^
      [javac] 5 errors
      [javac] 20 warnings

      BUILD FAILED
      C:\temp\jboss-4.0.2RC1-src\testsuite\build.xml:552: The following error occurred while executing this line:
      C:\temp\jboss-4.0.2RC1-src\testsuite\build.xml:288: Compile failed; see the compiler error output for details.
      "