Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 66874 invoked from network); 19 Feb 2010 12:33:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Feb 2010 12:33:51 -0000 Received: (qmail 85379 invoked by uid 500); 19 Feb 2010 12:33:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 85315 invoked by uid 500); 19 Feb 2010 12:33:51 -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 85150 invoked by uid 99); 19 Feb 2010 12:33:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Feb 2010 12:33:51 +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; Fri, 19 Feb 2010 12:33:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id ED42729A0017 for ; Fri, 19 Feb 2010 04:33:27 -0800 (PST) Message-ID: <209366883.387181266582807970.JavaMail.jira@brutus.apache.org> Date: Fri, 19 Feb 2010 12:33:27 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4548) would like an alternative location for ant.properties In-Reply-To: <594392802.215271265922508638.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12835727#action_12835727 ] Knut Anders Hatlen commented on DERBY-4548: ------------------------------------------- "local.properties"? My expectation would be that the local settings took precedence over the $HOME/ant.properties. If the only reason for not having this behaviour is to prevent backups of $HOME/ant.properties from being picked up, I think changing the name as Bryan suggested and changing the order would be a good idea. > would like an alternative location for ant.properties > ----------------------------------------------------- > > Key: DERBY-4548 > URL: https://issues.apache.org/jira/browse/DERBY-4548 > Project: Derby > Issue Type: Improvement > Components: Build tools > Affects Versions: 10.0.2.2, 10.1.3.3, 10.2.2.1, 10.3.3.1, 10.4.2.1, 10.5.3.1, 10.6.0.0 > Reporter: Myrna van Lunteren > Attachments: DERBY-4548.diff > > > The current build.xml directs ant to look for a file ant.properties in user.home. > This can get confusing when you have multiple versions on the same machine. > I've worked around this in the past by pointing ant at other directories with -Duser.home=..., but it would be easier to have another place set up - I don't really like changing user.home. > We could add another line to build.xml, e.g., for trunk's current build.xml: > @@ -20,6 +20,7 @@ > > > + > > > > This would make ant look first for ant.properties in the same directory as the top level build.xml, and secondly for the one in user.home. > If the community agrees this would be ok, I'd like to make this change and backport it all the way to 10.0. > By having an additional place we'd not cause incompatibilities to other build processes (except if someone has put an ant.properties file in the top of the checked out tree). > If we do this, I think it's up to the developers to ensure that there's not 2 ant.properties files that are conflicting. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.