ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: javacc task for 3.1
Date Thu, 10 Jul 2003 11:04:52 GMT
On Thu, 10 Jul 2003, Paul Nasrat <pauln@truemesh.com> 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
fail.

> 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 JavaCC.java will cause javacc to be invoked with
-Dinstall.root=/usr/share/java - are you sure it will work properly
with this?

Stefan

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


Mime
View raw message