ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: File list/Dir list problem
Date Thu, 08 Jul 2004 12:29:09 GMT
I am not sure what you want to have. Maybe a small example would help.

But that sounds that this could be helpful:
* <property refid="fs"><echo file/>
* <pathconvert>

Jan


> -----Urspr√ľngliche Nachricht-----
> Von: Nicolas Mailhot [mailto:Nicolas.Mailhot@laPoste.net]
> Gesendet am: Donnerstag, 8. Juli 2004 14:24
> An: user@ant.apache.org
> Betreff: File list/Dir list problem
> 
> Hi,
> 
> 	I'm currently stuck in ant trying to perform the 
> following operation:
> 
> 1. I have a lot of separate file trees that are ultimately merged by
> being copied under a single root
> 
> 2. The individual trees are not totally independent: they are grouped
> into separate sets
> 
> 3. I need to keep track of the file/dir contributions of each 
> set to the
> end result, ie generate a text file per set listing all the files and
> directories in the final root that were contributed by this set.
> 
> I more or less managed to generate the file lists but I'm stuck on the
> dir list part (you can't concatenate dir lists like file lists since a
> file is unique but a dir can be shared by several files). If 
> anyone here
> has a bright idea, I'll be eternally grateful.
> 
> (of course I can cheat by piping the file lists into a shell 
> script, but
> that won't be overly popular with people working on limited systems)
> 
> Regards,
> 
> -- 
> Nicolas Mailhot
> 

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