ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject ANTLR tests fail under Windows
Date Wed, 25 Jun 2003 14:42:48 GMT
ANTLR tests fail under Windows.
More precisely all the tests where a super-grammar file comes in play.
Strangely, ANTLR is looking for a file under src\etc\testcases\taskdefs\optional\antlr
instead of src\etc\testcases\taskdefs\optional\antlr\antlr.tmp

Anybody has an idea ?

Antoine


Testcase: test9 took 1,672 sec

 Caused an ERROR

ANTLR signaled an error: ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
error: cannot find/copy importVocab file C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\CalcParserTokenTypes.txt
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.xml:57: ANTLR signaled an error:
ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
error: cannot find/copy importVocab file C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\CalcParserTokenTypes.txt
 at org.apache.tools.ant.taskdefs.optional.ANTLR.execute(ANTLR.java:304)
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:270)
 at org.apache.tools.ant.Task.perform(Task.java:399)
 at org.apache.tools.ant.Target.execute(Target.java:309)
 at org.apache.tools.ant.Target.performTasks(Target.java:336)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1175)
 at org.apache.tools.ant.BuildFileTest.executeTarget(BuildFileTest.java:265)
 at org.apache.tools.ant.taskdefs.optional.ANTLRTest.test9(ANTLRTest.java:134)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at junit.framework.TestCase.runTest(TestCase.java:154)
 at junit.framework.TestCase.runBare(TestCase.java:127)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:118)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java:203)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:318)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:895)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:595)
 at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:571)
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:270)
 at org.apache.tools.ant.Task.perform(Task.java:399)
 at org.apache.tools.ant.Target.execute(Target.java:309)
 at org.apache.tools.ant.Target.performTasks(Target.java:336)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1175)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1048)
 at org.apache.tools.ant.Main.runBuild(Main.java:618)
 at org.apache.tools.ant.Main.start(Main.java:201)
 at org.apache.tools.ant.Main.main(Main.java:248)




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message