ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: AW: output of fileset
Date Wed, 11 May 2005 05:17:54 GMT
Hello Mark,

if you need the timestamps of your files, you will need to add some more 
coding.
One possibility would be to create a custom task <listfile/> which would 
output the name and timestamp of each file and take a fileset as
an attribute.
You can create such a task in Java, or in line in your build file using 
a scripting langage and the <scriptdef/> task.

Antoine

Jan.Materne@rzf.fin-nrw.de wrote:

>  <fileset id="fs" dir="." ... />
>  <property name="fs" refid="fs"/>
>  <echo>${fs}</echo>
>
>or beautifying the output with
>  
>  <pathconvert>
>
>
>Jan
>
>
>  
>
>>-----Urspr√ľngliche Nachricht-----
>>Von: Mark Lybarger [mailto:mlybarger@gmail.com]
>>Gesendet am: Montag, 9. Mai 2005 17:41
>>An: Ant Users List
>>Betreff: output of fileset
>>
>>is there a way i can take a fileset and output the contents 
>>(ls type listing 
>>w/ timestamp of file) to a file?
>>
>>thanks!
>>
>>    
>>
>
>  
>



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


Mime
View raw message