[
http://jira.codehaus.org/browse/MJAVACC-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benjamin Bentmann updated MJAVACC-54:
-------------------------------------
Attachment: custom-parser-files.patch
Now here's the fix. I changed the copy of the Java files to happen one per
processed grammar file instead of once per plugin run. To do so, the logic to
determine the effective output directory has been moved from
generateJavaCCArgumentList() up to execute().
> Customized parser files are ignored if they reside in a sub directory of the
> source root directory
> --------------------------------------------------------------------------------------------------
>
> Key: MJAVACC-54
> URL: http://jira.codehaus.org/browse/MJAVACC-54
> Project: Maven 2.x JavaCC Plugin
> Issue Type: Bug
> Components: javacc
> Affects Versions: 2.2
> Reporter: Benjamin Bentmann
> Attachments: custom-parser-files-it.patch,
> custom-parser-files-it.patch, custom-parser-files.patch
>
>
> The fix for MJAVACC-20 assumes that all grammar files reside directly in the
> root of the javacc source directory. This causes customized parser files to
> get missed during the copy if they reside in a sub directory (e.g.
> corresponding to the final package structure).
> Integration test attached.
--
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