ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Girard <Nicolas.Gir...@IReS.in2p3.fr>
Subject Re: Apply task and missing directories
Date Sun, 25 Jul 2004 17:30:43 GMT
On Sun, Jul 25, 2004 at 04:30:00PM +0200, Nicolas Girard wrote:
> 
>                 <macrodef name="dia2png">
>                   <attribute name="dir"/>
>                   <attribute name="todir"/>
>                   <sequential>
>                     <mkdir dir="@{todir}"/>
>                     <apply executable="dia" dest="@{todir}">
>                       <arg value="-e"/>
>                       <targetfile/>
>                       <srcfile/>
>                       <fileset dir="@{dir}" includes="**/*.dia">
>                         <modified/>
>                       </fileset>
>                       <mapper type="glob" from="*.dia" to="*.png"/>
>                     </apply>
>                     <move todir="@{todir}">
>                       <fileset dir="@{dir}">
>                         <include name="**/*.png"/>
>                       </fileset>
>                     </move>
>                   </sequential>
>                 </macrodef>
>                 
>                 <target name="GenerateImagesFromDiaDiagrams">
>                     <dia2png dir="${src.design}" todir="${build.design}"/>
>                 </target>
> 
> 
Oops...

s/executable="dia" dest="@{todir}"/executable="dia" dest="@{dir}"/

Nicolas


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message