 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Fri May 05, 2006 10:08 pm Post subject: list of files with ANT |
|
|
Consider this scenario friends.
build.xml
|
|------------lib
|
|----------averyveryverylong.jar
|----------anotherlongjarfile.jar
now when I want to build a list of files in the lib folder I am using
<fileset dir="lib" id="hi">
<include file=".jar" /<
</fileset>
I then use pathconvert
<pathconvert pathsep="," property="testing" refid="hi" />
what I am getting is
c:\lib\averyveryverylong.jar,c:\lib\anotherlongjarfile.jar
but that is not what I am expecting.
I am expecting just averyveryverylong.jar, anotherlongjarfile.jar
Can you help me out as to how to get this ?
-N |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|