diff options
Diffstat (limited to '.nant/local.include')
-rw-r--r-- | .nant/local.include | 71 |
1 files changed, 54 insertions, 17 deletions
diff --git a/.nant/local.include b/.nant/local.include index 5e02665..1e8bedc 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -1,8 +1,59 @@ | |||
1 | <!-- -*- xml -*- --> | 1 | <!-- -*- xml -*- --> |
2 | <!-- please leave the top comment for us emacs folks --> | 2 | <!-- please leave the top comment for us emacs folks --> |
3 | <property name="projectdir" value="opensim-0.5.5" /> | ||
4 | <property name="nunitcmd" value="nunit-console" /> | 3 | <property name="nunitcmd" value="nunit-console" /> |
5 | 4 | ||
5 | <!-- For safety/laziness sake, we're going to take the approach of deleting known extraneous files here rather than | ||
6 | trying to copy across only the essential ones --> | ||
7 | <property name="distbindir" value="distbin" /> | ||
8 | <target name="distbin"> | ||
9 | <copy file="bin/OpenSim.ini.example" tofile="bin/OpenSim.ini"/> | ||
10 | <delete dir="${distbindir}"/> | ||
11 | <!-- <copy file="*" todir="${distbindir}"/> --> | ||
12 | <copy todir="${distbindir}"> | ||
13 | <fileset> | ||
14 | <include name="**"/> | ||
15 | </fileset> | ||
16 | </copy> | ||
17 | <delete dir="${distbindir}/OpenSim"/> | ||
18 | <delete dir="${distbindir}/Prebuild"/> | ||
19 | <delete dir="${distbindir}/%temp%"/> | ||
20 | <delete dir="${distbindir}/.nant"/> | ||
21 | <delete> | ||
22 | <fileset basedir="${distbindir}"> | ||
23 | <include name="Makefile"/> | ||
24 | <include name="nant-color"/> | ||
25 | <include name="OpenSim.*"/> | ||
26 | <include name="prebuild.xml"/> | ||
27 | <include name="runprebuild*"/> | ||
28 | <include name="TESTING.txt"/> | ||
29 | <include name="TestResult.xml"/> | ||
30 | <include name="bin/OpenSim.Server.ini"/> | ||
31 | <include name="bin/Regions/*"/> | ||
32 | <include name="bin/*.db"/> | ||
33 | <include name="**/.git/**"/> | ||
34 | <include name=".gitignore"/> | ||
35 | <include name=".hgignore"/> | ||
36 | </fileset> | ||
37 | </delete> | ||
38 | |||
39 | </target> | ||
40 | |||
41 | <!-- I don't think these targets are being actively used. But just in case, we'll just comment them out for now - justincc --> | ||
42 | <!-- | ||
43 | <property name="projectdir" value="opensim-0.6.9" /> | ||
44 | <target name="dist" depends="distdir"> | ||
45 | <zip zipfile="${projectdir}.zip"> | ||
46 | <fileset basedir="."> | ||
47 | <include name="${projectdir}/**" /> | ||
48 | </fileset> | ||
49 | </zip> | ||
50 | <tar destfile="${projectdir}.tar.gz" compression="GZip"> | ||
51 | <fileset basedir="."> | ||
52 | <include name="${projectdir}/**" /> | ||
53 | </fileset> | ||
54 | </tar> | ||
55 | </target> | ||
56 | |||
6 | <target name="distdir"> | 57 | <target name="distdir"> |
7 | <delete dir="${projectdir}" /> | 58 | <delete dir="${projectdir}" /> |
8 | <copy todir="${projectdir}"> | 59 | <copy todir="${projectdir}"> |
@@ -21,14 +72,14 @@ | |||
21 | <include name="bin/assets/**" /> | 72 | <include name="bin/assets/**" /> |
22 | <include name="bin/data/**" /> | 73 | <include name="bin/data/**" /> |
23 | <include name="bin/OpenSim*xml" /> | 74 | <include name="bin/OpenSim*xml" /> |
24 | <!-- the next is to exclude built libs --> | ||
25 | <exclude name="bin/OpenSim.*dll" /> | ||
26 | <include name="bin/OpenSim.ini" /> | 75 | <include name="bin/OpenSim.ini" /> |
27 | <include name="bin/defaultstripe.png" /> | 76 | <include name="bin/defaultstripe.png" /> |
77 | <exclude name="bin/OpenSim.*dll" /> | ||
28 | </fileset> | 78 | </fileset> |
29 | </copy> | 79 | </copy> |
30 | <touch file="${projectdir}/bin/startup_commands.txt" /> | 80 | <touch file="${projectdir}/bin/startup_commands.txt" /> |
31 | </target> | 81 | </target> |
82 | --> | ||
32 | 83 | ||
33 | <target name="test" depends="build, find-nunit"> | 84 | <target name="test" depends="build, find-nunit"> |
34 | <setenv name="MONO_THREADS_PER_CPU" value="100" /> | 85 | <setenv name="MONO_THREADS_PER_CPU" value="100" /> |
@@ -317,17 +368,3 @@ | |||
317 | <target name="doxygen"> | 368 | <target name="doxygen"> |
318 | <exec program="doxygen" workingdir="doc" commandline="doxygen.conf" /> | 369 | <exec program="doxygen" workingdir="doc" commandline="doxygen.conf" /> |
319 | </target> | 370 | </target> |
320 | |||
321 | |||
322 | <target name="dist" depends="distdir"> | ||
323 | <zip zipfile="${projectdir}.zip"> | ||
324 | <fileset basedir="."> | ||
325 | <include name="${projectdir}/**" /> | ||
326 | </fileset> | ||
327 | </zip> | ||
328 | <tar destfile="${projectdir}.tar.gz" compression="GZip"> | ||
329 | <fileset basedir="."> | ||
330 | <include name="${projectdir}/**" /> | ||
331 | </fileset> | ||
332 | </tar> | ||
333 | </target> | ||