Added nant for LocalStorage.dll

adam
gareth 2007-03-08 15:50:08 +00:00
parent f60bc970eb
commit 3a5882f879
2 changed files with 54 additions and 0 deletions

View File

@ -46,6 +46,7 @@
<include name="src/RemoteServers/default.build" />
<include name="src/physics/default.build" />
<include name="src/physics/plugins/default.build" />
<include name="src/LocalStorage/default.build" />
</buildfiles>
</nant>

View File

@ -0,0 +1,53 @@
<?xml version="1.0"?>
<project name="OpenSim" default="build" basedir=".">
<description>nant buildfile for OpenSim</description>
<property name="debug" value="true" overwrite="false" />
<target name="clean" description="remove all generated files">
<delete file="../bin/Db4LocalStorage.dll" failonerror="false" />
</target>
<target name="svnupdate" description="updates to latest SVN">
<exec program="svn">
<arg value="update" />
</exec>
</target>
<target name="upgrade" description="updates from SVN and then builds" depends="clean,svnupdate,build">
</target>
<target name="build" description="compiles the source code">
<loadfile file="../../VERSION" property="svnver"/>
<asminfo output="Db4LocalStorage/AssemblyInfo.cs" language="CSharp">
<imports>
<import namespace="System" />
<import namespace="System.Reflection" />
<import namespace="System.Runtime.InteropServices" />
</imports>
<attributes>
<attribute type="ComVisibleAttribute" value="false" />
<attribute type="CLSCompliantAttribute" value="false" />
<attribute type="AssemblyVersionAttribute" value="${svnver}" />
<attribute type="AssemblyTitleAttribute" value="opensim-localstorage" />
<attribute type="AssemblyDescriptionAttribute" value="The local storage handler" />
<attribute type="AssemblyCopyrightAttribute" value="Copyright © OGS development team 2007"/>
</attributes>
</asminfo>
<csc target="library" output="../../bin/Db4LocalStorage.dll" debug="${debug}" verbose="true" warninglevel="4">
<references basedir="../../bin/" failonempty="true">
<include name="System" />
<include name="System.Data" />
<include name="System.Xml" />
<include name="libsecondlife.dll" />
<include name="GridInterfaces.dll" />
<include name="ServerConsole.dll" />
<include name="Db4objects.Db4o.dll" />
</references>
<sources basedir="Db4LocalStorage/">
<include name="*.cs" />
</sources>
</csc>
</target>
</project>