Oops, sorry about posting with the wrong subject earlier.

At 03:38 PM 2/23/2001 -0800, you wrote:
>Is there a way to pass a refid as a param in an antcall?
>I'm trying to do something like the following, and want to
>pass "filesList" id as the parameter "filesListArg"
>to the CAB task.
>
>     <target name="makeJAR">
>         <jar jarfile="${InstallDir}/Applet.jar" >
>             <fileset dir="${ObjDir}" id="filesList" >
>                 ...
>             </fileset >
>         </jar >
>
>         <antcall target="makeCAB" >
>             <param name="filesListArg" ???? />
>         </antcall >
>     </target>
>
>     <target name="makeCAB" if="build.wantCAB">
>         <cab cabfile="${InstallDir}/Applet.cab"
>              basedir="./${ObjDir}"
>              verbose="no" >
>              <fileset refid="filesListArg" />
>         </cab >
>    </target>
>
>I've tried various forms of <param> but no luck.
>
>Thanks.
>

Reply via email to