mirror of
https://github.com/moparisthebest/MoparClassic
synced 2024-11-12 04:05:12 -05:00
51 lines
1.5 KiB
XML
51 lines
1.5 KiB
XML
<project default="compile" basedir=".">
|
|
|
|
<property name="src" location="src" />
|
|
<property name="build" location="build" />
|
|
<property name="lib" location="lib" />
|
|
<property name="jar" location="ls.jar" />
|
|
<property name="settings" location="settings.ini" />
|
|
|
|
<target name="compile">
|
|
<delete file="${jar}" />
|
|
<delete dir="${build}" />
|
|
<mkdir dir="${build}" />
|
|
<javac srcdir="${src}" destdir="${build}" debug="on" target="1.5">
|
|
<classpath>
|
|
<pathelement location="${lib}/mina.jar" />
|
|
<pathelement location="${lib}/xpp3.jar" />
|
|
<pathelement location="${lib}/slf4j.jar"/>
|
|
|
|
|
|
<pathelement location="${lib}/xstream.jar"/>
|
|
<pathelement location="${lib}/mysql-connector.jar" />
|
|
<pathelement location="${lib}/hex-string.jar" />
|
|
|
|
<pathelement path="${java.class.path}/"/>
|
|
</classpath>
|
|
</javac>
|
|
<jar basedir="${build}" destfile="${jar}" />
|
|
|
|
</target>
|
|
|
|
|
|
<target name="runls">
|
|
<java classname="rsca.ls.Server" fork="true">
|
|
<jvmarg value="-Xms128m" />
|
|
<jvmarg value="-Xmx512m" />
|
|
<arg value="ls.conf" />
|
|
<classpath>
|
|
<pathelement location="${lib}/mina.jar" />
|
|
<pathelement location="${lib}/xpp3.jar" />
|
|
<pathelement location="${lib}/pircbot.jar" />
|
|
<pathelement location="${lib}/slf4j.jar" />
|
|
<pathelement location="${lib}/xstream.jar" />
|
|
<pathelement location="${lib}/mysql-connector.jar" />
|
|
<pathelement location="${lib}/hex-string.jar" />
|
|
<pathelement path="${jar}/" />
|
|
</classpath>
|
|
</java>
|
|
</target>
|
|
|
|
</project>
|