ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: javacc task for 3.1
Date Thu, 10 Jul 2003 11:04:52 GMT
On Thu, 10 Jul 2003, Paul Nasrat <> wrote:

> Here is a small patch to add the javacc.jar to the search list for
> the javacc task.

This is by far not enough, you'd get a major version from
getMajorVersionNumber of 4, which in turn would cause getMainClass to

> This makes the task work with sane layouts such as
> /usr/share/java/javacc.jar or lib/javacc.jar (eg for JPackage).

Taking /usr/share/java as an example, you'd have to set the task's
javacchome attribute to "/usr/share/java/" with your patch, right?
Line 339 in will cause javacc to be invoked with
-Dinstall.root=/usr/share/java - are you sure it will work properly
with this?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message