Thanks Craig, Unfortunately it returns file names delimited by ";".
Is there a way to get the file name with relative path?
Also I see that the classpath entries in manifest file should be space delimited.
Here is the sample of what I did.
<fileset dir="lib" id="libs">
<include name="**/*.jar"/>
</fileset>
<property name="3rdpartylibs" id="libs"/>
<echo message="${3rdpartylibs}"/>
This prints jdom.jar;log4j-1.2.8.jar instead of lib/jdom.jar lib/log4j-1.2.8.jar.
Thanks
sv.
-----Original Message-----
From: Clifton C. Craig [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 1:27 PM
To: Ant Users List
Subject: Re: Is there an Ant task to get filename from a directory
See the <fileset> element. I just found this by accident the other day.
You set an id attribute on the file set and then use that in a property
element to get just the filenames. I'm doing the same exact thing you
are with the manifest as I have a ton of jars that need to be listed.
Clifton C. Craig, Software Engineer
Intelligent Computer Systems - A Division of GBG
2101 Embassy Drive
Lancaster, PA 17603
Phone: 717-295-7977 ext. 621
Fax: 717-295-7683
[EMAIL PROTECTED]
[EMAIL PROTECTED]
****************************************************************************
Veerappan Saravanan-ESV007 wrote:
>Is there any ant task to get the list of filename from the directory?
>This will help me in creating the classpath entries in manifest file.
>
>Appreciate your help.
>
>Thanks
>
>sv.
>
>
>
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]