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: Questions about Passing values...
Date Fri, 05 Dec 2003 08:29:06 GMT
I´m not sure if I had understood you right ... but here some answers:


> How can I initial and pass a values...

You mean ant properties?


> 1. Thoughout the same build.xml.

<antcall target="theOtherTarget">
    <param name="myprop" value="newProp"/>
</antcall>



> 2. Multiple build.xml. (subdirectories)

For one buildfile:

<antcall target="theOtherTarget">
    <property name="myprop" value="newProp"/>
</antcall>


For multiple buildfiles:

<subant target="theOtherTarget">
    <fileset dir="." includes="*/build.xml"/>
    <property name="myprop" value="newProp"/>
</subant>



Jan

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