ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: simple buildnumber task usage question
Date Thu, 02 Aug 2007 06:38:44 GMT
That's ok. Sometime the manual is really missing something or is unclear ;)

Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Alex Egg [mailto:eggie5@gmail.com] 
>Gesendet: Mittwoch, 1. August 2007 18:57
>An: Ant Users List
>Betreff: Re: simple buildnumber task usage question
>
>I'm so embarrassed!
>
>On 7/31/07, Jan.Materne@rzf.fin-nrw.de 
><Jan.Materne@rzf.fin-nrw.de> wrote:
>>
>> No???
>>
>> http://ant.apache.org/manual/CoreTasks/buildnumber.html
>> ... then set the property build.number to the value that was 
>read in (or
>> to 0, if no such value).
>>
>>
>>
>> Jan
>>
>>
>> >-----Urspr√ľngliche Nachricht-----
>> >Von: Alex Egg [mailto:eggie5@gmail.com]
>> >Gesendet: Dienstag, 31. Juli 2007 05:15
>> >An: Ant Users List
>> >Betreff: Re: simple buildnumber task usage question
>>
>> >
>> >Oh coo. I didn't see that anywhere in the docs...
>> >
>> >
>> >
>> >>ld like to use the buildnumber task to
>> >> > append a build number to the file name:
>> >> > <gzip src="${temp}/s3/_management.js"
>> >destfile="${temp}/s3/management_${
>> >> > build.number}.js"/>
>> >> >
>> >> > So my gzipped file would be something like: management_3.js
>> >> >
>> >> > I already have the task in my build file as:
>> >> >
>> >> > <buildnumber/>
>> >> >
>> >> > but that just saves it to the build.number file, how do I
>> >get it to a
>> >> > property in my build file so I can use it in my path name?
>> >> >
>> >>
>> >>
>> >> --
>> >> --
>> >> David Weintraub
>> >> qazwart@gmail.com
>> >>
>> >> 
>---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> >> For additional commands, e-mail: user-help@ant.apache.org
>> >>
>> >>
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message