ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Dean <dd...@xippix.com>
Subject Re: Typical Usage Question
Date Fri, 23 Feb 2001 23:38:32 GMT
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