# Friday, March 25, 2005

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 build
start /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>

Friday, March 25, 2005 7:24:57 AM UTC  #    Comments [1]Trackback
Sunday, May 17, 2009 12:35:36 PM UTC
Greeting. What you do speaks so loud that I cannot hear what you say.
I am from Croatia and now teach English, give please true I wrote the following sentence: "We have a seo solution strategy for you right now.We can have your online business up and running within days! Seo starter package."

With respect 8-), Prunella.
All comments require the approval of the site owner before being displayed.
OpenID
Please login with either your OpenID above, or your details below.
Name
E-mail
(will show your gravatar icon)
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview