Commit 47402e14 authored by Kotaro Terada's avatar Kotaro Terada

Upload build.xml

parent 25ea6ad5
<?xml version="1.0"?>
<project default="main">
<property name="message" value="Building the .jar file."/>
<property name="src" location="src"/>
<property name="output" location="bin"/>
<property name="jarout" location="library"/>
<property name="jarname" value="ARDroneForP5.jar"/>
<property name="packagename" value="com/shigeodayo/ardrone"/>
<target name="main" depends="clean, init, compile, compress">
<echo>
${message}
</echo>
</target>
<target name="clean">
<delete dir="${output}"/>
<delete file="${jarout}/${jarname}"/>
</target>
<target name="init">
<mkdir dir="${output}"/>
</target>
<target name="compile">
<javac includeantruntime="false" srcdir="${src}" destdir="${output}" classpath="lib/core.jar;lib/commons-net-3.6.jar;lib/xuggle-xuggler-5.4.jar">
<compilerarg value="-Xlint:deprecation"/>
</javac>
</target>
<target name="compress">
<jar destfile="${jarout}/${jarname}" basedir="${output}" includes="${packagename}/**" >
<fileset dir="./">
<include name="lib/core.jar"/>
<!--<include name="lib/slf4j-api-1.7.2.jar"/>
<include name="lib/slf4j-jdk14-1.7.2.jar"/>
<include name="lib/commons-net-3.2.jar"/>
<include name="lib/xuggle-xuggler-5.4.jar"/>-->
</fileset>
</jar>
</target>
</project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment