2011-05-13 04:24:42 -04:00
|
|
|
<project name="LoginServer" default="build" basedir=".">
|
|
|
|
|
2011-04-27 01:44:26 -04:00
|
|
|
<property name="src" location="src" />
|
|
|
|
<property name="build" location="build" />
|
|
|
|
<property name="lib" location="lib" />
|
|
|
|
<property name="jar" location="ls.jar" />
|
2012-02-06 16:34:31 -05:00
|
|
|
|
|
|
|
<target name="clean">
|
2011-04-27 01:44:26 -04:00
|
|
|
<delete file="${jar}" />
|
|
|
|
<delete dir="${build}" />
|
2012-02-06 16:34:31 -05:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="build">
|
2012-03-14 01:27:38 -04:00
|
|
|
<mkdir dir="${build}" />
|
2011-12-01 22:17:36 -05:00
|
|
|
<javac srcdir="${src}" destdir="${build}" debug="on">
|
2011-05-13 04:24:42 -04:00
|
|
|
<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>
|
2011-04-27 01:44:26 -04:00
|
|
|
</javac>
|
2012-02-06 16:34:31 -05:00
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="jar" depends="build">
|
2011-04-27 01:44:26 -04:00
|
|
|
<jar basedir="${build}" destfile="${jar}" />
|
|
|
|
</target>
|
|
|
|
|
2011-05-13 04:24:42 -04:00
|
|
|
|
2012-03-14 01:27:38 -04:00
|
|
|
<target name="run" depends="jar">
|
2011-05-13 04:24:42 -04:00
|
|
|
<java classname="org.moparscape.msc.ls.Server" fork="true">
|
2011-04-27 01:44:26 -04:00
|
|
|
<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" />
|
2011-11-05 13:06:03 -04:00
|
|
|
<pathelement location="${jar}" />
|
|
|
|
<pathelement path="${java.class.path}/" />
|
2011-04-27 01:44:26 -04:00
|
|
|
</classpath>
|
|
|
|
</java>
|
|
|
|
</target>
|
2011-05-13 04:24:42 -04:00
|
|
|
|
2011-11-05 13:06:03 -04:00
|
|
|
</project>
|