2007-03-07 23:24:27 +00:00
|
|
|
<?xml version="1.0"?>
|
2007-03-08 00:50:57 +00:00
|
|
|
<project name="ServerConsole" default="build" basedir=".">
|
2007-03-07 23:24:27 +00:00
|
|
|
<property name="debug" value="true" overwrite="false" />
|
|
|
|
<target name="clean" description="remove all generated files">
|
2007-03-07 23:58:50 +00:00
|
|
|
<delete file="../common/bin/ServerConsole.dll" failonerror="false" />
|
|
|
|
<delete file="../common/bin/ServerConsole.dll.mdb" failonerror="false" />
|
2007-03-07 23:24:27 +00:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="svnupdate" description="updates to latest SVN">
|
|
|
|
<exec program="svn">
|
|
|
|
<arg value="update" />
|
|
|
|
</exec>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="upgrade" description="updates from SVN and then builds" depends="clean,svnupdate,build">
|
|
|
|
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="build" description="compiles the source code">
|
|
|
|
|
2007-03-07 23:58:50 +00:00
|
|
|
<loadfile file="../VERSION" property="svnver"/>
|
|
|
|
<asminfo output="AssemblyInfo.cs" language="CSharp">
|
2007-03-07 23:24:27 +00:00
|
|
|
<imports>
|
|
|
|
<import namespace="System" />
|
|
|
|
<import namespace="System.Reflection" />
|
|
|
|
<import namespace="System.Runtime.InteropServices" />
|
|
|
|
</imports>
|
|
|
|
<attributes>
|
|
|
|
<attribute type="ComVisibleAttribute" value="false" />
|
|
|
|
<attribute type="CLSCompliantAttribute" value="false" />
|
|
|
|
<attribute type="AssemblyVersionAttribute" value="${svnver}" />
|
2007-03-07 23:58:50 +00:00
|
|
|
<attribute type="AssemblyTitleAttribute" value="ogs-serverconsole" />
|
2007-03-07 23:24:27 +00:00
|
|
|
<attribute type="AssemblyDescriptionAttribute" value="The default server console" />
|
|
|
|
<attribute type="AssemblyCopyrightAttribute" value="Copyright © OGS development team 2007"/>
|
|
|
|
</attributes>
|
|
|
|
</asminfo>
|
|
|
|
|
2007-03-07 23:58:50 +00:00
|
|
|
<csc target="library" output="../common/bin/ServerConsole.dll" debug="${debug}" verbose="true" warninglevel="4">
|
2007-03-07 23:24:27 +00:00
|
|
|
<references>
|
|
|
|
<include name="System" />
|
|
|
|
<include name="System.Xml" />
|
|
|
|
</references>
|
2007-03-07 23:58:50 +00:00
|
|
|
<sources>
|
2007-03-07 23:24:27 +00:00
|
|
|
<include name="*.cs" />
|
|
|
|
</sources>
|
|
|
|
</csc>
|
|
|
|
</target>
|
|
|
|
</project>
|