AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

list of files with ANT

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Fri May 05, 2006 10:08 pm    Post subject: list of files with ANT Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.