ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Klein" <Marc.Kl...@ids-scheer.de>
Subject Antw: [Q] How to insert file into another?
Date Fri, 19 Dec 2003 10:57:34 GMT
you can load  fileB into a property:

<loadfile property="content" srcFile="fileB"/>

and then replace token in fileA with the property:

<replace file="fileA" token="#insertHere#" value="${content}"/>

regards

Marc

>>> riaanoberholzer@yahoo.com 19.12.03 11:52:25 >>>
Question:

how can I insert one file into another using ant?

Eg, fileA has a token "insertHere" and I somehow want
to import all of fileB to replace this token.

Somehow with copy and filtersets?

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/ 

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



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


Mime
View raw message