[ 
http://jira.codehaus.org/browse/MJAVACC-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse McConnell closed MJAVACC-24.
----------------------------------

    Resolution: Fixed

http://fisheye.codehaus.org/browse/mojo/trunk/mojo/javacc-maven-plugin/src/main/java/org/codehaus/mojo/javacc/JJTreeMojo.java?r=2604

this functionality was patched in by someone in November, I think your 
operating off of old sources or something

> 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