--- Bill Winspur <[EMAIL PROTECTED]> wrote:
> I would like to specify a comma-separated list of filepaths in a
> property, to parmeterize a copy command, so that it copies the files
> to a specified directory. There does not seem to be a way to do this
> in the copy command or in the fileset command.

You can't do a comma-separated list, but you can specify a <fileset> for
each each directory you want to copy from. For example:
    <target name="copyfiles">
    <copy todir="${outdir}">
      <fileset dir="${basedir}/files">
        <include name="a.file"/>
        <include name="b.file"/>
      </fileset>
      <fileset dir="${basedir}/src">
        <include name="Foo.java"/>
      </fileset>
      <fileset dir="/usr/local/lib/properties">
        <include name="default.properties"/>
      </fileset>
    </copy>
  </target>

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Great stuff seeking new owners in Yahoo! Auctions! 
http://auctions.yahoo.com

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

Reply via email to