You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/08/10 16:00:17 UTC

DO NOT REPLY [Bug 30557] New: - testRedirect1(org.apache.tools.ant.taskdefs.JavaTest) fails

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30557>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30557

testRedirect1(org.apache.tools.ant.taskdefs.JavaTest) fails

           Summary: testRedirect1(org.apache.tools.ant.taskdefs.JavaTest)
                    fails
           Product: Ant
           Version: 1.7Alpha (nightly)
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: brantgurganus2001@cherokeescouting.org


The testRedirec1(org.apache.tools.ant.taskdefs.JavaTest) unit test is failing in
the latest CVS.

Details:
    [junit] Testcase: testRedirect1(org.apache.tools.ant.taskdefs.JavaTest):
Caused an ERROR
    [junit] C:\DOCUME~1\gurganbl\LOCALS~1\Temp\redirect.out:
    [junit] "${redirect.out.contents}" expected "foo"
    [junit] C:\cygwin\home\gurganbl\sandboxes\apache\ant\src\etc\testcases\taskd
efs\java.xml:198: C:\DOCUME~1\gurganbl\LOCALS~1\Temp\redirect.out:
    [junit] "${redirect.out.contents}" expected "foo"
    [junit]     at org.apache.tools.ant.taskdefs.Exit.execute(Exit.java:139)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
    [junit]     at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:582)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:95)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:366)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:337)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:365)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1218)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java:1188)

    [junit]     at org.apache.tools.ant.BuildFileTest.executeTarget(Unknown Sour
ce)
    [junit]     at org.apache.tools.ant.taskdefs.JavaTest.testRedirect1(Unknown
Source)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:582)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
    [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:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.
run(JUnitTestRunner.java:289)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
eInVM(JUnitTask.java:1074)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
e(JUnitTask.java:689)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
eOrQueue(JUnitTask.java:1425)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execut
e(JUnitTask.java:646)
    [junit]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
sorImpl.java:39)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
hodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:582)
    [junit]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchU
tils.java:95)
    [junit]     at org.apache.tools.ant.Task.perform(Task.java:366)
    [junit]     at org.apache.tools.ant.Target.execute(Target.java:337)
    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:365)
    [junit]     at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1218)
    [junit]     at org.apache.tools.ant.Project.executeTarget(Project.java:1188)

    [junit]     at org.apache.tools.ant.Project.executeTargets(Project.java:1060
)
    [junit]     at org.apache.tools.ant.Main.runBuild(Main.java:673)
    [junit]     at org.apache.tools.ant.Main.startAnt(Main.java:188)
    [junit]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
    [junit]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)



BUILD FAILED
C:\cygwin\home\gurganbl\sandboxes\apache\ant\build.xml:1455: Test org.apache.too
ls.ant.taskdefs.JavaTest failed

Total time: 4 minutes 28 seconds

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org