You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Adam Murdoch <ad...@yahoo.com> on 2000/09/25 06:50:39 UTC

[PATCH] javacc task

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.