Avoid copying of Java sources next to grammar if grammar files reside in 
src/main/java
--------------------------------------------------------------------------------------

                 Key: MJAVACC-90
                 URL: http://jira.codehaus.org/browse/MJAVACC-90
             Project: Maven 2.x JavaCC Plugin
          Issue Type: Improvement
          Components: javacc, jjtree, jtb
    Affects Versions: 2.4.1
            Reporter: Benjamin Bentmann


As Paul Gier pointed out on IRC, another possible setup is to have the grammar 
files next to the main sources, i.e. somewhere in {{src/main/java}} (c.f. 
http://anonsvn.jboss.org/repos/jbossas/trunk/server/). The plugin currently 
blindly assumes that the sources next to the grammar are customized sources 
files and copies them to the output directory. This in turn causes duplicate 
class errors for this setup.

It shouldn't be too hard to automatically detect when the grammar resides in a 
compile source root such that the plugin can avoid to duplicate the Java 
sources.

-- 
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