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.
Bill -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 6:21 AM To: [email protected] Subject: Scope of property. Hello guys, i noticed a strange behaviour i never came accross before: <target name="target1"> <property file="target1.properties"/> </target> <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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
