add "packageName" parameter to jjtree like for javacc
-----------------------------------------------------

                 Key: MJAVACC-24
                 URL: http://jira.codehaus.org/browse/MJAVACC-24
             Project: Maven 2.x Javacc Plugin
          Issue Type: New Feature
    Affects Versions: 2.1
         Environment: any operating system supporting Java and Maven
            Reporter: Mark Minas
         Attachments: patch.txt

This is a small extension to the JJTreeMojo class such that it accepts a 
packageName parameter similar to JavaCCMojo. Otherwise, Eclipse has problems 
with the generated code in the following way: jjtree generates code directly 
into the outputDirectory which is then used (through the eclipse:eclipse goal) 
as a source folder in Eclipse. However, the source path does not reflect the 
java package (a class a.b.C should be located in a file .../a/b/C.java) which 
makes Eclipse complain.

I have attached a patch file that applies to JJTreeMojo.java as of revision 
2018 (last modification 893)

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