forked from TooTallNate/Java-WebSocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
28 lines (23 loc) · 755 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<project default="jar">
<target name="compile">
<mkdir dir="build/classes" />
<mkdir dir="build/examples" />
<javac includeantruntime="false" debug="on" srcdir="src" destdir="build/classes" target="1.5" source="1.5" />
<javac includeantruntime="false" srcdir="example" classpath="build/classes" destdir="build/examples" target="1.5" source="1.5" />
</target>
<target name="jar" depends="compile">
<jar destfile="dist/WebSocket.jar"
basedir="build/classes"
includes="**/*.class"
/>
</target>
<target name="doc">
<delete dir="doc" />
<javadoc sourcepath="src"
destdir="doc"
/>
</target>
<target name="clean">
<delete dir="build"/>
</target>
</project>