[ 
http://jira.codehaus.org/browse/MJAVACC-20?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_92150
 ] 

Tim Pizey commented on MJAVACC-20:
----------------------------------

OK, think I have got there: modified generated files should be put in the 
grammar source tree not the main source tree. 

Will update the docs to reflect. 


> 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
>         Assigned To: Jesse McConnell
>             Fix For: 2.2
>
>         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

Reply via email to