I never met a heavy weight build script interpreter I didn't like. Quike frankly, that goes with out saying for NAnt. My first try at using NAnt with my senior project, “The Puzzler - 3D Style” whos current beta parts are listed here for anyone that care to inspect.
I was very surprised with just how quickly I was able to take off with using NAnt builder by just using my .sln and .proj files autogenerated by VS.NET 2003. This is a very simplified use of NAnt starting out, but just by looking at it, it's easy to tell just how complex such a build script with NAnt can get...
That batch file build.bat executes two lines:NAnt.exe -l:build.log.txt clean buildstart /B /I NOTEPAD.EXE build.log.txt
This then executes the build script xml document:
<?xml version="1.0" ?><project name="The Puzzler - 3D Style" default="build" basedir="."> <description>The Puzzler - 3D Style build files.</description> <property name="debug" value="true" overwrite="false" /> <target name="clean" description="Removes all files outputed from the previous build on The Puzzler - 3D Style."> <delete failonerror="false" > <fileset> <include name="**\*.dll" if="true" /> <!-- Removes all generated assemblies --> <include name="**\*.xml" if="true" /> <!-- Removes all documentation xml files --> </fileset> </delete> </target> <target name="build" description="Complies my source code for The Puzzler - 3D Style from the original solution file generated by VS.NET 2003."> <solution verbose="true" configuration="debug" solutionfile="thepuzzler_3dstyle.sln"> <webmap> <map url="http://localhost/thepuzzler_3dstyle/thepuzzler_3dstyle_localhost.csproj" path="C:\Documents and Settings\Nostro\VSWebCache\matthew.klump-pdx.com\thepuzzler_3dstyle\thepuzzler_3dstyle_localhost.csproj" /> </webmap> </solution> <solution verbose="true" configuration="release" solutionfile="thepuzzler_3dstyle.sln"> <webmap> <map url="http://localhost/thepuzzler_3dstyle/thepuzzler_3dstyle_localhost.csproj" path="C:\Documents and Settings\Nostro\VSWebCache\matthew.klump-pdx.com\thepuzzler_3dstyle\thepuzzler_3dstyle_localhost.csproj" /> </webmap> </solution> </target></project>
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u
Disclaimer The opinions expressed in this public online diary are my own personal opinions, thoughts, and feelings and do not represent anyone else's view including family members, my employer, and friends in anyway, unless of course you believe in GOD and constantly need JESUS with his power to save, heal, and instill forever peace like I constantly need him.