Can someone tell me why when the Target dev1 calls the target Build,
Build the executes with it's original CIBase of "c:\Integration\"
rather than the passed property of "D:\My Documents\Visual Studio
Projects\CurrentProjects\"

Thanks

Rory


<?xml version="1.0" encoding="utf-8" ?>
<project name="Proj1" default="build"
xmlns="http://nant.sf.net/schemas/nant.xsd";>
       <description>Building Proj1</description>
       <property name="BaseName" value="Proj1" />

       <target name="Dev1" description="Compiles Proj1 on Dev1">
               <nant target="build" buildfile="Nant.Build">
                       <properties >
                               <property name="CIBase" value="D:\My
Documents\Visual Studio
Projects\CurrentProjects\" />
                       </properties>
               </nant>
               <echo message="CIBase: ${CIBase}" />
       </target>

       <property name="debug" value="true" overwrite="false" />
       <property name="CIBase" value="C:\Integration\" overwrite="false" />
       <property name="ThirdParty" value="${CIBase}3rd Party\"
overwrite="false" />
       <property name="BuildFolder" value="${CIBase}Release\"
overwrite="false" />

       <target name="build" description="compiles the source code">
               <mkdir dir="${BuildFolder}" failonerror="False" />
               <echo message="${ThirdParty}" />
       </target>
</project>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to