2008-04-23 06:44:22 +00:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<project name="OpenSim" default="build">
|
2008-04-23 07:00:07 +00:00
|
|
|
<target name="build">
|
2008-04-23 08:42:15 +00:00
|
|
|
<exec program="mono" commandline="../bin/Prebuild.exe /target nant" />
|
|
|
|
<nant buildfile="../OpenSim.build" target="build" />
|
2008-04-23 07:00:07 +00:00
|
|
|
</target>
|
2008-04-23 06:44:22 +00:00
|
|
|
<target name="cibuild">
|
2008-04-23 07:11:10 +00:00
|
|
|
<property name="projectdir" value="opensim-0.5.5" />
|
2008-04-23 12:14:53 +00:00
|
|
|
<exec program="mono" commandline="bin/Prebuild.exe /target nant" workingdir="../" />
|
2008-04-23 08:42:15 +00:00
|
|
|
<nant buildfile="../OpenSim.build" target="build" />
|
2008-04-23 07:25:08 +00:00
|
|
|
|
2008-04-23 08:42:15 +00:00
|
|
|
<delete dir="../${projectdir}" />
|
|
|
|
<copy todir="../${projectdir}">
|
|
|
|
<fileset basedir="../">
|
2008-04-23 07:25:08 +00:00
|
|
|
<include name="ThirdPartyLicenses/**" />
|
|
|
|
<include name="CONTRIBUTORS.txt" />
|
|
|
|
<include name="README" />
|
|
|
|
<include name="bin/**" />
|
|
|
|
</fileset>
|
|
|
|
</copy>
|
|
|
|
|
2008-04-23 08:42:15 +00:00
|
|
|
<touch file="../${projectdir}/bin/startup_commands.txt" />
|
2008-04-23 07:25:08 +00:00
|
|
|
|
2008-04-23 08:42:15 +00:00
|
|
|
<zip zipfile="../${projectdir}.zip">
|
|
|
|
<fileset basedir="../">
|
2008-04-23 07:25:08 +00:00
|
|
|
<include name="${projectdir}/**" />
|
|
|
|
</fileset>
|
|
|
|
</zip>
|
2008-04-23 08:42:15 +00:00
|
|
|
<tar destfile="../${projectdir}.tar.gz" compression="GZip">
|
|
|
|
<fileset basedir="../">
|
2008-04-23 07:25:08 +00:00
|
|
|
<include name="${projectdir}/**" />
|
|
|
|
</fileset>
|
|
|
|
</tar>
|
|
|
|
|
2008-04-23 08:42: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-04-23 06:44:22 +00:00
|
|
|
</target>
|
|
|
|
</project>
|