ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Ludwig <mil...@gmx.de>
Subject Re: Copying a static list of files
Date Fri, 25 Jun 2010 10:56:15 GMT
Patrick Martin schrieb am 25.06.2010 um 09:06 (+0200):

> Using embedded <file name="..."/> would work if i had the list of
> files upfront. But I only have it at runtime.

You could probably generate at runtime an Ant file filelist.xml
including all the <file name="..."/> you need and then run a <subant>
task to do what you want.

  <subant antfile="filelist.xml" target="echo-paths"/>

But this is starting to feel awkward ("von hinten durch die Brust ins
Auge", don't know in English), and I'm sure there is an easier way to
achieve what you want.

-- 
Michael Ludwig

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


Mime
View raw message