Hello all, I have this build file:
<?xml version="1.0"?> <project name="test" default="test"> <target name="test"> <echo message="test:junk2 = ${junk2}" /> <call target="junk" /> <echo message="test:junk2 = ${junk2}" /> </target> <target name="junk"> <property name="junk2" value="somejunk2" /> <echo message="junk:junk2 = ${junk2}" /> </target> </project> When I run this I get: NAnt 0.85 (Build 0.85.1682.0; net-1.0.win32; nightly; 8/9/2004) Copyright (C) 2001-2004 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/Documents and Settings/fvittoria/test.build Target(s) specified: test test: [echo] test:junk2 = junk2 junk: [echo] junk:junk2 = somejunk2 [echo] test:junk2 = somejunk2 BUILD SUCCEEDED Total time: 0.1 seconds. Why don't I get: test: [echo] test:junk2 = junk2 junk: [echo] junk:junk2 = somejunk2 test: [echo] test:junk2 = somejunk2 That is, why didn't my second "<echo message="test:junk2 = ${junk2}" />" statement get executed w/in the 'test' target. From the output it looks like it got executed within the 'junk' target. Thanks, Felice ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users