opensim – Rev 1

Subversion Repositories:
Rev:
<?xml version="1.0" ?>
<project name="OpenSim.Tests.Common" default="build">
          <target name="build">
                  <echo message="Build Directory is ${project::get-base-directory()}/${build.dir}" />
                  <mkdir dir="${project::get-base-directory()}/${build.dir}" />
                  <csc  target="library" debug="${build.debug}" platform="${build.platform}" unsafe="False" warnaserror="False" define="TRACE;DEBUG" nostdlib="False" main="" output="${project::get-base-directory()}/${build.dir}/${project::get-name()}.dll" noconfig="true">
                          <resources prefix="OpenSim.Tests.Common" dynamicprefix="true" >
                          </resources>
                          <sources failonempty="true">
                                  <include name="ANumericalToleranceConstraint.cs" />
                                  <include name="DatabaseTestAttribute.cs" />
                                  <include name="DoubleToleranceConstraint.cs" />
                                  <include name="LongRunningAttribute.cs" />
                                  <include name="OpenSimTestCase.cs" />
                                  <include name="QuaternionToleranceConstraint.cs" />
                                  <include name="TestHelpers.cs" />
                                  <include name="TestLogging.cs" />
                                  <include name="VectorToleranceConstraint.cs" />
                                  <include name="Helpers/AssetHelpers.cs" />
                                  <include name="Helpers/BaseRequestHandlerHelpers.cs" />
                                  <include name="Helpers/EntityTransferHelpers.cs" />
                                  <include name="Helpers/SceneHelpers.cs" />
                                  <include name="Helpers/TaskInventoryHelpers.cs" />
                                  <include name="Helpers/UserAccountHelpers.cs" />
                                  <include name="Helpers/UserInventoryHelpers.cs" />
                                  <include name="Mock/BaseAssetRepository.cs" />
                                  <include name="Mock/MockAssetDataPlugin.cs" />
                                  <include name="Mock/MockGroupsServicesConnector.cs" />
                                  <include name="Mock/MockRegionDataPlugin.cs" />
                                  <include name="Mock/MockScriptEngine.cs" />
                                  <include name="Mock/TestClient.cs" />
                                  <include name="Mock/TestEventQueueGetModule.cs" />
                                  <include name="Mock/TestInventoryDataPlugin.cs" />
                                  <include name="Mock/TestLandChannel.cs" />
                                  <include name="Mock/TestOSHttpRequest.cs" />
                                  <include name="Mock/TestOSHttpResponse.cs" />
                                  <include name="Mock/TestScene.cs" />
                                  <include name="Mock/TestXInventoryDataPlugin.cs" />
                          </sources>
                          <references basedir="${project::get-base-directory()}">
                                  <lib>
                                          <include name="${project::get-base-directory()}" />
                                          <include name="${project::get-base-directory()}/../../../bin" />
                                  </lib>
                <include name="../../../bin/HttpServer_OpenSim.dll"/>
                <include name="../../../bin/log4net.dll"/>
                <include name="../../../bin/Mono.Addins.dll"/>
                <include name="../../../bin/Nini.dll"/>
                <include name="../../../bin/nunit.framework.dll"/>
                <include name="../../../bin/OpenMetaverse.dll"/>
                <include name="../../../bin/OpenMetaverse.StructuredData.dll"/>
                <include name="../../../bin/OpenMetaverseTypes.dll"/>
                <include name="OpenSim.Data.dll" />
                <include name="OpenSim.Data.Null.dll" />
                <include name="OpenSim.Framework.dll" />
                <include name="OpenSim.Framework.Communications.dll" />
                <include name="OpenSim.Framework.Console.dll" />
                <include name="OpenSim.Framework.Servers.dll" />
                <include name="OpenSim.Framework.Servers.HttpServer.dll" />
                <include name="OpenSim.Region.ClientStack.LindenCaps.dll" />
                <include name="OpenSim.Region.CoreModules.dll" />
                <include name="OpenSim.Region.Framework.dll" />
                <include name="OpenSim.Region.OptionalModules.dll" />
                <include name="OpenSim.Region.Physics.Manager.dll" />
                <include name="OpenSim.Region.ScriptEngine.Shared.dll" />
                <include name="OpenSim.Server.Base.dll" />
                <include name="OpenSim.Services.Interfaces.dll" />
                <include name="System.dll" />
                <include name="System.Core.dll" />
                <include name="System.Data.dll" />
                <include name="System.Drawing.dll" />
                <include name="System.Web.dll" />
                <include name="System.Xml.dll" />
                          </references>
                  </csc>
        <echo message="Copying from [${project::get-base-directory()}/${build.dir}/] to [${project::get-base-directory()}/../../../bin/" />
        <mkdir dir="${project::get-base-directory()}/../../../bin/"/>
        <copy todir="${project::get-base-directory()}/../../../bin/">
            <fileset basedir="${project::get-base-directory()}/${build.dir}/" >
                <include name="*.dll"/>
                <include name="*.exe"/>
                <include name="*.mdb" if='${build.debug}'/>
                <include name="*.pdb" if='${build.debug}'/>
            </fileset>
        </copy>
          </target>
          <target name="clean">
                  <delete dir="${bin.dir}" failonerror="false" />
                  <delete dir="${obj.dir}" failonerror="false" />
          </target>
          <target name="doc" description="Creates documentation.">
          </target>
</project>