104 lines
7.3 KiB
XML
104 lines
7.3 KiB
XML
<?xml version="1.0" ?>
|
|
<project name="OpenGridServices" default="build">
|
|
<echo message="Using '${nant.settings.currentframework}' Framework"/>
|
|
|
|
<property name="bin.dir" value="bin" />
|
|
<property name="obj.dir" value="obj" />
|
|
<property name="doc.dir" value="doc" />
|
|
<property name="project.main.dir" value="${project::get-base-directory()}" />
|
|
|
|
<target name="Debug" description="">
|
|
<property name="project.config" value="Debug" />
|
|
<property name="build.debug" value="true" />
|
|
</target>
|
|
|
|
<property name="project.config" value="Release" />
|
|
|
|
<target name="Release" description="">
|
|
<property name="project.config" value="Release" />
|
|
<property name="build.debug" value="false" />
|
|
</target>
|
|
|
|
<target name="net-1.1" description="Sets framework to .NET 1.1">
|
|
<property name="nant.settings.currentframework" value="net-1.1" />
|
|
</target>
|
|
|
|
<target name="net-2.0" description="Sets framework to .NET 2.0">
|
|
<property name="nant.settings.currentframework" value="net-2.0" />
|
|
</target>
|
|
|
|
<target name="mono-2.0" description="Sets framework to mono 2.0">
|
|
<property name="nant.settings.currentframework" value="mono-2.0" />
|
|
</target>
|
|
|
|
<target name="mono-1.0" description="Sets framework to mono 1.0">
|
|
<property name="nant.settings.currentframework" value="mono-1.0" />
|
|
</target>
|
|
|
|
<target name="init" description="">
|
|
<call target="${project.config}" />
|
|
<sysinfo />
|
|
<echo message="Platform ${sys.os.platform}" />
|
|
<property name="build.dir" value="${bin.dir}/${project.config}" />
|
|
</target>
|
|
|
|
<target name="clean" description="">
|
|
<echo message="Deleting all builds from all configurations" />
|
|
<delete dir="${bin.dir}" failonerror="false" />
|
|
<delete dir="${obj.dir}" failonerror="false" />
|
|
<nant buildfile="OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.exe.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.dll.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/ServiceManager/ServiceManager.exe.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.dll.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.InventoryServer/OpenGridServices.InventoryServer.exe.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="clean" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.dll.build" target="clean" />
|
|
</target>
|
|
|
|
<target name="build" depends="init" description="">
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build" target="build" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.dll.build" target="build" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build" target="build" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.dll.build" target="build" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.dll.build" target="build" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build" target="build" />
|
|
<nant buildfile="OpenGridServices/ServiceManager/ServiceManager.exe.build" target="build" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="build" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.exe.build" target="build" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.InventoryServer/OpenGridServices.InventoryServer.exe.build" target="build" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="build" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build" target="build" />
|
|
<nant buildfile="OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build" target="build" />
|
|
</target>
|
|
|
|
<target name="build-release" depends="Release, init, build" description="Builds in Release mode" />
|
|
|
|
<target name="build-debug" depends="Debug, init, build" description="Builds in Debug mode" />
|
|
|
|
<target name="package" depends="clean, doc" description="Builds all" />
|
|
|
|
<target name="doc" depends="build-release">
|
|
<echo message="Generating all documentation from all builds" />
|
|
<nant buildfile="OpenGridServices/OpenUser.Config/UserConfigDb4o/OpenUser.Config.UserConfigDb4o.dll.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.AssetServer/OpenGridServices.AssetServer.exe.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Config/GridConfigDb4o/OpenGrid.Config.GridConfigDb4o.dll.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.SQLite/OpenGrid.Framework.Data.SQLite.dll.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.DB4o/OpenGrid.Framework.Data.DB4o.dll.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/ServiceManager/ServiceManager.exe.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Manager/OpenGrid.Framework.Manager.dll.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MSSQL/OpenGrid.Framework.Data.MSSQL.dll.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data/OpenGrid.Framework.Data.dll.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.InventoryServer/OpenGridServices.InventoryServer.exe.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="doc" />
|
|
<nant buildfile="OpenGridServices/OpenGrid.Framework.Data.MySQL/OpenGrid.Framework.Data.MySQL.dll.build" target="doc" />
|
|
</target>
|
|
|
|
</project>
|