ODE plugin now can fly but sinks through ground when walking (?!!!??!??!)

tourmaline
gareth 2007-03-27 02:42:06 +00:00
parent 60385e7525
commit 8b8f62f019
19 changed files with 1024 additions and 994 deletions

View File

@ -1,49 +1,49 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenGridServices.GridServer" default="build"> <project name="OpenGridServices.GridServer" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe">
<resources prefix="OpenGridServices.GridServer" dynamicprefix="true" > <resources prefix="OpenGridServices.GridServer" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="ConsoleCmds.cs" /> <include name="ConsoleCmds.cs" />
<include name="GridHttp.cs" /> <include name="GridHttp.cs" />
<include name="Main.cs" /> <include name="Main.cs" />
<include name="SimProfiles.cs" /> <include name="SimProfiles.cs" />
<include name="Properties/AssemblyInfo.cs" /> <include name="Properties/AssemblyInfo.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="System.Data.dll" /> <include name="System.Data.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="../bin/OpenSim.Framework.dll" /> <include name="../bin/OpenSim.Framework.dll" />
<include name="../bin/OpenSim.Framework.Console.dll" /> <include name="../bin/OpenSim.Framework.Console.dll" />
<include name="../bin/OpenGridServices.ServerConsole.dll" /> <include name="../bin/OpenGridServices.ServerConsole.dll" />
<include name="../bin/libsecondlife.dll" /> <include name="../bin/libsecondlife.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
<mkdir dir="${project::get-base-directory()}/../bin/"/> <mkdir dir="${project::get-base-directory()}/../bin/"/>
<copy todir="${project::get-base-directory()}/../bin/"> <copy todir="${project::get-base-directory()}/../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,43 +1,43 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenGridServices.ServerConsole" default="build"> <project name="OpenGridServices.ServerConsole" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenGridServices.ServerConsole" dynamicprefix="true" > <resources prefix="OpenGridServices.ServerConsole" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="ServerConsole.cs" /> <include name="ServerConsole.cs" />
<include name="Properties/AssemblyInfo.cs" /> <include name="Properties/AssemblyInfo.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="System.Data.dll" /> <include name="System.Data.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="../bin/OpenSim.Framework.dll" /> <include name="../bin/OpenSim.Framework.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
<mkdir dir="${project::get-base-directory()}/../bin/"/> <mkdir dir="${project::get-base-directory()}/../bin/"/>
<copy todir="${project::get-base-directory()}/../bin/"> <copy todir="${project::get-base-directory()}/../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,48 +1,48 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenGridServices.UserServer" default="build"> <project name="OpenGridServices.UserServer" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe">
<resources prefix="OpenGridServices.UserServer" dynamicprefix="true" > <resources prefix="OpenGridServices.UserServer" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="ConsoleCmds.cs" /> <include name="ConsoleCmds.cs" />
<include name="Main.cs" /> <include name="Main.cs" />
<include name="UserHttp.cs" /> <include name="UserHttp.cs" />
<include name="Properties/AssemblyInfo.cs" /> <include name="Properties/AssemblyInfo.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="System.Data.dll" /> <include name="System.Data.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="../bin/OpenSim.Framework.dll" /> <include name="../bin/OpenSim.Framework.dll" />
<include name="../bin/OpenSim.Framework.Console.dll" /> <include name="../bin/OpenSim.Framework.Console.dll" />
<include name="../bin/OpenGridServices.ServerConsole.dll" /> <include name="../bin/OpenGridServices.ServerConsole.dll" />
<include name="../bin/libsecondlife.dll" /> <include name="../bin/libsecondlife.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
<mkdir dir="${project::get-base-directory()}/../bin/"/> <mkdir dir="${project::get-base-directory()}/../bin/"/>
<copy todir="${project::get-base-directory()}/../bin/"> <copy todir="${project::get-base-directory()}/../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,47 +1,47 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim.Config.SimConfigDb4o" default="build"> <project name="OpenSim.Config.SimConfigDb4o" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenSim.Config.SimConfigDb4o" dynamicprefix="true" > <resources prefix="OpenSim.Config.SimConfigDb4o" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="AssemblyInfo.cs" /> <include name="AssemblyInfo.cs" />
<include name="DbSimConfig.cs" /> <include name="DbSimConfig.cs" />
<include name="MapStorage.cs" /> <include name="MapStorage.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="System.Data.dll.dll" /> <include name="System.Data.dll.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="../../bin/libsecondlife.dll" /> <include name="../../bin/libsecondlife.dll" />
<include name="../../bin/Db4objects.Db4o.dll" /> <include name="../../bin/Db4objects.Db4o.dll" />
<include name="../../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" /> <include name="../../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" />
<include name="../../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" /> <include name="../../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
<mkdir dir="${project::get-base-directory()}/../../bin/"/> <mkdir dir="${project::get-base-directory()}/../../bin/"/>
<copy todir="${project::get-base-directory()}/../../bin/"> <copy todir="${project::get-base-directory()}/../../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,41 +1,41 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim.Framework.Console" default="build"> <project name="OpenSim.Framework.Console" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenSim.Framework.Console" dynamicprefix="true" > <resources prefix="OpenSim.Framework.Console" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="AssemblyInfo.cs" /> <include name="AssemblyInfo.cs" />
<include name="ConsoleBase.cs" /> <include name="ConsoleBase.cs" />
<include name="MainConsole.cs" /> <include name="MainConsole.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
<mkdir dir="${project::get-base-directory()}/../bin/"/> <mkdir dir="${project::get-base-directory()}/../bin/"/>
<copy todir="${project::get-base-directory()}/../bin/"> <copy todir="${project::get-base-directory()}/../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,63 +1,63 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim.Framework" default="build"> <project name="OpenSim.Framework" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenSim.Framework" dynamicprefix="true" > <resources prefix="OpenSim.Framework" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="AgentCiruitData.cs" /> <include name="AgentCiruitData.cs" />
<include name="AgentInventory.cs" /> <include name="AgentInventory.cs" />
<include name="AssetBase.cs" /> <include name="AssetBase.cs" />
<include name="BlockingQueue.cs" /> <include name="BlockingQueue.cs" />
<include name="HeightMapGenHills.cs" /> <include name="HeightMapGenHills.cs" />
<include name="IAssetServer.cs" /> <include name="IAssetServer.cs" />
<include name="IConfig.cs" /> <include name="IConfig.cs" />
<include name="IGridServer.cs" /> <include name="IGridServer.cs" />
<include name="ILocalStorage.cs" /> <include name="ILocalStorage.cs" />
<include name="IUserServer.cs" /> <include name="IUserServer.cs" />
<include name="LocalGridBase.cs" /> <include name="LocalGridBase.cs" />
<include name="Login.cs" /> <include name="Login.cs" />
<include name="LoginService.cs" /> <include name="LoginService.cs" />
<include name="NeighbourInfo.cs" /> <include name="NeighbourInfo.cs" />
<include name="PrimData.cs" /> <include name="PrimData.cs" />
<include name="RemoteGridBase.cs" /> <include name="RemoteGridBase.cs" />
<include name="SimProfile.cs" /> <include name="SimProfile.cs" />
<include name="SimProfileBase.cs" /> <include name="SimProfileBase.cs" />
<include name="UserProfile.cs" /> <include name="UserProfile.cs" />
<include name="UserProfileManager.cs" /> <include name="UserProfileManager.cs" />
<include name="UserProfileManagerBase.cs" /> <include name="UserProfileManagerBase.cs" />
<include name="Util.cs" /> <include name="Util.cs" />
<include name="Properties/AssemblyInfo.cs" /> <include name="Properties/AssemblyInfo.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="../bin/libsecondlife.dll" /> <include name="../bin/libsecondlife.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
<mkdir dir="${project::get-base-directory()}/../bin/"/> <mkdir dir="${project::get-base-directory()}/../bin/"/>
<copy todir="${project::get-base-directory()}/../bin/"> <copy todir="${project::get-base-directory()}/../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,46 +1,46 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim.GridInterfaces.Local" default="build"> <project name="OpenSim.GridInterfaces.Local" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenSim.GridInterfaces.Local" dynamicprefix="true" > <resources prefix="OpenSim.GridInterfaces.Local" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="AssemblyInfo.cs" /> <include name="AssemblyInfo.cs" />
<include name="LocalAssetServer.cs" /> <include name="LocalAssetServer.cs" />
<include name="LocalGridServer.cs" /> <include name="LocalGridServer.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="../../bin/Db4objects.Db4o.dll" /> <include name="../../bin/Db4objects.Db4o.dll" />
<include name="../../bin/libsecondlife.dll" /> <include name="../../bin/libsecondlife.dll" />
<include name="../../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" /> <include name="../../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" />
<include name="../../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" /> <include name="../../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
<mkdir dir="${project::get-base-directory()}/../../bin/"/> <mkdir dir="${project::get-base-directory()}/../../bin/"/>
<copy todir="${project::get-base-directory()}/../../bin/"> <copy todir="${project::get-base-directory()}/../../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,45 +1,45 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim.GridInterfaces.Remote" default="build"> <project name="OpenSim.GridInterfaces.Remote" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenSim.GridInterfaces.Remote" dynamicprefix="true" > <resources prefix="OpenSim.GridInterfaces.Remote" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="AssemblyInfo.cs" /> <include name="AssemblyInfo.cs" />
<include name="RemoteAssetServer.cs" /> <include name="RemoteAssetServer.cs" />
<include name="RemoteGridServer.cs" /> <include name="RemoteGridServer.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="../../bin/libsecondlife.dll" /> <include name="../../bin/libsecondlife.dll" />
<include name="../../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" /> <include name="../../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" />
<include name="../../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" /> <include name="../../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
<mkdir dir="${project::get-base-directory()}/../../bin/"/> <mkdir dir="${project::get-base-directory()}/../../bin/"/>
<copy todir="${project::get-base-directory()}/../../bin/"> <copy todir="${project::get-base-directory()}/../../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,42 +1,42 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim.Physics.BasicPhysicsPlugin" default="build"> <project name="OpenSim.Physics.BasicPhysicsPlugin" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenSim.Physics.BasicPhysicsPlugin" dynamicprefix="true" > <resources prefix="OpenSim.Physics.BasicPhysicsPlugin" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="AssemblyInfo.cs" /> <include name="AssemblyInfo.cs" />
<include name="BasicPhysicsPlugin.cs" /> <include name="BasicPhysicsPlugin.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="../../bin/Axiom.MathLib.dll" /> <include name="../../bin/Axiom.MathLib.dll" />
<include name="../Manager/${build.dir}/OpenSim.Physics.Manager.dll" /> <include name="../Manager/${build.dir}/OpenSim.Physics.Manager.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/Physics/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/Physics/" />
<mkdir dir="${project::get-base-directory()}/../../bin/Physics/"/> <mkdir dir="${project::get-base-directory()}/../../bin/Physics/"/>
<copy todir="${project::get-base-directory()}/../../bin/Physics/"> <copy todir="${project::get-base-directory()}/../../bin/Physics/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,46 +1,46 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim.Physics.Manager" default="build"> <project name="OpenSim.Physics.Manager" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenSim.Physics.Manager" dynamicprefix="true" > <resources prefix="OpenSim.Physics.Manager" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="AssemblyInfo.cs" /> <include name="AssemblyInfo.cs" />
<include name="PhysicsActor.cs" /> <include name="PhysicsActor.cs" />
<include name="PhysicsManager.cs" /> <include name="PhysicsManager.cs" />
<include name="PhysicsScene.cs" /> <include name="PhysicsScene.cs" />
<include name="PhysicsVector.cs" /> <include name="PhysicsVector.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="../../bin/Axiom.MathLib.dll" /> <include name="../../bin/Axiom.MathLib.dll" />
<include name="../../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" /> <include name="../../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
<mkdir dir="${project::get-base-directory()}/../../bin/"/> <mkdir dir="${project::get-base-directory()}/../../bin/"/>
<copy todir="${project::get-base-directory()}/../../bin/"> <copy todir="${project::get-base-directory()}/../../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -70,31 +70,54 @@ namespace OpenSim.Physics.OdePlugin
public class OdeScene :PhysicsScene public class OdeScene :PhysicsScene
{ {
public IntPtr world; static public IntPtr world;
public IntPtr space; static public IntPtr space;
private IntPtr contactgroup; static private IntPtr contactgroup;
static private IntPtr LandGeom;
static private IntPtr Land;
private double[] _heightmap; private double[] _heightmap;
static private d.NearCallback nearCallback = near;
private List<OdeCharacter> _characters = new List<OdeCharacter>();
private static d.ContactGeom[] contacts = new d.ContactGeom[500];
private static d.Contact contact;
public OdeScene() public OdeScene() {
{
world = d.WorldCreate(); world = d.WorldCreate();
space = d.HashSpaceCreate(IntPtr.Zero); space = d.HashSpaceCreate(IntPtr.Zero);
contactgroup = d.JointGroupCreate(0); contactgroup = d.JointGroupCreate(0);
d.WorldSetGravity(world, 0.0f, 0.0f, -0.5f); d.WorldSetGravity(world, 0.0f, 0.0f, -0.5f);
d.WorldSetCFM(world, 1e-5f); d.WorldSetCFM(world, 1e-5f);
d.WorldSetAutoDisableFlag(world, true); d.WorldSetAutoDisableFlag(world, false);
d.WorldSetContactMaxCorrectingVel(world, 0.1f);
d.WorldSetContactSurfaceLayer(world, 0.001f);
this._heightmap=new double[65536]; this._heightmap=new double[65536];
} }
// This function blatantly ripped off from BoxStack.cs
static private void near(IntPtr space, IntPtr g1, IntPtr g2)
{
IntPtr b1 = d.GeomGetBody(g1);
IntPtr b2 = d.GeomGetBody(g2);
if (b1 != IntPtr.Zero && b2 != IntPtr.Zero && d.AreConnectedExcluding(b1, b2, d.JointType.Contact))
return;
int count = d.Collide(g1, g2, 500, contacts, d.ContactGeom.SizeOf);
for (int i = 0; i < count; ++i)
{
contact.geom = contacts[i];
IntPtr joint = d.JointCreateContact(world, contactgroup, ref contact);
d.JointAttach(joint, b1, b2);
}
}
public override PhysicsActor AddAvatar(PhysicsVector position) public override PhysicsActor AddAvatar(PhysicsVector position)
{ {
PhysicsVector pos = new PhysicsVector(); PhysicsVector pos = new PhysicsVector();
pos.X = position.X; pos.X = position.X;
pos.Y = position.Y; pos.Y = position.Y;
pos.Z = position.Z; pos.Z = position.Z;
return new OdeCharacter(this,pos); OdeCharacter newAv= new OdeCharacter(this,pos);
this._characters.Add(newAv);
return newAv;
} }
public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size) public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size)
@ -112,7 +135,16 @@ namespace OpenSim.Physics.OdePlugin
public override void Simulate(float timeStep) public override void Simulate(float timeStep)
{ {
foreach (OdeCharacter actor in _characters) {
actor.Move(timeStep*5f);
}
d.SpaceCollide(space, IntPtr.Zero, nearCallback);
d.WorldQuickStep(world, timeStep*5f);
foreach (OdeCharacter actor in _characters)
{
actor.UpdatePosition();
}
} }
public override void GetResults() public override void GetResults()
@ -135,7 +167,8 @@ namespace OpenSim.Physics.OdePlugin
} }
IntPtr HeightmapData = d.GeomHeightfieldDataCreate(); IntPtr HeightmapData = d.GeomHeightfieldDataCreate();
d.GeomHeightfieldDataBuildDouble(HeightmapData,_heightmap,1,256,256,256,256,1.0f,0.0f,2.0f,0); d.GeomHeightfieldDataBuildDouble(HeightmapData,_heightmap,1,256,256,256,256,1.0f,0.0f,2.0f,0);
d.CreateHeightfield(space, HeightmapData, 0); LandGeom=d.CreateHeightfield(space, HeightmapData, 1);
d.GeomSetPosition(LandGeom,0,0,0);
} }
} }
@ -156,7 +189,10 @@ namespace OpenSim.Physics.OdePlugin
_position = pos; _position = pos;
_acceleration = new PhysicsVector(); _acceleration = new PhysicsVector();
d.MassSetCapsule(out capsule_mass, 5.0f, 3, 0.5f, 2f); d.MassSetCapsule(out capsule_mass, 5.0f, 3, 0.5f, 2f);
capsule_geom = d.CreateCapsule(parent_scene.space, 0.5f, 2f); capsule_geom = d.CreateCapsule(OdeScene.space, 0.5f, 2f);
this.BoundingCapsule=d.BodyCreate(OdeScene.world);
d.BodySetMass(BoundingCapsule, ref capsule_mass);
d.BodySetPosition(BoundingCapsule,pos.X,pos.Y,pos.Z);
} }
public override bool Flying public override bool Flying
@ -249,12 +285,7 @@ namespace OpenSim.Physics.OdePlugin
vec.Y = this._velocity.Y * timeStep; vec.Y = this._velocity.Y * timeStep;
if(flying) if(flying)
{ {
vec.Z = ( this._velocity.Z) * timeStep; vec.Z = ( this._velocity.Z+0.5f) * timeStep;
}
else
{
gravityAccel+= -9.8f;
vec.Z = (gravityAccel + this._velocity.Z) * timeStep;
} }
d.BodySetLinearVel(this.BoundingCapsule, vec.X, vec.Y, vec.Z); d.BodySetLinearVel(this.BoundingCapsule, vec.X, vec.Y, vec.Z);
} }
@ -265,7 +296,6 @@ namespace OpenSim.Physics.OdePlugin
this._position.X = vec.X; this._position.X = vec.X;
this._position.Y = vec.Y; this._position.Y = vec.Y;
this._position.Z = vec.Z; this._position.Z = vec.Z;
} }
} }
@ -297,7 +327,7 @@ namespace OpenSim.Physics.OdePlugin
get get
{ {
PhysicsVector pos = new PhysicsVector(); PhysicsVector pos = new PhysicsVector();
//PhysicsVector vec = this._prim.Position; // PhysicsVector vec = this._prim.Position;
//pos.X = vec.X; //pos.X = vec.X;
//pos.Y = vec.Y; //pos.Y = vec.Y;
//pos.Z = vec.Z; //pos.Z = vec.Z;

View File

@ -1,43 +1,43 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim.Physics.OdePlugin" default="build"> <project name="OpenSim.Physics.OdePlugin" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenSim.Physics.OdePlugin" dynamicprefix="true" > <resources prefix="OpenSim.Physics.OdePlugin" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="AssemblyInfo.cs" /> <include name="AssemblyInfo.cs" />
<include name="OdePlugin.cs" /> <include name="OdePlugin.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="../../bin/Axiom.MathLib.dll" /> <include name="../../bin/Axiom.MathLib.dll" />
<include name="../Manager/${build.dir}/OpenSim.Physics.Manager.dll" /> <include name="../Manager/${build.dir}/OpenSim.Physics.Manager.dll" />
<include name="../../bin/../lib/Ode.NET.dll" /> <include name="../../bin/../lib/Ode.NET.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/Physics/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/Physics/" />
<mkdir dir="${project::get-base-directory()}/../../bin/Physics/"/> <mkdir dir="${project::get-base-directory()}/../../bin/Physics/"/>
<copy todir="${project::get-base-directory()}/../../bin/Physics/"> <copy todir="${project::get-base-directory()}/../../bin/Physics/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,43 +1,43 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim.Physics.PhysXPlugin" default="build"> <project name="OpenSim.Physics.PhysXPlugin" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenSim.Physics.PhysXPlugin" dynamicprefix="true" > <resources prefix="OpenSim.Physics.PhysXPlugin" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="AssemblyInfo.cs" /> <include name="AssemblyInfo.cs" />
<include name="PhysXPlugin.cs" /> <include name="PhysXPlugin.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="../../bin/Axiom.MathLib.dll" /> <include name="../../bin/Axiom.MathLib.dll" />
<include name="../../bin/PhysX_Wrapper_Dotnet.dll" /> <include name="../../bin/PhysX_Wrapper_Dotnet.dll" />
<include name="../Manager/${build.dir}/OpenSim.Physics.Manager.dll" /> <include name="../Manager/${build.dir}/OpenSim.Physics.Manager.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/Physics/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/Physics/" />
<mkdir dir="${project::get-base-directory()}/../../bin/Physics/"/> <mkdir dir="${project::get-base-directory()}/../../bin/Physics/"/>
<copy todir="${project::get-base-directory()}/../../bin/Physics/"> <copy todir="${project::get-base-directory()}/../../bin/Physics/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,69 +1,69 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim.RegionServer" default="build"> <project name="OpenSim.RegionServer" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenSim.RegionServer" dynamicprefix="true" > <resources prefix="OpenSim.RegionServer" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="AgentAssetUpload.cs" /> <include name="AgentAssetUpload.cs" />
<include name="Grid.cs" /> <include name="Grid.cs" />
<include name="OpenSimApplication.cs" /> <include name="OpenSimApplication.cs" />
<include name="OpenSimMain.cs" /> <include name="OpenSimMain.cs" />
<include name="OpenSimRoot.cs" /> <include name="OpenSimRoot.cs" />
<include name="QueItem.cs" /> <include name="QueItem.cs" />
<include name="SimClient.cs" /> <include name="SimClient.cs" />
<include name="SimConsole.cs" /> <include name="SimConsole.cs" />
<include name="VersionInfo.cs" /> <include name="VersionInfo.cs" />
<include name="Assets/AssetCache.cs" /> <include name="Assets/AssetCache.cs" />
<include name="Assets/InventoryCache.cs" /> <include name="Assets/InventoryCache.cs" />
<include name="CAPS/SimHttp.cs" /> <include name="CAPS/SimHttp.cs" />
<include name="types/Mesh.cs" /> <include name="UserServer/LocalUserProfileManager.cs" />
<include name="types/Triangle.cs" /> <include name="UserServer/LoginServer.cs" />
<include name="UserServer/LocalUserProfileManager.cs" /> <include name="types/Mesh.cs" />
<include name="UserServer/LoginServer.cs" /> <include name="types/Triangle.cs" />
<include name="world/Avatar.cs" /> <include name="world/Avatar.cs" />
<include name="world/AvatarAnimations.cs" /> <include name="world/AvatarAnimations.cs" />
<include name="world/Entity.cs" /> <include name="world/Entity.cs" />
<include name="world/Primitive.cs" /> <include name="world/Primitive.cs" />
<include name="world/ScriptEngine.cs" /> <include name="world/ScriptEngine.cs" />
<include name="world/SurfacePatch.cs" /> <include name="world/SurfacePatch.cs" />
<include name="world/World.cs" /> <include name="world/World.cs" />
<include name="world/scripting/IScript.cs" /> <include name="world/scripting/IScript.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="../bin/libsecondlife.dll" /> <include name="../bin/libsecondlife.dll" />
<include name="../bin/Axiom.MathLib.dll" /> <include name="../bin/Axiom.MathLib.dll" />
<include name="../bin/Db4objects.Db4o.dll" /> <include name="../bin/Db4objects.Db4o.dll" />
<include name="../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" /> <include name="../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" />
<include name="../OpenSim.Physics/Manager/${build.dir}/OpenSim.Physics.Manager.dll" /> <include name="../OpenSim.Physics/Manager/${build.dir}/OpenSim.Physics.Manager.dll" />
<include name="../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" /> <include name="../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
<mkdir dir="${project::get-base-directory()}/../bin/"/> <mkdir dir="${project::get-base-directory()}/../bin/"/>
<copy todir="${project::get-base-directory()}/../bin/"> <copy todir="${project::get-base-directory()}/../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,46 +1,46 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim.Storage.LocalStorageDb4o" default="build"> <project name="OpenSim.Storage.LocalStorageDb4o" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="library" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll"> <csc target="library" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll">
<resources prefix="OpenSim.Storage.LocalStorageDb4o" dynamicprefix="true" > <resources prefix="OpenSim.Storage.LocalStorageDb4o" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="AssemblyInfo.cs" /> <include name="AssemblyInfo.cs" />
<include name="Db4LocalStorage.cs" /> <include name="Db4LocalStorage.cs" />
<include name="UUIDQuery.cs" /> <include name="UUIDQuery.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="../../bin/Db4objects.Db4o.dll" /> <include name="../../bin/Db4objects.Db4o.dll" />
<include name="../../bin/libsecondlife.dll" /> <include name="../../bin/libsecondlife.dll" />
<include name="../../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" /> <include name="../../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" />
<include name="../../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" /> <include name="../../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
<mkdir dir="${project::get-base-directory()}/../../bin/"/> <mkdir dir="${project::get-base-directory()}/../../bin/"/>
<copy todir="${project::get-base-directory()}/../../bin/"> <copy todir="${project::get-base-directory()}/../../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,109 +1,109 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim" default="build"> <project name="OpenSim" default="build">
<echo message="Using '${nant.settings.currentframework}' Framework"/> <echo message="Using '${nant.settings.currentframework}' Framework"/>
<property name="bin.dir" value="bin" /> <property name="bin.dir" value="bin" />
<property name="obj.dir" value="obj" /> <property name="obj.dir" value="obj" />
<property name="doc.dir" value="doc" /> <property name="doc.dir" value="doc" />
<property name="project.main.dir" value="${project::get-base-directory()}" /> <property name="project.main.dir" value="${project::get-base-directory()}" />
<property name="project.config" value="Release" />
<target name="Debug" description="">
<property name="project.config" value="Debug" /> <target name="Release" description="">
<property name="build.debug" value="true" /> <property name="project.config" value="Release" />
</target> <property name="build.debug" value="false" />
</target>
<property name="project.config" value="Release" />
<target name="Release" description=""> <target name="Debug" description="">
<property name="project.config" value="Release" /> <property name="project.config" value="Debug" />
<property name="build.debug" value="false" /> <property name="build.debug" value="true" />
</target> </target>
<target name="net-1.1" description="Sets framework to .NET 1.1"> <target name="net-1.1" description="Sets framework to .NET 1.1">
<property name="nant.settings.currentframework" value="net-1.1" /> <property name="nant.settings.currentframework" value="net-1.1" />
</target> </target>
<target name="net-2.0" description="Sets framework to .NET 2.0"> <target name="net-2.0" description="Sets framework to .NET 2.0">
<property name="nant.settings.currentframework" value="net-2.0" /> <property name="nant.settings.currentframework" value="net-2.0" />
</target> </target>
<target name="mono-2.0" description="Sets framework to mono 2.0"> <target name="mono-2.0" description="Sets framework to mono 2.0">
<property name="nant.settings.currentframework" value="mono-2.0" /> <property name="nant.settings.currentframework" value="mono-2.0" />
</target> </target>
<target name="mono-1.0" description="Sets framework to mono 1.0"> <target name="mono-1.0" description="Sets framework to mono 1.0">
<property name="nant.settings.currentframework" value="mono-1.0" /> <property name="nant.settings.currentframework" value="mono-1.0" />
</target> </target>
<target name="init" description=""> <target name="init" description="">
<call target="${project.config}" /> <call target="${project.config}" />
<sysinfo /> <sysinfo />
<echo message="Platform ${sys.os.platform}" /> <echo message="Platform ${sys.os.platform}" />
<property name="build.dir" value="${bin.dir}/${project.config}" /> <property name="build.dir" value="${bin.dir}/${project.config}" />
</target> </target>
<target name="clean" description=""> <target name="clean" description="">
<echo message="Deleting all builds from all configurations" /> <echo message="Deleting all builds from all configurations" />
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
<nant buildfile="OpenGridServices.ServerConsole/OpenGridServices.ServerConsole.dll.build" target="clean" /> <nant buildfile="OpenSim.Framework/OpenSim.Framework.dll.build" target="clean" />
<nant buildfile="OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="clean" /> <nant buildfile="OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="clean" />
<nant buildfile="OpenSim.Config/SimConfigDb4o/OpenSim.Config.SimConfigDb4o.dll.build" target="clean" /> <nant buildfile="OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="clean" />
<nant buildfile="OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="clean" /> <nant buildfile="OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="clean" />
<nant buildfile="OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="clean" /> <nant buildfile="OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="clean" />
<nant buildfile="OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="clean" /> <nant buildfile="OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="clean" />
<nant buildfile="OpenSim.Framework/OpenSim.Framework.dll.build" target="clean" /> <nant buildfile="OpenSim.Config/SimConfigDb4o/OpenSim.Config.SimConfigDb4o.dll.build" target="clean" />
<nant buildfile="OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="clean" /> <nant buildfile="OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="clean" />
<nant buildfile="OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="clean" /> <nant buildfile="OpenGridServices.ServerConsole/OpenGridServices.ServerConsole.dll.build" target="clean" />
<nant buildfile="OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="clean" /> <nant buildfile="OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="clean" />
<nant buildfile="OpenSim/OpenSim.exe.build" target="clean" /> <nant buildfile="OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="clean" />
<nant buildfile="OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="clean" /> <nant buildfile="OpenSim/OpenSim.exe.build" target="clean" />
<nant buildfile="OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="clean" /> <nant buildfile="OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="clean" />
<nant buildfile="OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="clean" /> <nant buildfile="OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="clean" />
<nant buildfile="OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="clean" /> <nant buildfile="OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="clean" />
</target> </target>
<target name="build" depends="init" description=""> <target name="build" depends="init" description="">
<nant buildfile="OpenSim.Framework/OpenSim.Framework.dll.build" target="build" /> <nant buildfile="OpenSim.Framework/OpenSim.Framework.dll.build" target="build" />
<nant buildfile="OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="build" /> <nant buildfile="OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="build" />
<nant buildfile="OpenGridServices.ServerConsole/OpenGridServices.ServerConsole.dll.build" target="build" /> <nant buildfile="OpenGridServices.ServerConsole/OpenGridServices.ServerConsole.dll.build" target="build" />
<nant buildfile="OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="build" /> <nant buildfile="OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="build" />
<nant buildfile="OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="build" /> <nant buildfile="OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="build" />
<nant buildfile="OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="build" /> <nant buildfile="OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="build" />
<nant buildfile="OpenSim.Config/SimConfigDb4o/OpenSim.Config.SimConfigDb4o.dll.build" target="build" /> <nant buildfile="OpenSim.Config/SimConfigDb4o/OpenSim.Config.SimConfigDb4o.dll.build" target="build" />
<nant buildfile="OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="build" /> <nant buildfile="OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="build" />
<nant buildfile="OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="build" /> <nant buildfile="OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="build" />
<nant buildfile="OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="build" /> <nant buildfile="OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="build" />
<nant buildfile="OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="build" /> <nant buildfile="OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="build" />
<nant buildfile="OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="build" /> <nant buildfile="OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="build" />
<nant buildfile="OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="build" /> <nant buildfile="OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="build" />
<nant buildfile="OpenSim/OpenSim.exe.build" target="build" /> <nant buildfile="OpenSim/OpenSim.exe.build" target="build" />
<nant buildfile="OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="build" /> <nant buildfile="OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="build" />
</target> </target>
<target name="build-release" depends="Release, init, build" description="Builds in Release mode" /> <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="build-debug" depends="Debug, init, build" description="Builds in Debug mode" />
<target name="package" depends="clean, doc" description="Builds all" /> <target name="package" depends="clean, doc" description="Builds all" />
<target name="doc" depends="build-release"> <target name="doc" depends="build-release">
<echo message="Generating all documentation from all builds" /> <echo message="Generating all documentation from all builds" />
<nant buildfile="OpenGridServices.ServerConsole/OpenGridServices.ServerConsole.dll.build" target="doc" /> <nant buildfile="OpenSim.Framework/OpenSim.Framework.dll.build" target="doc" />
<nant buildfile="OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="doc" /> <nant buildfile="OpenSim.Framework.Console/OpenSim.Framework.Console.dll.build" target="doc" />
<nant buildfile="OpenSim.Config/SimConfigDb4o/OpenSim.Config.SimConfigDb4o.dll.build" target="doc" /> <nant buildfile="OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="doc" />
<nant buildfile="OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="doc" /> <nant buildfile="OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="doc" />
<nant buildfile="OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="doc" /> <nant buildfile="OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="doc" />
<nant buildfile="OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="doc" /> <nant buildfile="OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="doc" />
<nant buildfile="OpenSim.Framework/OpenSim.Framework.dll.build" target="doc" /> <nant buildfile="OpenSim.Config/SimConfigDb4o/OpenSim.Config.SimConfigDb4o.dll.build" target="doc" />
<nant buildfile="OpenGridServices.GridServer/OpenGridServices.GridServer.exe.build" target="doc" /> <nant buildfile="OpenGridServices.UserServer/OpenGridServices.UserServer.exe.build" target="doc" />
<nant buildfile="OpenSim.Physics/OdePlugin/OpenSim.Physics.OdePlugin.dll.build" target="doc" /> <nant buildfile="OpenGridServices.ServerConsole/OpenGridServices.ServerConsole.dll.build" target="doc" />
<nant buildfile="OpenSim.Physics/BasicPhysicsPlugin/OpenSim.Physics.BasicPhysicsPlugin.dll.build" target="doc" /> <nant buildfile="OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="doc" />
<nant buildfile="OpenSim/OpenSim.exe.build" target="doc" /> <nant buildfile="OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="doc" />
<nant buildfile="OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="doc" /> <nant buildfile="OpenSim/OpenSim.exe.build" target="doc" />
<nant buildfile="OpenSim.Physics/Manager/OpenSim.Physics.Manager.dll.build" target="doc" /> <nant buildfile="OpenSim.Storage/LocalStorageDb4o/OpenSim.Storage.LocalStorageDb4o.dll.build" target="doc" />
<nant buildfile="OpenSim.GridInterfaces/Local/OpenSim.GridInterfaces.Local.dll.build" target="doc" /> <nant buildfile="OpenSim.GridInterfaces/Remote/OpenSim.GridInterfaces.Remote.dll.build" target="doc" />
<nant buildfile="OpenSim.Physics/PhysXPlugin/OpenSim.Physics.PhysXPlugin.dll.build" target="doc" /> <nant buildfile="OpenSim.RegionServer/OpenSim.RegionServer.dll.build" target="doc" />
</target> </target>
</project> </project>

View File

@ -1,47 +1,47 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="OpenSim" default="build"> <project name="OpenSim" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE;DEBUG" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe"> <csc target="exe" debug="${build.debug}" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe">
<resources prefix="OpenSim" dynamicprefix="true" > <resources prefix="OpenSim" dynamicprefix="true" >
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="RegionServer.cs" /> <include name="RegionServer.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.dll" /> <include name="System.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="../bin/libsecondlife.dll" /> <include name="../bin/libsecondlife.dll" />
<include name="../bin/Axiom.MathLib.dll" /> <include name="../bin/Axiom.MathLib.dll" />
<include name="../bin/Db4objects.Db4o.dll" /> <include name="../bin/Db4objects.Db4o.dll" />
<include name="../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" /> <include name="../OpenSim.Framework/${build.dir}/OpenSim.Framework.dll" />
<include name="../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" /> <include name="../OpenSim.Framework.Console/${build.dir}/OpenSim.Framework.Console.dll" />
<include name="../OpenSim.Physics/Manager/${build.dir}/OpenSim.Physics.Manager.dll" /> <include name="../OpenSim.Physics/Manager/${build.dir}/OpenSim.Physics.Manager.dll" />
<include name="../OpenSim.RegionServer/${build.dir}/OpenSim.RegionServer.dll" /> <include name="../OpenSim.RegionServer/${build.dir}/OpenSim.RegionServer.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../bin/" />
<mkdir dir="${project::get-base-directory()}/../bin/"/> <mkdir dir="${project::get-base-directory()}/../bin/"/>
<copy todir="${project::get-base-directory()}/../bin/"> <copy todir="${project::get-base-directory()}/../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>

View File

@ -1,67 +1,67 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="Prebuild" default="build"> <project name="Prebuild" default="build">
<echo message="Using '${nant.settings.currentframework}' Framework"/> <echo message="Using '${nant.settings.currentframework}' Framework"/>
<property name="bin.dir" value="bin" /> <property name="bin.dir" value="bin" />
<property name="obj.dir" value="obj" /> <property name="obj.dir" value="obj" />
<property name="doc.dir" value="doc" /> <property name="doc.dir" value="doc" />
<property name="project.main.dir" value="${project::get-base-directory()}" /> <property name="project.main.dir" value="${project::get-base-directory()}" />
<property name="project.config" value="Release" />
<target name="Debug" description="">
<property name="project.config" value="Debug" /> <target name="Release" description="">
<property name="build.debug" value="true" /> <property name="project.config" value="Release" />
</target> <property name="build.debug" value="false" />
</target>
<property name="project.config" value="Release" />
<target name="Release" description=""> <target name="Debug" description="">
<property name="project.config" value="Release" /> <property name="project.config" value="Debug" />
<property name="build.debug" value="false" /> <property name="build.debug" value="true" />
</target> </target>
<target name="net-1.1" description="Sets framework to .NET 1.1"> <target name="net-1.1" description="Sets framework to .NET 1.1">
<property name="nant.settings.currentframework" value="net-1.1" /> <property name="nant.settings.currentframework" value="net-1.1" />
</target> </target>
<target name="net-2.0" description="Sets framework to .NET 2.0"> <target name="net-2.0" description="Sets framework to .NET 2.0">
<property name="nant.settings.currentframework" value="net-2.0" /> <property name="nant.settings.currentframework" value="net-2.0" />
</target> </target>
<target name="mono-2.0" description="Sets framework to mono 2.0"> <target name="mono-2.0" description="Sets framework to mono 2.0">
<property name="nant.settings.currentframework" value="mono-2.0" /> <property name="nant.settings.currentframework" value="mono-2.0" />
</target> </target>
<target name="mono-1.0" description="Sets framework to mono 1.0"> <target name="mono-1.0" description="Sets framework to mono 1.0">
<property name="nant.settings.currentframework" value="mono-1.0" /> <property name="nant.settings.currentframework" value="mono-1.0" />
</target> </target>
<target name="init" description=""> <target name="init" description="">
<call target="${project.config}" /> <call target="${project.config}" />
<sysinfo /> <sysinfo />
<echo message="Platform ${sys.os.platform}" /> <echo message="Platform ${sys.os.platform}" />
<property name="build.dir" value="${bin.dir}/${project.config}" /> <property name="build.dir" value="${bin.dir}/${project.config}" />
</target> </target>
<target name="clean" description=""> <target name="clean" description="">
<echo message="Deleting all builds from all configurations" /> <echo message="Deleting all builds from all configurations" />
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
<nant buildfile="src/Prebuild.exe.build" target="clean" /> <nant buildfile="src/Prebuild.exe.build" target="clean" />
</target> </target>
<target name="build" depends="init" description=""> <target name="build" depends="init" description="">
<nant buildfile="src/Prebuild.exe.build" target="build" /> <nant buildfile="src/Prebuild.exe.build" target="build" />
</target> </target>
<target name="build-release" depends="Release, init, build" description="Builds in Release mode" /> <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="build-debug" depends="Debug, init, build" description="Builds in Debug mode" />
<target name="package" depends="clean, doc" description="Builds all" /> <target name="package" depends="clean, doc" description="Builds all" />
<target name="doc" depends="build-release"> <target name="doc" depends="build-release">
<echo message="Generating all documentation from all builds" /> <echo message="Generating all documentation from all builds" />
<nant buildfile="src/Prebuild.exe.build" target="doc" /> <nant buildfile="src/Prebuild.exe.build" target="doc" />
</target> </target>
</project> </project>

View File

@ -1,80 +1,80 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<project name="Prebuild" default="build"> <project name="Prebuild" default="build">
<target name="build"> <target name="build">
<echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" /> <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
<mkdir dir="${project::get-base-directory()}/${build.dir}" /> <mkdir dir="${project::get-base-directory()}/${build.dir}" />
<copy todir="${project::get-base-directory()}/${build.dir}"> <copy todir="${project::get-base-directory()}/${build.dir}">
<fileset basedir="${project::get-base-directory()}"> <fileset basedir="${project::get-base-directory()}">
</fileset> </fileset>
</copy> </copy>
<csc target="exe" debug="${build.debug}" keyfile="Prebuild.snk" unsafe="False" define="DEBUG;TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe" win32icon="App.ico"> <csc target="exe" debug="${build.debug}" keyfile="Prebuild.snk" unsafe="False" define="TRACE" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.exe" win32icon="App.ico">
<resources prefix="Prebuild" dynamicprefix="true" > <resources prefix="Prebuild" dynamicprefix="true" >
<include name="App.ico" /> <include name="App.ico" />
<include name="data/prebuild-1.7.xsd" /> <include name="data/prebuild-1.7.xsd" />
</resources> </resources>
<sources failonempty="true"> <sources failonempty="true">
<include name="Prebuild.cs" /> <include name="Prebuild.cs" />
<include name="Core/FatalException.cs" /> <include name="Core/FatalException.cs" />
<include name="Core/Kernel.cs" /> <include name="Core/Kernel.cs" />
<include name="Core/UnknownLanguageException.cs" /> <include name="Core/UnknownLanguageException.cs" />
<include name="Core/WarningException.cs" /> <include name="Core/WarningException.cs" />
<include name="Core/Attributes/DataNodeAttribute.cs" /> <include name="Core/Attributes/DataNodeAttribute.cs" />
<include name="Core/Attributes/OptionNodeAttribute.cs" /> <include name="Core/Attributes/OptionNodeAttribute.cs" />
<include name="Core/Attributes/TargetAttribute.cs" /> <include name="Core/Attributes/TargetAttribute.cs" />
<include name="Core/Interfaces/IDataNode.cs" /> <include name="Core/Interfaces/IDataNode.cs" />
<include name="Core/Interfaces/ITarget.cs" /> <include name="Core/Interfaces/ITarget.cs" />
<include name="Core/Nodes/ConfigurationNode.cs" /> <include name="Core/Nodes/ConfigurationNode.cs" />
<include name="Core/Nodes/DataNode.cs" /> <include name="Core/Nodes/DataNode.cs" />
<include name="Core/Nodes/ExcludeNode.cs" /> <include name="Core/Nodes/ExcludeNode.cs" />
<include name="Core/Nodes/FileNode.cs" /> <include name="Core/Nodes/FileNode.cs" />
<include name="Core/Nodes/FilesNode.cs" /> <include name="Core/Nodes/FilesNode.cs" />
<include name="Core/Nodes/MatchNode.cs" /> <include name="Core/Nodes/MatchNode.cs" />
<include name="Core/Nodes/OptionsNode.cs" /> <include name="Core/Nodes/OptionsNode.cs" />
<include name="Core/Nodes/ProcessNode.cs" /> <include name="Core/Nodes/ProcessNode.cs" />
<include name="Core/Nodes/ProjectNode.cs" /> <include name="Core/Nodes/ProjectNode.cs" />
<include name="Core/Nodes/ReferenceNode.cs" /> <include name="Core/Nodes/ReferenceNode.cs" />
<include name="Core/Nodes/ReferencePathNode.cs" /> <include name="Core/Nodes/ReferencePathNode.cs" />
<include name="Core/Nodes/SolutionNode.cs" /> <include name="Core/Nodes/SolutionNode.cs" />
<include name="Core/Parse/IfContext.cs" /> <include name="Core/Parse/IfContext.cs" />
<include name="Core/Parse/Preprocessor.cs" /> <include name="Core/Parse/Preprocessor.cs" />
<include name="Core/Targets/AutotoolsTarget.cs" /> <include name="Core/Targets/AutotoolsTarget.cs" />
<include name="Core/Targets/DebugTarget.cs" /> <include name="Core/Targets/DebugTarget.cs" />
<include name="Core/Targets/MonoDevelopTarget.cs" /> <include name="Core/Targets/MonoDevelopTarget.cs" />
<include name="Core/Targets/NAntTarget.cs" /> <include name="Core/Targets/NAntTarget.cs" />
<include name="Core/Targets/SharpDevelop2Target.cs" /> <include name="Core/Targets/SharpDevelop2Target.cs" />
<include name="Core/Targets/SharpDevelopTarget.cs" /> <include name="Core/Targets/SharpDevelopTarget.cs" />
<include name="Core/Targets/VS2002Target.cs" /> <include name="Core/Targets/VS2002Target.cs" />
<include name="Core/Targets/VS2003Target.cs" /> <include name="Core/Targets/VS2003Target.cs" />
<include name="Core/Targets/VS2005Target.cs" /> <include name="Core/Targets/VS2005Target.cs" />
<include name="Core/Utilities/CommandLineCollection.cs" /> <include name="Core/Utilities/CommandLineCollection.cs" />
<include name="Core/Utilities/CurrentDirectory.cs" /> <include name="Core/Utilities/CurrentDirectory.cs" />
<include name="Core/Utilities/Helper.cs" /> <include name="Core/Utilities/Helper.cs" />
<include name="Core/Utilities/Log.cs" /> <include name="Core/Utilities/Log.cs" />
<include name="Properties/AssemblyInfo.cs" /> <include name="Properties/AssemblyInfo.cs" />
</sources> </sources>
<references basedir="${project::get-base-directory()}"> <references basedir="${project::get-base-directory()}">
<lib> <lib>
<include name="${project::get-base-directory()}" /> <include name="${project::get-base-directory()}" />
<include name="${project::get-base-directory()}/${build.dir}" /> <include name="${project::get-base-directory()}/${build.dir}" />
</lib> </lib>
<include name="System.EnterpriseServices.dll" /> <include name="System.EnterpriseServices.dll" />
<include name="System.Xml.dll" /> <include name="System.Xml.dll" />
<include name="System.dll" /> <include name="System.dll" />
</references> </references>
</csc> </csc>
<echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" /> <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../bin/" />
<mkdir dir="${project::get-base-directory()}/../../bin/"/> <mkdir dir="${project::get-base-directory()}/../../bin/"/>
<copy todir="${project::get-base-directory()}/../../bin/"> <copy todir="${project::get-base-directory()}/../../bin/">
<fileset basedir="${project::get-base-directory()}/${build.dir}/" > <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
<include name="*.dll"/> <include name="*.dll"/>
<include name="*.exe"/> <include name="*.exe"/>
</fileset> </fileset>
</copy> </copy>
</target> </target>
<target name="clean"> <target name="clean">
<delete dir="${bin.dir}" failonerror="false" /> <delete dir="${bin.dir}" failonerror="false" />
<delete dir="${obj.dir}" failonerror="false" /> <delete dir="${obj.dir}" failonerror="false" />
</target> </target>
<target name="doc" description="Creates documentation."> <target name="doc" description="Creates documentation.">
</target> </target>
</project> </project>