You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (Commented) (JIRA)" <ji...@apache.org> on 2011/11/04 21:57:51 UTC

[jira] [Commented] (CONFIGURATION-470) Extract classes generated by JavaCC

    [ https://issues.apache.org/jira/browse/CONFIGURATION-470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144333#comment-13144333 ] 

Oliver Heger commented on CONFIGURATION-470:
--------------------------------------------

Updating the Maven build is not an issue, but the Ant build is problematic. There is a task for invoking JavaCC; however, this task requires a pre-existing installation of JavaCC. I have no idea whether there is a way to download JavaCC dynamically. I guess, I will start with documenting this limitation.
                
> Extract classes generated by JavaCC
> -----------------------------------
>
>                 Key: CONFIGURATION-470
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-470
>             Project: Commons Configuration
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 1.7
>            Reporter: Oliver Heger
>            Assignee: Oliver Heger
>            Priority: Minor
>
> In the plist package classes generated by JavaCC are used to parse specific configuration files. Currently these files are stored in SVN like regular source files. This does not conform to best practices, is confusing, and requires a special treatment in the configuration of tools like checkstyle or findbugs.
> It would be better to let these files be generated during the build process by the maven JavaCC plug-in. A working configuration can kindly be borrowed from the OGNL component. The additional generation step should not slow down the build significantly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira