ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Murdoch" <adammurd...@yahoo.com>
Subject [PATCH] javacc task
Date Mon, 25 Sep 2000 04:50:39 GMT

Hi,

This is a small patch to the JavaCC task to fix checking whether the
generated Java files are up-to-date.  Was checking the wrong path for the
output file if the outputdirectory attribute was set.

It looks like this task writes the generated files to the current directory
if an output directory is not specified.  Coupled with the change to search
the current directory's ancestors for the build.xml files, this could lead
to some rather strange behaviour if ant is not invoked from the correct
directory.  If no-one has any issues with it, I'll change the javacc task to
write the generated file to the same directory as the grammar file, if the
outputdirectory attribute is not set.

Mime
View raw message