Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 40810 invoked from network); 8 Nov 2002 19:49:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 8 Nov 2002 19:49:47 -0000 Received: (qmail 23412 invoked by uid 97); 8 Nov 2002 19:50:38 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 23372 invoked by uid 97); 8 Nov 2002 19:50:36 -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 23360 invoked by uid 98); 8 Nov 2002 19:50:36 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: Dominique Devienne To: "'Ant Users List'" Subject: RE: Manifest version handling with ANT Date: Fri, 8 Nov 2002 13:49:37 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Simply use one property per number with , incrementing any one of these independently as pleases you, and build the full version number by composing the other numbers. Or did I miss something? --DD -----Original Message----- From: Christian Holmqvist, IT, Posten [mailto:christian.holmqvist@posten.se] Sent: Friday, November 08, 2002 4:48 AM To: 'Ant Users List' Subject: Manifest version handling with ANT Hi Is there a way (without having to implement my own targets) to handling this scenario The version is of the typ .. all numbers. 1. Retrive the version number from a manifest file (i.e. the normal version property) 2. calculate the next version number (i.e. be able to choose to step either one of the version parts one step up). 3. Write the new version number to the manifest file. I have figured out how to do it with the version as an integer but not with the version number indicated like this? /Christian Holmqvist -- To unsubscribe, e-mail: For additional commands, e-mail: