diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/LocalStorage/default.build | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/LocalStorage/default.build b/src/LocalStorage/default.build new file mode 100644 index 0000000..e40eae7 --- /dev/null +++ b/src/LocalStorage/default.build | |||
@@ -0,0 +1,53 @@ | |||
1 | <?xml version="1.0"?> | ||
2 | <project name="OpenSim" default="build" basedir="."> | ||
3 | <description>nant buildfile for OpenSim</description> | ||
4 | <property name="debug" value="true" overwrite="false" /> | ||
5 | <target name="clean" description="remove all generated files"> | ||
6 | <delete file="../bin/Db4LocalStorage.dll" failonerror="false" /> | ||
7 | </target> | ||
8 | |||
9 | <target name="svnupdate" description="updates to latest SVN"> | ||
10 | <exec program="svn"> | ||
11 | <arg value="update" /> | ||
12 | </exec> | ||
13 | </target> | ||
14 | |||
15 | <target name="upgrade" description="updates from SVN and then builds" depends="clean,svnupdate,build"> | ||
16 | |||
17 | </target> | ||
18 | |||
19 | <target name="build" description="compiles the source code"> | ||
20 | |||
21 | <loadfile file="../../VERSION" property="svnver"/> | ||
22 | <asminfo output="Db4LocalStorage/AssemblyInfo.cs" language="CSharp"> | ||
23 | <imports> | ||
24 | <import namespace="System" /> | ||
25 | <import namespace="System.Reflection" /> | ||
26 | <import namespace="System.Runtime.InteropServices" /> | ||
27 | </imports> | ||
28 | <attributes> | ||
29 | <attribute type="ComVisibleAttribute" value="false" /> | ||
30 | <attribute type="CLSCompliantAttribute" value="false" /> | ||
31 | <attribute type="AssemblyVersionAttribute" value="${svnver}" /> | ||
32 | <attribute type="AssemblyTitleAttribute" value="opensim-localstorage" /> | ||
33 | <attribute type="AssemblyDescriptionAttribute" value="The local storage handler" /> | ||
34 | <attribute type="AssemblyCopyrightAttribute" value="Copyright © OGS development team 2007"/> | ||
35 | </attributes> | ||
36 | </asminfo> | ||
37 | |||
38 | <csc target="library" output="../../bin/Db4LocalStorage.dll" debug="${debug}" verbose="true" warninglevel="4"> | ||
39 | <references basedir="../../bin/" failonempty="true"> | ||
40 | <include name="System" /> | ||
41 | <include name="System.Data" /> | ||
42 | <include name="System.Xml" /> | ||
43 | <include name="libsecondlife.dll" /> | ||
44 | <include name="GridInterfaces.dll" /> | ||
45 | <include name="ServerConsole.dll" /> | ||
46 | <include name="Db4objects.Db4o.dll" /> | ||
47 | </references> | ||
48 | <sources basedir="Db4LocalStorage/"> | ||
49 | <include name="*.cs" /> | ||
50 | </sources> | ||
51 | </csc> | ||
52 | </target> | ||
53 | </project> | ||