ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey V. Udaltsov" <Sergey.Udalt...@artificial-life.com>
Subject Re: templates ...
Date Tue, 11 Jul 2000 13:36:40 GMT
> <target name="all" depends="build_blah_project,build_foo_project">
> </target>
> 
> <target name="build_blah_project">
>   <ant antfile="build_tmpl.xml" >
>     <property name="subproject" value="blah"/>
                                  ^^^^^^^^^^^^^^
>     <property name="src" value="blah/src" />
>     ...
>   </ant>
> </target>
> 
> <target name="build_foo_project">
>   <ant antfile="build_tmpl.xml">
>     <property name="subproject" value="foo" />
>     <property name="src" value="foo/src" />
>     ...
>   </ant>
> </target>
YESS! I did it an hour ago (I am really glad that you offered the
solution I already know about). But:
${subproject} is always "blah"! I cannot make ant change it!..
It is always taken only one time - on first "property" tag...
Any ideas?

-- 
Sergey V. Udaltsov

Mime
View raw message