asp.net - Is there a basic, standard .build file for NAnt? -
asp.net - Is there a basic, standard .build file for NAnt? -
basically, i'm trying integrate cruisecontrol.net nant. i've got cc.net set up, i'm getting exception when tries build nant.
build failed - not find '*.build' file in 'c:\inetpub\myproject\'
okay, no big deal, have create build file. not sure is, found 1 in helloworld illustration came nant, looks this:
<project name="hello world" default="run"> <property name="basename" value="helloworld"/> <property name="debug" value="true"/> <target name="clean"> <delete> <fileset> <include name="bin/${basename}-??.exe"/> <include name="bin/${basename}-??.pdb"/> </fileset> </delete> </target> <target name="build"> <mkdir dir="bin" /> <csc target="exe" output="bin/${basename}-cs.exe" debug="${debug}"> <sources> <include name="${basename}.cs"/> </sources> </csc> <jsc target="exe" output="bin/${basename}-js.exe" debug="${debug}"> <sources> <include name="${basename}.js"/> </sources> </jsc> <vbc target="exe" output="bin/${basename}-vb.exe" debug="${debug}"> <sources> <include name="${basename}.vb"/> </sources> </vbc> </target> <target name="run" depends="build"> <exec program="bin/${basename}-cs.exe" basedir="."/> <exec program="bin/${basename}-js.exe" basedir="."/> <exec program="bin/${basename}-vb.exe" basedir="."/> </target> </project> there's lot more content in file expecting. tried searching around find out meant, required, etc. couldn't find anything.
is there basic , standard file use? want build entire application, nil crazy.
nant's tasks , attributes described here: nant help
task reference
also,
a brief introduction nant nant starter seriesthis article has template:
the anatomy of nant build fileplus, previous question:
simple helloworld build script asp.net cruisecontrol.net nant
Comments
Post a Comment