1 <?xml version=
"1.0" encoding=
"utf-8" ?>
3 name=
"Castle CruiseControl.NET Build"
4 xmlns=
"http://nant.sf.net/release/0.85/nant.xsd"
7 Run the package-* targets one by one (separate nant task blocks in ccnet.config) so they do not interfere with each other (like for instance loadtask commands do).
10 <fail if=
"${not property::exists('CCNetLabel')}">This build file is for use with CruiseControl.NET
</fail>
12 <target name=
"package-net-1.1">
14 clean is first target executed so we can get rid of
17 <nant buildfile=
"default.build" target=
"clean package">
19 <property name=
"build.rebuild" value=
"true" />
20 <property name=
"nant.settings.currentframework" value=
"net-1.1" />
21 <property name=
"project.config" value=
"debug" />
22 <property name=
"build.zip.file" value=
"castleproject-${project.major}.${project.minor}-build_${CCNetLabel}-${framework::get-target-framework()}-${project.config}.zip" dynamic=
"true" />
23 <property name=
"build.msi.file" value=
"castleproject-${project.major}.${project.minor}-build_${CCNetLabel}-${framework::get-target-framework()}-${project.config}.msi" dynamic=
"true" />
28 <target name=
"package-net-2.0">
30 clean is first target executed so we can get rid of
33 <nant buildfile=
"default.build" target=
"clean package">
35 <property name=
"build.rebuild" value=
"true" />
36 <property name=
"nant.settings.currentframework" value=
"net-2.0" />
37 <property name=
"project.config" value=
"debug" />
38 <property name=
"build.zip.file" value=
"castleproject-${project.major}.${project.minor}-build_${CCNetLabel}-${framework::get-target-framework()}-${project.config}.zip" dynamic=
"true" />
39 <property name=
"build.msi.file" value=
"castleproject-${project.major}.${project.minor}-build_${CCNetLabel}-${framework::get-target-framework()}-${project.config}.msi" dynamic=
"true" />