[ http://jira.codehaus.org/browse/MJAVACC-20?page=all ]
Julien HENRY updated MJAVACC-20:
--------------------------------
Attachment: maven-javacc.patch
This patch make javacc plugin copy all .java file from inputDirectory to
outputDirectory before executing javacc.
> Custom sources get re-generated
> -------------------------------
>
> Key: MJAVACC-20
> URL: http://jira.codehaus.org/browse/MJAVACC-20
> Project: Maven 2.x Javacc Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Adam Lewis
> Attachments: maven-javacc.patch
>
>
> It is sometimes required that custom implementations of certain .java files
> be provided (as is done in the javacc examples). For instance, custom
> Token.java for the Java 5 grammar. Also custom AST node implementations can
> be used for some, but not all jjtree nodes.
> When running javacc from the command line, it will not output a file if
> something with that name already exists. It is desireable that this or a
> similar functionality be provided by the plugin.
> Either copy all .java files from the input directory (e.g. src/main/javacc)
> to the output directory, check the existing compile source paths to see if
> certain classes already exist before adding them to the generated output
> directory.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email