| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 
 | <project name="preproc" 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"/>
	</target>
		
	<target name="task-lib" depends="compile">
		<jar basedir="bin" destfile="preproc.jar" />
	</target>
	
	<target name="demo">
		<taskdef name="preproc" classname="processing.build.PAppletMethods" classpath="preproc.jar" />
		<preproc dir="demo"/>
	</target>
	
	<target name="clean">
		<delete dir="bin" />
		<delete file="preproc.jar" />
	</target>
</project>
 |