Return-Path: X-Original-To: apmail-ant-user-archive@www.apache.org Delivered-To: apmail-ant-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B38B6A40 for ; Thu, 4 Aug 2011 14:58:20 +0000 (UTC) Received: (qmail 91752 invoked by uid 500); 4 Aug 2011 14:58:19 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 91709 invoked by uid 500); 4 Aug 2011 14:58:18 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 91701 invoked by uid 99); 4 Aug 2011 14:58:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 14:58:18 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [88.84.128.168] (HELO samaflost.de) (88.84.128.168) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Aug 2011 14:58:11 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by samaflost.de (Postfix) with ESMTP id 4EACF289801D for ; Thu, 4 Aug 2011 16:57:51 +0200 (CEST) Received: from samaflost.de ([127.0.0.1]) by localhost (v35516.1blu.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UsAtWow2zDnp for ; Thu, 4 Aug 2011 16:57:51 +0200 (CEST) Received: by samaflost.de (Postfix, from userid 1000) id 09620289801E; Thu, 4 Aug 2011 16:57:51 +0200 (CEST) From: Stefan Bodewig To: user@ant.apache.org Subject: Re: Unable to override system properties with 1.8.2 References: X-Draft-From: ("nnfolder:mail.jakarta-ant-user" 69339) Date: Thu, 04 Aug 2011 16:57:51 +0200 In-Reply-To: (Nate Drake's message of "Wed, 27 Jul 2011 23:19:07 -0400") Message-ID: <87wretz0k0.fsf@v35516.1blu.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org On 2011-07-28, Nate Drake wrote: > Our build file uses the user.name property to let developers customize > property values. We then use -D to override user.name when doing builds for > dev/production servers. When using any version of Ant before 1.8.2 this > works without issue. With 1.8.2, user.name won't be overridden with what we > passed on the command line via -D. Other non-system properties can > be successfully overridden via -D. I did some searching in the release > notes and didn't see any changes that would cause this to happen. Is this a > known issue? I don't recall it to be a conscious change. Could you open a bug report for it? > Is there a way to get the old behavior back in 1.8.2? You could set the properties as system properties to the Java VM rather than arguments to Ant. I.e. you'd pass them in the ANT_OPTS environment variable rather than as command line arguments. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org