ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: how to copy/move a file to dynamically generated file name
Date Wed, 12 Jun 2002 21:29:25 GMT
Which of course, if properties are used, becomes:

<copy file="${file2copy}" tofile="${copydestination}" />

-----Original Message-----
From: Dominique Devienne [mailto:DDevienne@lgc.com] 
Sent: Wednesday, June 12, 2002 4:28 PM
To: 'Ant Users List'
Subject: RE: how to copy/move a file to dynamically generated file name

As simple as <copy file="template.xml" tofile="BOMBAY_DEV.xml" />.
Read the manual would help with this kind of questions ;-) --DD

-----Original Message-----
From: Chabbewal, Navjeet [mailto:navjeet.chabbewal@us.didata.com] 
Sent: Wednesday, June 12, 2002 4:20 PM
To: ant-user@jakarta.apache.org
Subject: how to copy/move a file to dynamically generated file name

How can use copy/move to copy/move a file say template.xml to
BOMBAY_DEV.xml, a dynamically generated filename,
where BOMBAY and DEV are two properties defines in env.properties file
(say two properties dev.hostname and dev.realm) ?

Thanks.

Navjeet S. Chabbewal
Dimension Data
 



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

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

--
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