ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: AW: AW: project dependency
Date Tue, 07 Oct 2003 15:11:01 GMT
> 
> <target name="download.dependencies.core"
>              description="Download binary packages needed by the core 
> packages" >
>          <!-- Download any sub package or tools needed. -->
>          <antcall target="-downloadgz">
>              <param name="sourcefile" value="${skaringa.loc}"/>
>              <param name="destfile"   value="${skaringa.jar}"/>
>          </antcall>
> </target>


Looks like a candidate for <macrodef>


<macrodef name="optional-jar">
    <attribute name="src"/>
    <attribute name="dest"/>
    <!-- whatever -downloadgz does -->
</macrodef>

:-)



Jan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message