Hi Craig, here they are.

<cruisecontrol xmlns="http://thoughtworks.org/ccnet/1/6";>

  <project name="JohnTest2" >
    <tasks>
      <nant>
        <executable>C:\Program Files (x86)\nant-0.85\bin\nant.exe</
executable>
        <!-- This works in CCNet 1.6.7981.1
        <buildArgs>-D:myprop1=test123 -D:myprop2=test456</buildArgs>
        -->
        <!-- This works in CCNet 1.5.7256.1 but not in CCNet
1.6.7981.1 -->
        <buildArgs>
        -D:myprop1=test123
        -D:myprop2=test456
        </buildArgs>
        <!--  -->
        <buildFile>D:\Build Area\John Test\Scripts\build.build</
buildFile>
        <targetList>
          <target>target1</target>
        </targetList>
      </nant>
    </tasks>
  </project>

</cruisecontrol>


NANT:
<?xml version="1.0"?>

<project name="build" xmlns="http://nant.sf.net/release/0.85/nant.xsd";
>

        <echo message="DEBUGGING START" />
        <echo message="project::get-name='${project::get-name()}'" />
        <echo message="project::get-default-target='${project::get-default-
target()}'" />
        <echo message="target::exists('target1')='$
{target::exists('target1')}'" />
        <echo message="DEBUGGING END" />

        <target name="target1">
                <echo message="TARGET '${target::get-current-target()}' 
STARTED" />
                <echo message="Starting build.build for project 
'${CCNetProject}' at
${datetime::now()}" />
        </target>

</project>


I'm new to Google Groups - I thought there would be a way to attach
files, but I can't see any. The log files are a bit too long to just
paste here.

Reply via email to