All,
When slingshot generates the build file, its default target is debug.
<project name="ApplicationLauncher" default="Debug">
But when my debug property in the the calling build file (the file that calls slingshot) is false, it still calls the debug target. Any idea on why? Here is the target that calls slingshot:
<target name="build" depends="getsource">
<mkdir dir="${build.basedir}\${basename}" />
<slingshot solution="ApplicationLauncher.sln" format="nant" output="${source.basedir}\ApplicationLauncher.build">
<parameters>
<option name="build.basedir" value="${build.basedir}\${basename}" />
</parameters>
</slingshot>
<nant buildfile="${source.basedir}\ApplicationLauncher.build">
<properties>
<property name="build.dir" value="${build.basedir}\${basename}\bin" />
</properties>
</nant>
</target>
Now, the csc call in the generated build file looks like this...
<csc target="winexe" output="${output}" debug="${debug}" define="${define}" doc="${doc}" warninglevel="${warninglevel}">
The ${debug} property is not defined in the file so I assumed that it was the property that I am setting in the calling file. But, if that's the case, it should be false.
Help?
Evan A. Bonnett