Attempt to fix nant build files

physics-inventorytesting
MW 2007-03-13 19:19:43 +00:00
parent 05c6f7d498
commit 0b99f56f2b
3 changed files with 186 additions and 131 deletions

View File

@ -1,80 +1,81 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<project name="OpenSim" default="build" basedir="."> <project name="OpenSim" default="build" basedir=".">
<description>nant buildfile for OpenSim</description> <description>nant buildfile for OpenSim</description>
<property name="debug" value="true" overwrite="false" /> <property name="debug" value="true" overwrite="false" />
<target name="clean" description="remove all generated files"> <target name="clean" description="remove all generated files">
<delete file="bin/OpenSim.exe" failonerror="false" /> <delete file="bin/OpenSim.exe" failonerror="false" />
<delete file="bin/OpenSim.pdb" failonerror="false" /> <delete file="bin/OpenSim.pdb" failonerror="false" />
</target> </target>
<target name="svnupdate" description="updates to latest SVN"> <target name="svnupdate" description="updates to latest SVN">
<exec program="svn"> <exec program="svn">
<arg value="update" /> <arg value="update" />
</exec> </exec>
</target> </target>
<target name="upgrade" description="updates from SVN and then builds" depends="clean,svnupdate,build"> <target name="upgrade" description="updates from SVN and then builds" depends="clean,svnupdate,build">
</target> </target>
<target name="build" description="compiles the source code"> <target name="build" description="compiles the source code">
<exec program="genvers.sh" /> <exec program="genvers.sh" />
<loadfile file="VERSION" property="svnver"/> <loadfile file="VERSION" property="svnver"/>
<asminfo output="src/AssemblyInfo.cs" language="CSharp"> <asminfo output="src/AssemblyInfo.cs" language="CSharp">
<imports> <imports>
<import namespace="System" /> <import namespace="System" />
<import namespace="System.Reflection" /> <import namespace="System.Reflection" />
<import namespace="System.Runtime.InteropServices" /> <import namespace="System.Runtime.InteropServices" />
</imports> </imports>
<attributes> <attributes>
<attribute type="ComVisibleAttribute" value="false" /> <attribute type="ComVisibleAttribute" value="false" />
<attribute type="CLSCompliantAttribute" value="false" /> <attribute type="CLSCompliantAttribute" value="false" />
<attribute type="AssemblyVersionAttribute" value="${svnver}" /> <attribute type="AssemblyVersionAttribute" value="${svnver}" />
<attribute type="AssemblyTitleAttribute" value="opensim" /> <attribute type="AssemblyTitleAttribute" value="opensim" />
<attribute type="AssemblyDescriptionAttribute" value="The C# implementation of the simulator portion of OGS" /> <attribute type="AssemblyDescriptionAttribute" value="The C# implementation of the simulator portion of OGS" />
<attribute type="AssemblyCopyrightAttribute" value="Copyright © OGS development team 2007"/> <attribute type="AssemblyCopyrightAttribute" value="Copyright © OGS development team 2007"/>
</attributes> </attributes>
</asminfo> </asminfo>
<nant> <nant>
<buildfiles> <buildfiles>
<include name="src/GridInterfaces/default.build" /> <include name="src/GridInterfaces/default.build" />
<include name="src/ServerConsole/default.build" /> <include name="src/ServerConsole/default.build" />
<include name="src/LocalServers/default.build" /> <include name="src/LocalServers/default.build" />
<include name="src/RemoteServers/default.build" /> <include name="src/RemoteServers/default.build" />
<include name="src/physics/default.build" /> <include name="src/physics/default.build" />
<include name="src/physics/plugins/default.build" /> <include name="src/physics/plugins/default.build" />
</buildfiles> <include name="src/LocalStorage/default.build" />
</nant> </buildfiles>
</nant>
<csc target="exe" output="bin/OpenSim.exe" debug="${debug}" verbose="true" warninglevel="4">
<references basedir="bin/" failonempty="true"> <csc target="exe" output="bin/OpenSim.exe" debug="${debug}" verbose="true" warninglevel="4">
<include name="System" /> <references basedir="bin/" failonempty="true">
<include name="System.Data" /> <include name="System" />
<include name="System.Xml" /> <include name="System.Data" />
<include name="Axiom.MathLib.dll" /> <include name="System.Xml" />
<include name="libsecondlife.dll" /> <include name="Axiom.MathLib.dll" />
<include name="log4net.dll" /> <include name="libsecondlife.dll" />
<include name="Db4objects.Db4o.dll" /> <include name="log4net.dll" />
<include name="ServerConsole.dll" /> <include name="Db4objects.Db4o.dll" />
<include name="GridInterfaces.dll" /> <include name="ServerConsole.dll" />
<include name="PhysicsManager.dll" /> <include name="GridInterfaces.dll" />
</references> <include name="PhysicsManager.dll" />
<sources basedir="src/"> </references>
<include name="*.cs" /> <sources basedir="src/">
<include name="types/*.cs" /> <include name="*.cs" />
<include name="world/*.cs" /> <include name="types/*.cs" />
<include name="GridServers/*.cs" /> <include name="world/*.cs" />
<include name="Assets/*.cs" /> <include name="GridServers/*.cs" />
</sources> <include name="Assets/*.cs" />
</csc> </sources>
</csc>
<nant>
<buildfiles> <nant>
<include name="src/Config/default.build" /> <buildfiles>
</buildfiles> <include name="src/Config/default.build" />
</nant> </buildfiles>
</target> </nant>
</project> </target>
</project>

View File

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

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>