The following IVAN's suggestion resolved the issue:
${line.seprator}
-Original Message-
From: Guttula, Mohan
Sent: Friday, April 21, 2006 3:16 PM
To: Ant Users List
Cc: [EMAIL PROTECTED]
Subject: RE: Create a file that contains files in directory
--- Snippet
mp1/temp1.ind
@temp4/temp4.ind
@temp2/temp2.trg
@temp5/temp5.trg
Thanks,
Mohan
-Original Message-
From: Ivan "Rambius" Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 19, 2006 9:11 PM
To: Ant Users List
Subject: RE: Create a file that contains files in directory
Hello,
--- "Guttula, Mohan" <[EMAIL PROTECTED]> wrote:
> The issue was with relative path in the base
> directory. i.e.,
>
>
> Issue is resolved by using IVAN suggestion which is
> as follows:
> -
>
> -
Defining location of files and dirs with location
attribute comes vary handy when
from="${master_base}${file.separator}*" to="*"/>
>
> ${all.files}
>
>
>
>
>
> Regards,
> Mohan
>
> -Original Message-
> From: Guttula, Mohan
> Sent: Wednesday, April 19, 2006 3:35 PM
>
to="*"/>
>
> ${all.files}
>
>
>
>
>
> Regards,
> Mohan
>
> -Original Message-
> From: Guttula, Mohan
> Sent: Wednesday, April 19, 2006 3:35 PM
> To: Ant Users List
> Subject: RE: Create a fi
build.xml
${all.files}
Regards,
Mohan
-Original Message-
From: Guttula, Mohan
Sent: Wednesday, April 19, 2006 3:35 PM
To: Ant Users List
Subject: RE: Create a file that contains files in directory
Hello,
didn't resolve the abso
Hello,
didn't resolve the absolute path issue?
Do I need to use some other mapper?
Regards,
Mohan
-Original Message-
From: Ivan "Rambius" Ivanov [mailto:[EMAIL PROTECTED]
Sent: Monday, April 17, 2006 4:58 PM
To: Ant Users List
Subject: Re: Create a file that co
Hello,
Here is a sample script that does this:
${all.files}
Note that allfiles.txt will contain the absolute
locations of the files. If you need relative ones you
may want to use mappers:
Regards
Ivan
--- "Guttula, Mohan" <[EMAIL PROTECTED]> wr
and ?
-Matt
--- "Guttula, Mohan" <[EMAIL PROTECTED]> wrote:
> 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
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" c
10 matches
Mail list logo