ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dowd, Brian" <bd...@lehman.COM>
Subject RE: Dynamic version file generation
Date Thu, 01 Aug 2002 14:39:42 GMT
Thanks Rolf - thats very easy .


-----Original Message-----
From: Rolf F.Katzenberger []
Sent: 01 August 2002 15:37
To: Ant Users List
Subject: Re: Dynamic version file generation

On Thu, 1 Aug 2002 15:31:19 +0100, "Dowd, Brian" <bdowd@lehman.COM>

>     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
> contains the line "3_1"

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

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

This message is intended only for the personal and confidential use of the designated recipient(s)
named above.  If you are not the intended recipient of this message you are hereby notified
that any review, dissemination, distribution or copying of this message is strictly prohibited.
 This communication is for information purposes only and should not be regarded as an offer
to sell or as a solicitation of an offer to buy any financial product, an official confirmation
of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot
be guaranteed to be secure or error-free.  Therefore, we do not represent that this information
is complete or accurate and it should not be relied upon as such.  All information is subject
to change without notice.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message