mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-30 11:24:12 +01:00
29 lines
802 B
XML
29 lines
802 B
XML
|
<project name="methods" default="task-lib">
|
||
|
|
||
|
<target name="compile">
|
||
|
<mkdir dir="bin" />
|
||
|
<!-- <javac target="1.5" srcdir="src" destdir="bin" classpath="../ant/ant.jar" debug="true"/>-->
|
||
|
<!-- <javac target="1.5" srcdir="src" destdir="bin" classpath="/usr/share/ant/ant.jar" debug="true"/>-->
|
||
|
<javac target="1.5"
|
||
|
srcdir="src" destdir="bin"
|
||
|
debug="true"
|
||
|
includeantruntime="true" />
|
||
|
</target>
|
||
|
|
||
|
<target name="task-lib" depends="compile">
|
||
|
<jar basedir="bin" destfile="methods.jar" />
|
||
|
</target>
|
||
|
|
||
|
<target name="demo">
|
||
|
<taskdef name="methods"
|
||
|
classname="PAppletMethods"
|
||
|
classpath="methods.jar" />
|
||
|
<preproc dir="demo"/>
|
||
|
</target>
|
||
|
|
||
|
<target name="clean">
|
||
|
<delete dir="bin" />
|
||
|
<delete file="methods.jar" />
|
||
|
</target>
|
||
|
</project>
|