<?xml version="1.0" encoding="utf-8" ?>
<project name="Java-WebSocket" default="jar" basedir=".">

    <target name="compile" description="Compile source">
        <mkdir dir="bin" />
	<javac srcdir="src" classpath="lib/cordova-1.9.0.jar;lib/android.jar" includes="**" destdir="bin" />
    </target>

    <target name="jar" description="Package into JAR" depends="compile">
        <jar destfile="websocket-cordova-plugin-1.0-SNAPSHOT.jar" basedir="bin" compress="true" />
    </target>
</project>