You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Armenio Pinto <ar...@ptinovacao.pt> on 2003/05/26 14:00:18 UTC

JavaCC in Ant 1.5.3

Hi there,

     I've always used JavaCC 3.0 with Ant without problems. Now I upgraded
to Ant 1.5.3 and JavaCC execution fails with:

"Could not find a path to JavaCC.zip from 'D:\Programming\Tools\JavaCC'"

I've noticed that in %JAVACC_HOME%/bin/lib only exists a file named
javacc.jar, not javacc.zip. If I rename it to javacc.zip, execution fails
with a class not found exception. Can anyone help me please? Thanks in
advance,

Arménio Pinto

Re: JavaCC in Ant 1.5.3

Posted by Peter Klotz <pe...@blue-elephant-systems.com>.
There was alreay a post in that direction in general. Also I had the 
problem when switchin from JavaCC2.1 to 3.0 it didn't work anymore.
The only solution seems to be to go to the very latest CVS version, 
there this problem seems to be fixed, with the CVS version it worked 
perfect.

Peter

Armenio Pinto wrote:
> Hi there,
> 
>      I've always used JavaCC 3.0 with Ant without problems. Now I upgraded
> to Ant 1.5.3 and JavaCC execution fails with:
> 
> "Could not find a path to JavaCC.zip from 'D:\Programming\Tools\JavaCC'"
> 
> I've noticed that in %JAVACC_HOME%/bin/lib only exists a file named
> javacc.jar, not javacc.zip. If I rename it to javacc.zip, execution fails
> with a class not found exception. Can anyone help me please? Thanks in
> advance,