Thanks Rolf - thats very easy .

Cheers,
Brian.

-----Original Message-----
From: Rolf F.Katzenberger [mailto:[EMAIL PROTECTED]]
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" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



------------------------------------------------------------------------------
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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to