ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Rich" <>
Subject RE: Scope of property.
Date Wed, 27 Jul 2005 14:23:25 GMT
This is not expected behavior, at least by me. I do this kind of thing by
setting my properties in an init target then using them in my other targets.
Don't seem to have a problem with it. I assume these two targets are in the
same build file, right.


-----Original Message-----
From: [] 
Sent: Wednesday, July 27, 2005 6:21 AM
Subject: Scope of property.

Hello guys,
i noticed  a strange behaviour i never came accross before:
<target name="target1">
<property file=""/>

<target name ="target2" depends="target1"/>

the problem is that the file-defined properties in target1 are not
recognized in target2.(i am using ant 1.6)

Is it normal?


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete the
original.  Any other use of the email by you is prohibited.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message