ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Narahari 'n' Savitha" <savith...@gmail.com>
Subject file list without directory prepended how to get it
Date Sat, 06 May 2006 04:08:38 GMT
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

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