Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 7867 invoked from network); 17 Dec 2001 11:11:02 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Dec 2001 11:11:02 -0000 Received: (qmail 18282 invoked by uid 97); 17 Dec 2001 11:11:06 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 18269 invoked by uid 97); 17 Dec 2001 11:11:05 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 26582 invoked from network); 17 Dec 2001 10:34:03 -0000 Sender: Dirk.Weigenand@smb-tec.com Message-ID: <3C1DCA15.9D504B2F@smb-tec.com> Date: Mon, 17 Dec 2001 11:33:57 +0100 From: Dirk Weigenand Organization: SMB GmbH X-Mailer: Mozilla 4.76 [de] (X11; U; Linux 2.2.15 i586) X-Accept-Language: en MIME-Version: 1.0 To: Ant Users List Subject: Re: Setting property values programatically References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello Mike, Ext-Mike.Hogan@nokia.com schrieb: > > Hi, > > Is there a way to set the value of a property programatically, similar to > this piece of shell code: > > SET VALUE=`execute some command` > > I want to create a build number and store it in a property for propagation > across a few ant tasks. > The above will read in the property file 'buildnumber' and increment the value of the property 'buildnumber' by one. This value is then save to the property file. > Failing this, is there a way to instruct ant to reload any properties that > are loaded from external files? > > Any ideas? Dirk -- _____________________________________________________________________ Dirk Weigenand mailto:Dirk.Weigenand@smb-tec.com SMB GmbH http://www.smb-tec.com -- To unsubscribe, e-mail: For additional commands, e-mail: