ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: local properties
Date Fri, 15 Oct 2004 10:39:23 GMT
> >>Example:
> >>   <target name="example">
> >>       <local name="prop" value="a local value"/>
> >>       <echo>prop is ${prop}</echo>
> >>   </target>
> >>
> >>   <macrodef name="t2">
> >>       <attribute name="file"/>
> >>       <sequential>
> >>         <local name="dir"/>
> >>         <dirname property="dir" file="@{file}"/>
> >>         <mkdir dir="${dir}"/>
> >>         <touch file="@{file}"/>
> >>       </sequential>
> >>    </macrodef>

Havent got an answer to that proposal:
    <local prefix="tmp"/>
    <loadproperties prefix="tmp"/>

Jan

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