ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Egg" <egg...@gmail.com>
Subject simple buildnumber task usage question
Date Tue, 31 Jul 2007 02:03:22 GMT
Hi have this gzip task, and I would 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?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message