ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rolf F. Katzenberger <rf...@gmx.net>
Subject Re: Dynamic version file generation
Date Thu, 01 Aug 2002 14:37:14 GMT
On Thu, 1 Aug 2002 15:31:19 +0100, "Dowd, Brian" <bdowd@lehman.COM>
wrote:

>     I want to do the following with an ant 'release' target (syntax = "ant
> release -Dversion=3_1":
> 
> Currently it does a clean, build, cvs tag and creates a .tar.gz file upon
> release, I want it to also :
> 
>    1. dynamically create a file in a specific location called VERSION which
> contains the line "3_1"

<echo message="${version}" file="./mydir/VERSION" />

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


Mime
View raw message