mirror of
https://github.com/moparisthebest/MoparClassic
synced 2025-02-28 08:21:52 -05:00
Re-factored according to issue #131
This commit is contained in:
parent
1cf6b9cada
commit
bb49a193f6
@ -4,11 +4,14 @@
|
|||||||
<property name="build" location="build" />
|
<property name="build" location="build" />
|
||||||
<property name="lib" location="lib" />
|
<property name="lib" location="lib" />
|
||||||
<property name="jar" location="ls.jar" />
|
<property name="jar" location="ls.jar" />
|
||||||
|
|
||||||
<target name="build">
|
<target name="clean">
|
||||||
<delete file="${jar}" />
|
<delete file="${jar}" />
|
||||||
<delete dir="${build}" />
|
<delete dir="${build}" />
|
||||||
<mkdir dir="${build}" />
|
<mkdir dir="${build}" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="build">
|
||||||
<javac srcdir="${src}" destdir="${build}" debug="on">
|
<javac srcdir="${src}" destdir="${build}" debug="on">
|
||||||
<classpath>
|
<classpath>
|
||||||
<pathelement location="${lib}/mina.jar" />
|
<pathelement location="${lib}/mina.jar" />
|
||||||
@ -21,12 +24,14 @@
|
|||||||
<pathelement path="${java.class.path}/" />
|
<pathelement path="${java.class.path}/" />
|
||||||
</classpath>
|
</classpath>
|
||||||
</javac>
|
</javac>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="jar" depends="build">
|
||||||
<jar basedir="${build}" destfile="${jar}" />
|
<jar basedir="${build}" destfile="${jar}" />
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
<target name="run" depends="build">
|
<target name="run">
|
||||||
<java classname="org.moparscape.msc.ls.Server" fork="true">
|
<java classname="org.moparscape.msc.ls.Server" fork="true">
|
||||||
<classpath>
|
<classpath>
|
||||||
<pathelement location="${lib}/mina.jar" />
|
<pathelement location="${lib}/mina.jar" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user