Bugs item #1161703, was opened at 2005-03-11 17:07 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1161703&group_id=31650
Category: Documentation Group: 0.85 Status: Open Resolution: None Priority: 5 Submitted By: David Parrish (dmp1ce) Assigned to: Nobody/Anonymous (nobody) Summary: <nant> inheritall default = true. ! false Initial Comment: The NAnt script called by the <nant> task will inheritall properties unless the inheritall attribute is set to false. Example: File 1: nanttest.build: <project name="main" default="testNant"> <target name="main"> <nant buildfile="nanttest2.build" target="test" /> </target> <property name="hiddenProperty" value="You shouldn't See me!" /> </project> File 2: nanttest2.build: <project name="anotherNant" default="test"> <target name="test"> <echo message="${hiddenProperty}" /> </target> </project> Command: Result: C:\nant\bin>nant -buildfile:"c:\develop\nanttest.build" main NAnt 0.85 (Build 0.85.1869.0; rc2; 2/12/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///c:/develop/nanttest.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: main main: [nant] c:\develop\nanttest2.build test Buildfile: file:///c:/develop/nanttest2.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: test test: [echo] You shouldn't See me! BUILD SUCCEEDED Total time: 0 seconds. BUILD SUCCEEDED Total time: 0.2 seconds. C:\nant\bin> ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1161703&group_id=31650 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers