ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Dean <dd...@xippix.com>
Subject passing a refid as a param in an antcall
Date Sat, 24 Feb 2001 00:23:39 GMT
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.
>


Mime
View raw message