ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Imel" <mi...@imelshire.com>
Subject Passing properties from ant targets
Date Tue, 04 Feb 2003 21:57:27 GMT
I'm trying to get a property that i set in a called ant target from the 'parent' ant target.
For example:

<target name="parent">
    <antcall target="child" />
    <echo message="${child.property}" />
</target>

<target name="child">
    <input message="Please enter property value" addproperty="child.property" />
</target>

In this example the echoed value is the "${child.property}", instead of the user input.

Any suggestions, or is this even possible?
Regards,
--Mark Imel

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