DO NOT REPLY [Bug 17807] - antlr test fails

2003-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails





--- Additional Comments From [EMAIL PROTECTED]  2003-04-03 07:16 ---
So test8 fails for you because there ain't no exception at all.

Again, is this CVS HEAD?  Are you absolutely sure 8-)  You may need to bootstrap
Ant.  What you see is supposed to be fixed with revision 1.21 of ANTLR.java.


DO NOT REPLY [Bug 17807] - antlr test fails

2003-04-03 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails





--- Additional Comments From [EMAIL PROTECTED]  2003-04-03 14:15 ---
Sorry, it was my fault. After bootstrapping again, the testcase passed.


DO NOT REPLY [Bug 17807] - antlr test fails

2003-04-02 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2003-04-02 14:30 ---
The manual for the task already contained information about antlrall.jar, I've
now updated it to talk about the difference between 2.7.1 and 2.7.2.

CVS HEAD (and thus Ant 1.6 and nightly build 2003-04-03) will use
antlr.ANTLRGrammarParseBehavior 

Thanks, I think we can close this report now.


DO NOT REPLY [Bug 17807] - antlr test fails

2003-04-02 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails





--- Additional Comments From [EMAIL PROTECTED]  2003-04-02 15:03 ---
Unfortunatley not. Because test8 expects Invalid super grammar file, but antlr
2.7.2 actually returns file non-existant-file.g not found


DO NOT REPLY [Bug 17807] - antlr test fails

2003-04-02 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails





--- Additional Comments From [EMAIL PROTECTED]  2003-04-02 15:49 ---
Using CVS HEAD, I get the following:

Testcase: test1 took 0,725 sec
Testcase: test2 took 0,36 sec
Testcase: test3 took 14,605 sec
Testcase: test4 took 33,084 sec
Testcase: test5 took 7,85 sec
Testcase: test6 took 31,869 sec
Testcase: test7 took 0,188 sec
Testcase: test8 took 4,979 sec
FAILED
Should throw BuildException because: Invalid super grammar file
junit.framework.AssertionFailedError: Should throw BuildException because:
Invalid super grammar file
at junit.framework.Assert.fail(Assert.java:47)
at
org.apache.tools.ant.BuildFileTest.expectSpecificBuildException(BuildFileTest.java:310)
at 
org.apache.tools.ant.BuildFileTest.expectBuildException(BuildFileTest.java:99)
at 
org.apache.tools.ant.taskdefs.optional.ANTLRTest.test8(ANTLRTest.java:126)
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:323)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeInVM(JUnitTask.java:861)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:552)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:528)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:227)
at org.apache.tools.ant.Task.perform(Task.java:388)
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:1394)
at org.apache.tools.ant.Project.executeTargets(Project.java:1268)
at org.apache.tools.ant.Main.runBuild(Main.java:611)
at org.apache.tools.ant.Main.start(Main.java:198)
at org.apache.tools.ant.Main.main(Main.java:245)

Testcase: test8


DO NOT REPLY [Bug 17807] - antlr test fails

2003-04-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
 AssignedTo|[EMAIL PROTECTED]  |[EMAIL PROTECTED]
   Target Milestone|--- |1.6



--- Additional Comments From [EMAIL PROTECTED]  2003-04-01 11:05 ---
If you use ./configure; make antlrall.jar on Unix for ANTLR 2.7.2, things work
except for test10.

I've now fixed test10 but broken test8 (by showing that it doesn't work, at 
least
not for ANTL 2.7.2).


DO NOT REPLY [Bug 17807] - antlr test fails

2003-04-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails





--- Additional Comments From [EMAIL PROTECTED]  2003-04-01 11:06 ---
Should have been make antlr-all.jar and use the resulting antlrall.jar, sorry.


DO NOT REPLY [Bug 17807] - antlr test fails

2003-04-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails





--- Additional Comments From [EMAIL PROTECTED]  2003-04-01 11:08 ---
For 2.7.1, Tilman, have you followed the comments at the top of the testcase?


DO NOT REPLY [Bug 17807] - antlr test fails

2003-04-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails





--- Additional Comments From [EMAIL PROTECTED]  2003-04-01 15:44 ---
With 2.7.2 all tests should pass now (CVS HEAD, that is).

Can you run the test3 target in 
src/etc/testcases/taskdefs/optional/antlr/antlr.xml
directly (without JUnit in between) and see whether it generates any useful
output (maybe throwing in -verbose or *shudder* even -debug)?


DO NOT REPLY [Bug 17807] - antlr test fails

2003-03-10 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails





--- Additional Comments From [EMAIL PROTECTED]  2003-03-10 11:55 ---
Created an attachment (id=5242)
patch for the antlr testcase


DO NOT REPLY [Bug 17807] - antlr test fails

2003-03-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails





--- Additional Comments From [EMAIL PROTECTED]  2003-03-09 17:47 ---
ANTLRTest.java says that an antlrall.jar is needed and should be built with a 
mkalljar script.




In antlr2.7.2 I cannot find the script mkalljar




It looks possible to produce the antlrall.jar with the Makefile of antlr.


Doing this under cygwin, there are two problems which I need to report to the 
antlr maintainers.


DO NOT REPLY [Bug 17807] - antlr test fails

2003-03-09 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17807

antlr test fails





--- Additional Comments From [EMAIL PROTECTED]  2003-03-09 21:32 ---
Actually, the two files generated by antlr in test10 are CalcTreeWalker.html 
and 
CalcParser.html. Strangely, when I run this test10 without junit, I only obtain 
CalcParser.html (which would make the test successful). CalcParser and 
CalcTreeWalker are class names in the file antlr.g, the grammar file used in 
test10.