ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guttula, Mohan" <MGutt...@tiaa-cref.org>
Subject Create a file that contains files in directory
Date Mon, 17 Apr 2006 16:39:14 GMT
Hello All,

 

I need to generate a file that contains list of files from a directory
(that will contain subdirectories). 

Something similar to copying the output of "ls" or "dir" to a file.

 

For example: 

Folder "temp" contains folders "temp1", "temp2", and a file "temp.tab"

Folder "temp1" contains folder temp3 and file "temp1.ind"

Folder "temp2" contains folder temp4 and file "temp2.trg"

Folder "temp3" contains file "temp3.seq"

Folder "temp4" contains file "temp4.fn"

 

I need to generate a file which contains the following contents:

----

temp/temp.tab

temp1/temp1.ind

temp2/temp2.trg

temp3/temp3.seq

temp4/temp4.fn

----

 

Note: Contents of "temp" folder changes during each checkout from Source
code control.

 

Thanks,

Mohan

 

 

 

 



**************************************************************
This message, including any attachments, contains confidential information intended for a
specific individual and purpose, and is protected by law.  If you are not the intended recipient,
please contact sender immediately by reply e-mail and destroy all copies.  You are hereby
notified that any disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.
TIAA-CREF
**************************************************************


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