ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject AW: V 1.4.1 - concatinate files
Date Wed, 19 Feb 2003 09:09:03 GMT
Sorry, I have no 1.4.1 any more and no docu here.
But if noone else find a solution, maybe you can

a) do it via os-tools (e.g. <exec executable="cmd.exe"><arg line="copy
${file1} + ${file2} ${fileNew}"/></exec>).

b) read the (text)files in and give them out
	<loadfile property="f1" file="${file1}/>
	<loadfile property="f2" file="${file2}/>
	<echo file="fileNew" message="${f1}"/>
	<echo file="fileNew" message="${f2}" append="true"/>
But I don´t know whether the loadfile exists in 1.4.1

c) CustomTask: simpliest way: get the source from later Ant version.

I can´t see any hint in when it is introduces. But
is introduces
with Ant 1.5, so b) doesn´t work.   :-(

So I suggest migrating to actual Ant version or adapting the Concat as

Jan Matèrne

-----Ursprüngliche Nachricht-----
Von: Monika Schmidt []
Gesendet am: Mittwoch, 19. Februar 2003 09:57
Betreff: V 1.4.1 - concatinate files


I am working with V. 1.4.1 of Ant and looking for concatination command for

Like <concat> in V1.5.1: one file appends the other file.

Many thanks
Monika Schmidt

IT Architecture  Kst. 1854  Geb. 12/1 UG, Raum 34, Achse 1D
IBM Speichersysteme GmbH
Hechtsheimer Straße 2    55131 Mainz
Tel: +49 (0)6131 84-5852
Fax: +49 (0)6131 84-4274

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message