thats all, how can i compile the entire source , and what i need ^^...
<project name="WiimoteWhiteboard" default="run" basedir="."> <property name="src" location="src"/> <property name="lib" location="lib"/> <property name="bin" location="bin"/> <target name="init"> <mkdir dir="${bin}"/> </target> <target name="compile" depends="init"> <javac srcdir="${src}" destdir="${bin}"> <classpath> <fileset dir="${lib}" includes="*.jar"/> <pathelement path="${java.class.path}/"/> </classpath> </javac> </target> <target name="run" depends="compile"> <java dir="${bin}" fork="true" classname="org.uweschmidt.wiimote.whiteboard.WiimoteWhiteboard"> <classpath> <pathelement path="${bin}"/> <pathelement path="${src}"/> <fileset dir="${lib}" includes="*.jar"/> <pathelement path="${java.class.path}/"/> </classpath> </java> </target> <target name="clean"> <delete dir="${bin}"/> </target></project>
because i want to traslate to other languages, is a powerfull tool for students and teachers ...
How do you use the Ant build-script?