RE: extracting project revision number

2005-05-03 Thread Kenneth McKnight
tle more detail of how you use it? ken :) -Original Message- From: Brian Lalor [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 3:51 AM To: Ant Users List Subject: Re: extracting project revision number On Apr 29, 2005, at 10:19 AM, Andre Charbonneau wrote: > I would like to extr

Re: extracting project revision number

2005-05-03 Thread Brian Lalor
On Apr 29, 2005, at 10:19 AM, Andre Charbonneau wrote: I would like to extract the Subversion build number of my project and use this to name my release files (tar.gz). What I thought of doing is to put a Subversion tag in my build.properties file. Something like the following: I've written

Re: extracting project revision number

2005-04-29 Thread Andre Charbonneau
Hi, This works perfectly! :-) Thanks a lot for your help!! Andre Ivan Ivanov wrote: Hello Andre, Assuming we have a file called build.number that contains the single line: build.revision="$Rev: 24 $" here is a sample snippet that will might help you: ${line} $${version} = ${version} He

Re: extracting project revision number

2005-04-29 Thread Ivan Ivanov
Hello Andre, Assuming we have a file called build.number that contains the single line: build.revision="$Rev: 24 $" here is a sample snippet that will might help you: ${line} $${version} = ${version} Here we use propertyregex task[2] from ant-contrib[1]. HTH Ivan [1]http://ant-c

RE: extracting project revision number

2005-04-29 Thread Bill Rich
can be used to remove the unwanted parts. HTH Bill -Original Message- From: Andre Charbonneau [mailto:[EMAIL PROTECTED] Sent: Friday, April 29, 2005 8:19 AM To: user@ant.apache.org Subject: extracting project revision number Hi, I would like to extract the Subversion build number of my