Hello All,

Slingshot looks like a cool tool! Can I specify a different Target? Also, does it 
support VC++ projects?

--
Edwin G. Castro
Firing Systems Engineer
[EMAIL PROTECTED]
 
________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bonnett, Evan A
Sent: Wednesday, March 31, 2004 9:28 AM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Slingshot Question

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 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to