Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 61784 invoked from network); 6 Feb 2001 22:46:56 -0000 Received: from unknown (HELO mail.epost.de) (64.39.38.71) by h31.sny.collab.net with SMTP; 6 Feb 2001 22:46:56 -0000 Received: from nshome (62.226.231.19) by mail.epost.de (5.5.020) id 3A6FFDBB000F04DE for ant-dev@jakarta.apache.org; Tue, 6 Feb 2001 23:46:56 +0100 Message-ID: <002501c0908e$ce20dd70$0100280a@nshome> From: "Nico Seessle" To: References: <7776C8374043394BBE518A870790A933294E4B@jobe.kapoof.com> Subject: Re: ant.jar and Package Version Identification Date: Tue, 6 Feb 2001 23:47:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N You can use 1. to write something to an ASCII-file and use this in a way you like 2. and include a manifest which contains the information you need 3. and (or replace) to replace tokens in your sources To manage your build-number you could use to increment the build-number in a properties-file and to read it in afterwards. You will need to replace your build-number manually before starting with 1.1, or you need to include the version-number in the name of the property. Nico ----- Original Message ----- From: "Nese Myles" To: Sent: Tuesday, February 06, 2001 10:52 PM Subject: RE: ant.jar and Package Version Identification I am interested in this. This goes back to my fuzzy question about how could Ant have some of kind "versioning task" to slap a build number for every build that I post for the Developers and QA. For example, the current release is 1.0. For every build that I post between 1.0 and lets say 1.1, I need to assign a build number to each of these builds. So instead of manually labeling the posted build 1.0.r5, I would like to know if there's a way for Ant to stamp the build that I produced when I post.