Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 23DE89E59 for ; Fri, 4 Nov 2011 20:58:13 +0000 (UTC) Received: (qmail 2600 invoked by uid 500); 4 Nov 2011 20:58:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 2549 invoked by uid 500); 4 Nov 2011 20:58:12 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 2541 invoked by uid 99); 4 Nov 2011 20:58:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2011 20:58:12 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Nov 2011 20:58:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A492730C06A for ; Fri, 4 Nov 2011 20:57:51 +0000 (UTC) Date: Fri, 4 Nov 2011 20:57:51 +0000 (UTC) From: "Oliver Heger (Commented) (JIRA)" To: issues@commons.apache.org Message-ID: <1024649753.1081.1320440271675.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1220442066.57411.1320354813878.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CONFIGURATION-470) Extract classes generated by JavaCC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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