ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Ruby" <ru...@us.ibm.com>
Subject RE: [GUMP] Test Failure - Ant
Date Tue, 21 Aug 2001 11:14:32 GMT
Unfortunately, I'm not at home at the moment, ant I can't even tunnel in to
my own machine or I would try to help further...

I can tell you that on a windows machine, with 1.3.0-C, and getting the latest Ant, Xerces,
and Xalan, I get the following instead:

    [junit]
    [junit] Testcase: testXalan2Redirect(org.apache.tools.ant.taskdefs.optional.TraXLiaisonTest)::
     Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]     at org.apache.tools.ant.taskdefs.optional.AbstractXSLTLiaisonTest.getFile(AbstractXSLTLiaisonTest.java:90)
    [junit]     at org.apache.tools.ant.taskdefs.optional.TraXLiaisonTest.testXalan2Redirect(TraXLiaisonTest.java:76)
    [junit]     at java.lang.reflect.Method.invoke(Native Method)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(Unknown
Source)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(Unknown
Source)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown
Source)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown
Source)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:217)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:164)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [junit]     at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [junit]     at org.apache.tools.ant.Main.start(Main.java:153)
    [junit]     at org.apache.tools.ant.Main.main(Main.java:176)
    [junit]
    [junit] Testcase: testTransform(org.apache.tools.ant.taskdefs.optional.TraXLiaisonTest)::
  Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]     at org.apache.tools.ant.taskdefs.optional.AbstractXSLTLiaisonTest.getFile(AbstractXSLTLiaisonTest.java:90)
    [junit]     at org.apache.tools.ant.taskdefs.optional.AbstractXSLTLiaisonTest.testTransform(AbstractXSLTLiaisonTest.java:95)
    [junit]     at java.lang.reflect.Method.invoke(Native Method)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(Unknown
Source)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(Unknown
Source)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown
Source)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown
Source)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:217)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:164)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [junit]     at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [junit]     at org.apache.tools.ant.Main.start(Main.java:153)
    [junit]     at org.apache.tools.ant.Main.main(Main.java:176)
    [junit]
    [junit] Testcase: testEncoding(org.apache.tools.ant.taskdefs.optional.TraXLiaisonTest)::
   Caused an ERROR
    [junit] null
    [junit] java.lang.NullPointerException
    [junit]     at org.apache.tools.ant.taskdefs.optional.AbstractXSLTLiaisonTest.getFile(AbstractXSLTLiaisonTest.java:90)
    [junit]     at org.apache.tools.ant.taskdefs.optional.AbstractXSLTLiaisonTest.testEncoding(AbstractXSLTLiaisonTest.java:108)
    [junit]     at java.lang.reflect.Method.invoke(Native Method)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:166)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:140)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:131)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:173)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:168)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(Unknown
Source)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(Unknown
Source)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown
Source)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(Unknown
Source)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:217)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:164)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:182)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    [junit]     at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:454)
    [junit]     at org.apache.tools.ant.Main.start(Main.java:153)
    [junit]     at org.apache.tools.ant.Main.main(Main.java:176)

Portions of the gump Windows and Linux scripts for running test-ant:

SET CLASSPATH=%CLASSPATH%;D:\jakarta\jakarta-ant\build\classes
SET CLASSPATH=%CLASSPATH%;D:\jakarta\jakarta-ant\build\testcases
SET CLASSPATH=%CLASSPATH%;D:\jakarta\jakarta-ant\build\lib\ant.jar
SET CLASSPATH=%CLASSPATH%;D:\jakarta\jakarta-ant\build\lib\optional.jar
SET CLASSPATH=%CLASSPATH%;D:\jakarta\xml-xerces\java\build\xerces.jar
SET CLASSPATH=%CLASSPATH%;D:\jakarta\xml-xalan\java\build\xalan.jar
SET CLASSPATH=%CLASSPATH%;D:\jakarta\dist\junit\junit.jar
SET CLASSPATH=%CLASSPATH%;D:\jakarta\jakarta-regexp\jakarta-regexp-1.3-dev\jakarta-regexp-1.3-dev.jar
SET CLASSPATH=%CLASSPATH%;D:\jakarta\jakarta-oro\jakarta-oro-gump\jakarta-oro-gump.jar
java org.apache.tools.ant.Main -Dbuild.sysclasspath=only run-tests

export CLASSPATH=$CLASSPATH:/home/rubys/jakarta/jakarta-ant/build/classes
export CLASSPATH=$CLASSPATH:/home/rubys/jakarta/jakarta-ant/build/testcases
export CLASSPATH=$CLASSPATH:/home/rubys/jakarta/jakarta-ant/src/testcases
export CLASSPATH=$CLASSPATH:/home/rubys/jakarta/jakarta-ant/src/etc/testcases
export CLASSPATH=$CLASSPATH:/home/rubys/jakarta/jakarta-ant/build/lib/ant.jar
export CLASSPATH=$CLASSPATH:/home/rubys/jakarta/jakarta-ant/build/lib/optional.jar
export CLASSPATH=$CLASSPATH:/home/rubys/jakarta/xml-xerces/java/build/xerces.jar
export CLASSPATH=$CLASSPATH:/home/rubys/jakarta/xml-xalan/java/build/xalan.jar
export CLASSPATH=$CLASSPATH:/home/rubys/jakarta/dist/junit/junit.jar
export CLASSPATH=$CLASSPATH:/home/rubys/jakarta/jakarta-regexp/jakarta-regexp-1.3-dev/jakarta-regexp-1.3-dev.jar
export CLASSPATH=$CLASSPATH:/home/rubys/jakarta/jakarta-oro/jakarta-oro-gump/jakarta-oro-gump.jar
java org.apache.tools.ant.Main -Dbuild.sysclasspath=only run-tests

- Sam Ruby


Mime
View raw message