2008-09-10 17:49:41 +00:00
|
|
|
<!-- -*- xml -*- -->
|
|
|
|
<!-- please leve the top comment for us emacs folks -->
|
2008-04-23 07:00:07 +00:00
|
|
|
<property name="projectdir" value="opensim-0.5.5" />
|
2007-09-17 11:25:47 +00:00
|
|
|
|
|
|
|
<target name="distdir">
|
|
|
|
<delete dir="${projectdir}" />
|
|
|
|
<copy todir="${projectdir}">
|
2007-09-17 08:46:52 +00:00
|
|
|
<fileset basedir=".">
|
2007-09-17 12:14:23 +00:00
|
|
|
<include name="ThirdPartyLicenses/**" />
|
|
|
|
<include name="CONTRIBUTORS.txt" />
|
2007-09-17 13:06:07 +00:00
|
|
|
<include name="README" />
|
2007-09-17 11:25:47 +00:00
|
|
|
<include name="OpenSim/**/*.cs" />
|
2007-09-17 11:55:09 +00:00
|
|
|
<include name="**/*.build" />
|
|
|
|
<include name="**/*.csproj" />
|
|
|
|
<include name="**/*.csproj.user" />
|
|
|
|
<include name="**/*.sln" />
|
2007-09-17 11:25:47 +00:00
|
|
|
<include name="bin/*.dll" />
|
|
|
|
<include name="bin/*.so" />
|
|
|
|
<include name="bin/*.config" />
|
2007-09-17 11:55:09 +00:00
|
|
|
<include name="bin/assets/**" />
|
2007-09-17 12:14:23 +00:00
|
|
|
<include name="bin/data/**" />
|
|
|
|
<include name="bin/OpenSim*xml" />
|
|
|
|
<!-- the next is to exclude built libs -->
|
2007-09-17 11:55:09 +00:00
|
|
|
<exclude name="bin/OpenSim.*dll" />
|
|
|
|
<include name="bin/OpenSim.ini" />
|
2007-09-17 12:14:23 +00:00
|
|
|
<include name="bin/defaultstripe.png" />
|
2007-09-17 08:46:52 +00:00
|
|
|
</fileset>
|
2007-09-17 11:25:47 +00:00
|
|
|
</copy>
|
2007-09-17 12:14:23 +00:00
|
|
|
<touch file="${projectdir}/bin/startup_commands.txt" />
|
2007-09-17 11:25:47 +00:00
|
|
|
</target>
|
|
|
|
|
2008-09-04 22:24:45 +00:00
|
|
|
<target name="test" depends="build">
|
|
|
|
<nunit2 failonerror="true" verbose="true">
|
|
|
|
<formatter type="Plain" />
|
|
|
|
<test>
|
|
|
|
<assemblies>
|
2008-09-08 20:34:45 +00:00
|
|
|
<include name="./bin/OpenSim.Framework.Tests.dll" />
|
2008-10-06 19:42:03 +00:00
|
|
|
<include name="./bin/OpenSim.Framework.Servers.Tests.dll" />
|
2008-10-09 16:52:33 +00:00
|
|
|
<include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" />
|
2008-09-08 20:34:45 +00:00
|
|
|
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" />
|
|
|
|
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" />
|
2008-09-08 21:08:01 +00:00
|
|
|
<include name="./bin/OpenSim.Region.Environment.Tests.dll" />
|
2008-09-10 17:49:37 +00:00
|
|
|
<include name="./bin/OpenSim.Data.SQLite.Tests.dll" />
|
2008-09-23 18:38:25 +00:00
|
|
|
<include name="./bin/OpenSim.Data.MySQL.Tests.dll" />
|
2008-09-04 22:24:45 +00:00
|
|
|
</assemblies>
|
|
|
|
</test>
|
|
|
|
</nunit2>
|
|
|
|
</target>
|
|
|
|
|
2008-09-10 17:49:37 +00:00
|
|
|
<target name="test-xml" depends="build">
|
|
|
|
<nunit2 failonerror="true" verbose="true">
|
|
|
|
<formatter type="Xml" usefile="true" extension=".xml" outputdir="./test-results" />
|
|
|
|
<test>
|
|
|
|
<assemblies>
|
|
|
|
<include name="./bin/OpenSim.Framework.Tests.dll" />
|
2008-10-06 19:42:03 +00:00
|
|
|
<include name="./bin/OpenSim.Framework.Servers.Tests.dll" />
|
2008-10-09 16:52:33 +00:00
|
|
|
<include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" />
|
2008-09-10 17:49:37 +00:00
|
|
|
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" />
|
|
|
|
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" />
|
|
|
|
<include name="./bin/OpenSim.Region.Environment.Tests.dll" />
|
|
|
|
<include name="./bin/OpenSim.Data.SQLite.Tests.dll" />
|
2008-09-24 23:35:17 +00:00
|
|
|
<include name="./bin/OpenSim.Data.MySQL.Tests.dll" />
|
2008-09-10 17:49:37 +00:00
|
|
|
</assemblies>
|
|
|
|
</test>
|
|
|
|
</nunit2>
|
|
|
|
</target>
|
|
|
|
|
2008-09-11 15:18:02 +00:00
|
|
|
<target name="doxygen">
|
|
|
|
<exec program="doxygen" workingdir="doc" commandline="doxygen.conf" />
|
|
|
|
</target>
|
|
|
|
|
2008-09-10 17:49:37 +00:00
|
|
|
|
2007-09-17 11:25:47 +00:00
|
|
|
<target name="dist" depends="distdir">
|
|
|
|
<zip zipfile="${projectdir}.zip">
|
|
|
|
<fileset basedir=".">
|
|
|
|
<include name="${projectdir}/**" />
|
|
|
|
</fileset>
|
|
|
|
</zip>
|
|
|
|
<tar destfile="${projectdir}.tar.gz" compression="GZip">
|
|
|
|
<fileset basedir=".">
|
|
|
|
<include name="${projectdir}/**" />
|
|
|
|
</fileset>
|
|
|
|
</tar>
|
2007-09-17 08:46:52 +00:00
|
|
|
</target>
|