ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Malar Ravi <>
Subject Fileset with comma separated value in dir.
Date Wed, 22 May 2002 13:05:51 GMT
In the following code I know that I cannot have comma
separated list of directories in the dir attribute of
fileset. I would appreciate it if someone could give
me some hints on how to parse the dir.str so that I
can call the target "war-copy" for each directory in
dir.str string. I searched the archives but couldnt
locate anything similar to this issue. 

 <property name="dir.str" value="dir1/sub1, dir2"/>

  <patternset id="test.src" >
     <include name="std/**/*.*"/>
     <include name="prof/**/*.class" />
  <target name="war-copy">
    <copy todir="temp">
     <fileset dir="${dir.str}" >
       <patternset refid="test.src"/>

Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message