Hello,

--- Narahari 'n' Savitha <[EMAIL PROTECTED]> wrote:

> 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" />
You should consider <pathconvert> with a <mapper>:
<property name="fs" value="${file.separator}"/>
<pathconvert pathsep="," property="testing"
refid="hi">
   <globmapper from="${basedir}${fs}lib${fs}*.jar"
to="*.jar"/>
</pathconver>

Regards
Ivan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to