2012-11-01 04:11:56 +04:00
|
|
|
<project default="all">
|
2010-07-25 00:43:44 +04:00
|
|
|
|
2012-11-01 04:11:56 +04:00
|
|
|
<target name="all" depends="doc,jar" />
|
2010-07-25 00:43:44 +04:00
|
|
|
|
2012-11-01 04:11:56 +04:00
|
|
|
<target name="compile">
|
|
|
|
<mkdir dir="build/classes" />
|
|
|
|
<mkdir dir="build/examples" />
|
|
|
|
<javac includeantruntime="false" debug="on" srcdir="src/main/java"
|
2012-11-01 05:20:53 +04:00
|
|
|
destdir="build/classes" target="1.5" />
|
2012-11-01 04:11:56 +04:00
|
|
|
<javac includeantruntime="false" srcdir="src/main/example/"
|
|
|
|
classpath="build/classes" destdir="build/examples" />
|
|
|
|
</target>
|
2010-07-25 00:43:44 +04:00
|
|
|
|
2012-11-01 04:11:56 +04:00
|
|
|
<target name="jar" depends="compile">
|
|
|
|
<jar destfile="dist/java_websocket.jar">
|
|
|
|
<fileset dir="build/classes" includes="**/*.class" />
|
|
|
|
</jar>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="doc">
|
|
|
|
<delete dir="doc" />
|
|
|
|
<javadoc sourcepath="src/main/java" destdir="doc" />
|
|
|
|
</target>
|
|
|
|
|
|
|
|
<target name="clean">
|
|
|
|
<delete dir="build" />
|
|
|
|
</target>
|
2010-07-25 00:43:44 +04:00
|
|
|
|
|
|
|
</project>
|