tags:

views:

25

answers:

1

How to reach the informations contained in the following tags "fileset" ?

In fact, I am looking to use the Ant instruction "copy" on the following refid "files.to.copy":

<publication>
    <TARGET_ONE>
     <path id="files.to.copy">
      <fileset dir="lib">
       <filename name="idl.zip"/>
       <filename name="AEX_IDXClient.jar"/>
      </fileset>
      <fileset dir="src">
       <filename name="AEX_IDXClientCpp.zip"/>
       <filename name="AEX_IDXClient-src.jar"/>
      </fileset>
     </path>
    </TARGET_ONE>
</publication>
+1  A: 

have a look at http://ant.apache.org/manual/CoreTasks/copy.html

use it like this:

<copy todir="...">
                <fileset dir="lib">
                        <filename name="idl.zip"/>
                        <filename name="AEX_IDXClient.jar"/>
                </fileset>
                <fileset dir="src">
                        <filename name="AEX_IDXClientCpp.zip"/>
                        <filename name="AEX_IDXClient-src.jar"/>
                </fileset>
</copy>
Tobiask
works fine, great thanks
TaintedLove