2008-04-23 06:44:22 +00:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<project name="OpenSim" default="build">
|
2008-05-06 22:14:15 +00:00
|
|
|
<target name="build">
|
|
|
|
<exec program="mono" commandline="../bin/Prebuild.exe /target nant" />
|
|
|
|
<nant buildfile="../OpenSim.build" target="build" />
|
|
|
|
</target>
|
|
|
|
<target name="cibuild">
|
2009-02-24 06:23:28 +00:00
|
|
|
<property name="projectdir" value="opensim-0.6.3" />
|
2008-05-06 22:14:15 +00:00
|
|
|
<exec program="mono" commandline="bin/Prebuild.exe /target nant" workingdir="../" />
|
2008-09-10 18:12:02 +00:00
|
|
|
<nant buildfile="../OpenSim.build" target="clean" />
|
2008-05-06 22:14:15 +00:00
|
|
|
<nant buildfile="../OpenSim.build" target="build" />
|
2008-04-23 07:25:08 +00:00
|
|
|
|
2008-05-06 22:14:15 +00:00
|
|
|
<delete dir="../${projectdir}" />
|
|
|
|
<copy todir="../${projectdir}">
|
|
|
|
<fileset basedir="../">
|
|
|
|
<include name="ThirdPartyLicenses/**" />
|
|
|
|
<include name="CONTRIBUTORS.txt" />
|
|
|
|
<include name="README" />
|
|
|
|
<include name="bin/**" />
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
2008-09-08 02:21:18 +00:00
|
|
|
|
2008-09-11 08:25:38 +00:00
|
|
|
<exec program="svn" commandline="info" workingdir="../" output="../${projectdir}/svn.info" />
|
2008-05-06 22:14:15 +00:00
|
|
|
<touch file="../${projectdir}/bin/startup_commands.txt" />
|
2008-04-23 07:25:08 +00:00
|
|
|
|
2008-07-25 05:25:55 +00:00
|
|
|
<!-- Re-create the directory containig test results. -->
|
2008-07-24 05:23:38 +00:00
|
|
|
<delete dir="../test-results" />
|
2008-05-06 22:14:15 +00:00
|
|
|
<mkdir dir="../test-results" />
|
2008-12-22 21:01:56 +00:00
|
|
|
|
2008-12-22 19:03:09 +00:00
|
|
|
<!-- Copy the 64 bit ode library to bin/ for testing. -->
|
2008-12-22 22:15:22 +00:00
|
|
|
<copy file="../bin/Physics/OpenSim.Region.Physics.OdePlugin.dll" tofile="../bin/OpenSim.Region.Physics.OdePlugin.dll" />
|
|
|
|
|
2008-07-25 16:02:08 +00:00
|
|
|
|
2008-07-25 05:25:55 +00:00
|
|
|
<!-- Run the tests. -->
|
2008-11-20 17:38:22 +00:00
|
|
|
<nunit2 failonerror="false" verbose="true">
|
2008-07-24 05:23:38 +00:00
|
|
|
<formatter type="Xml" usefile="true" extension=".xml" outputdir="../test-results" />
|
|
|
|
<test>
|
|
|
|
<assemblies>
|
2009-02-06 21:37:10 +00:00
|
|
|
<include name="../bin/OpenSim.Framework.Tests.dll"/>
|
2008-12-12 20:21:41 +00:00
|
|
|
<include name="../bin/OpenSim.Framework.Communications.Tests.dll"/>
|
2009-02-06 21:37:10 +00:00
|
|
|
<include name="../bin/OpenSim.Framework.Servers.Tests.dll"/>
|
2009-02-12 18:23:05 +00:00
|
|
|
<include name="../bin/OpenSim.Region.ScriptEngine.Tests.dll"/>
|
2009-02-09 15:57:53 +00:00
|
|
|
<include name="../bin/OpenSim.Region.CoreModules.Tests.dll"/>
|
2009-02-06 21:37:10 +00:00
|
|
|
<include name="../bin/OpenSim.Region.Framework.Tests.dll"/>
|
|
|
|
<include name="../bin/OpenSim.Data.SQLite.Tests.dll"/>
|
|
|
|
<include name="../bin/OpenSim.Data.MySQL.Tests.dll"/>
|
|
|
|
<include name="../bin/OpenSim.Region.Physics.OdePlugin.dll"/>
|
2008-12-22 22:15:22 +00:00
|
|
|
|
2008-12-22 19:03:09 +00:00
|
|
|
|
2008-07-24 05:23:38 +00:00
|
|
|
</assemblies>
|
|
|
|
</test>
|
2008-07-25 00:12:54 +00:00
|
|
|
</nunit2>
|
2008-05-18 23:23:39 +00:00
|
|
|
|
2008-05-06 22:14:15 +00:00
|
|
|
<zip zipfile="../${projectdir}.zip">
|
2008-09-07 07:17:46 +00:00
|
|
|
<fileset basedir="../${projectdir}" prefix="${projectdir}">
|
|
|
|
<include name="**/*" />
|
2008-05-06 22:14:15 +00:00
|
|
|
</fileset>
|
|
|
|
</zip>
|
|
|
|
<tar destfile="../${projectdir}.tar.gz" compression="GZip">
|
2008-09-07 07:17:46 +00:00
|
|
|
<fileset basedir="../${projectdir}" prefix="${projectdir}">
|
|
|
|
<include name="**/*" />
|
2008-05-06 22:14:15 +00:00
|
|
|
</fileset>
|
|
|
|
</tar>
|
2008-05-18 23:23:39 +00:00
|
|
|
|
2008-05-06 22:14:15 +00:00
|
|
|
<copy file="../${projectdir}.zip" tofile="/home/buildsystem/public_html/${projectdir}-TRUNK.zip" overwrite="true" />
|
|
|
|
<copy file="../${projectdir}.tar.gz" tofile="/home/buildsystem/public_html/${projectdir}-TRUNK.tar.gz" overwrite="true" />
|
2008-09-08 02:21:18 +00:00
|
|
|
|
2008-09-10 18:14:53 +00:00
|
|
|
<!--
|
2008-05-18 23:23:39 +00:00
|
|
|
<echo message="Generating Doxygen documentation" />
|
|
|
|
<exec program="doxygen" workingdir="../doc" commandline="doxygen.conf" />
|
2008-09-10 18:29:01 +00:00
|
|
|
<exec program="rsync" workingdir="../doc" commandline="-az - - delete html/ /home/afrisby/public_html/docs/html/" />
|
2008-09-10 18:14:53 +00:00
|
|
|
-->
|
2008-09-23 21:02:58 +00:00
|
|
|
<!-- ensure a clean checkout each time -->
|
2008-05-06 22:14:15 +00:00
|
|
|
</target>
|
|
|
|
</project>
|