ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: ANTLR tests fail under Windows
Date Wed, 25 Jun 2003 15:01:42 GMT
Stefan,

Here we are

Apache Ant version 1.6alpha compiled on June 25 2003
Buildfile: src\etc\testcases\taskdefs\optional\antlr\antlr.xml
Detected Java version: 1.4 in: c:\j2sdk1.4.1_02\jre
Detected OS: Windows 2000
parsing buildfile
c:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.xml with URI
= file:///C:/dev/asf/ant/src/etc/testcases/taskdefs/optional/antlr/antlr.xml
Project base dir set to:
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr
Build sequence for target `setup' is [setup]
Complete build sequence is [setup, cleanup, test13, test12, test11, test9,
test10, test8, test7, test6, test5, test4, test3, test2, test1,
normalRecompile, noRecompile, supergrammarChangeRecompile, ]

setup:
    [mkdir] Created dir:
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp
Build sequence for target `test9' is [setup, test9]
Complete build sequence is [setup, test9, cleanup, test13, test12, test11,
test10, test8, test7, test6, test5, test4, test3, test2, test1,
normalRecompile, noRecompile, supergrammarChangeRecompile, ]

setup:

test9:
     [copy] Copying 1 file to
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp
     [copy] Copying
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.g to
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp\antlr.g
     [copy] Copying 1 file to
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp
     [copy] Copying
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\extended.calc.g to
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp\extended.
calc.g
    [antlr] Setting target to:
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp\antlr.g
    [antlr] Setting output directory to:
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp
    [antlr] Compiling
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp\antlr.g
as it is newer than
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp\CalcParse
r.java
    [antlr] Executing 'C:\j2sdk1.4.1_02\jre\bin\java.exe' with arguments:
    [antlr] '-classpath'
    [antlr] 'C:\ant\lib\antlrall.jar'
    [antlr] 'antlr.Tool'
    [antlr] '-o'
    [antlr]
'C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp'
    [antlr]
'C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp\antlr.g'
    [antlr]
    [antlr] The ' characters around the executable and arguments are
    [antlr] not part of the command.
    [antlr] ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com


    [antlr] Setting target to:
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp\extended.
calc.g
    [antlr] Setting output directory to:
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp
    [antlr] Compiling
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp\extended.
calc.g as it is newer than
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp\ExtendedC
alcParser.java
    [antlr] Executing 'C:\j2sdk1.4.1_02\jre\bin\java.exe' with arguments:
    [antlr] '-classpath'
    [antlr] 'C:\ant\lib\antlrall.jar'
    [antlr] 'antlr.Tool'
    [antlr] '-o'
    [antlr]
'C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp'
    [antlr] '-glib'
    [antlr]
'C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp/antlr.g'
    [antlr]
'C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\antlr.tmp\extended
.calc.g'
    [antlr]
    [antlr] The ' characters around the executable and arguments are
    [antlr] not part of the command.
    [antlr] ANTLR Parser Generator   Version 2.7.2   1989-2003 jGuru.com
    [antlr] error: cannot find/copy importVocab file
C:\dev\asf\ant\src\etc\testcases\taskdefs\optional\antlr\CalcParserTokenType
s.txt



BUILD FAILED
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\CalcParserTokenType
s.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.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)

Total time: 2 seconds

----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <dev@ant.apache.org>
Sent: Wednesday, June 25, 2003 4:53 PM
Subject: Re: ANTLR tests fail under Windows


> On Wed, 25 Jun 2003, Antoine Levy-Lambert <antoine@antbuild.com>
> wrote:
>
> > ANTLR tests fail under Windows.  More precisely all the tests where
> > a super-grammar file comes in play.
>
> Jan reported the same, but it seems to work on my Linux box.
>
> What happens if you run test9 manually (i.e.
> ant -f src\etc\testcases\taskdefs\optional\antlr\antlr.xml test9 -v
> )?
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>



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


Mime
View raw message