Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 81436 invoked from network); 4 Mar 2010 15:40:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 15:40:59 -0000 Received: (qmail 35053 invoked by uid 500); 4 Mar 2010 15:40:48 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 35015 invoked by uid 500); 4 Mar 2010 15:40:48 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 34994 invoked by uid 99); 4 Mar 2010 15:40:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 15:40:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 15:40:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3FD18234C4CB for ; Thu, 4 Mar 2010 15:40:27 +0000 (UTC) Message-ID: <761752659.71671267717227260.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Mar 2010 15:40:27 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4575) Provide an ant property that would make the build disregard ant.properties In-Reply-To: <146129316.57511267677687262.JavaMail.jira@brutus.apache.org> 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/DERBY-4575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12841338#action_12841338 ] Knut Anders Hatlen commented on DERBY-4575: ------------------------------------------- I think you have the same problem with "local.properties", that you need to specify all properties to be sure that they are not overridden by ant.properties. If you had a property to disable ant.properties, you would only need to specify the properties that you wanted to give a non-default value in local.properties (or with -D on the command line). > Provide an ant property that would make the build disregard ant.properties > -------------------------------------------------------------------------- > > Key: DERBY-4575 > URL: https://issues.apache.org/jira/browse/DERBY-4575 > Project: Derby > Issue Type: Improvement > Components: Build tools > Reporter: Dag H. Wanvik > Priority: Minor > > Sometimes it would be nice to build Derby in different contexts. The required settings in ant.properties sometimes differ when building different Derby versions, or when trying a new JDK, for example. It would be nice to have a property that one could set in the ant invocation to make it disregard the contents of ant.properties. > E.g. > ant -Dpropertyfile=false -Dsane=false -Ddebug=false -Djava16compile.classpath=... all > Possibly, it could be useful for guaranteeing context correct for release builds as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.