Hi, I tried the following:
>>>>> build.xml <project name="test" default="target2"> <target name="target1"> <property file="target1.properties" /> </target> <target name ="target2" depends="target1"> <echo message="a = ${a}" /> </target> </project> >>>>> target1.properties a = AAAAAAAAA and output is: Buildfile: build.xml target1: target2: [echo] a = AAAAAAAAA BUILD SUCCESSFUL Total time: 0 seconds Which is correct. Could you be more specific? On 7/27/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]