Open main menu

CDOT Wiki β

Changes

User:Minooz/RepoSyncProj/Ant

42 bytes added, 14:32, 14 October 2010
Tutorials
<project name="MyProject" default=“init" basedir=".">
<description> simple example build file </description>
<!-- set global properties for this build --> <property name="src" location="src"/> <property name="build" location="build"/> <target name="init"> <!-- Create the build directory structure used by compile --> <mkdir dir="${build}"/> </target> <target name="compile" depends="init" description="comp-source "> <!-- Compile the java code from ${src} into ${build} --> <javac srcdir="${src}" destdir="${build}"/> </target> <target name="clean" description="clean up" > <!-- Delete the ${build} directory tree --> <delete dir="${build}"/> </target>
</project>
</source>
1
edit