diff src/Collatz.java.ant.xml @ 0:307a81e46071 tip

initial committ
author Robert McIntyre <rlm@mit.edu>
date Tue, 18 Oct 2011 01:17:49 -0700
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/Collatz.java.ant.xml	Tue Oct 18 01:17:49 2011 -0700
     1.3 @@ -0,0 +1,16 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +      <project name="collatz" basedir="." default="default">
     1.6 +      <property name="build" location=".build" />
     1.7 +      <property name="srcfolder" value="src" />
     1.8 +      <property name="code.classes" location="${build}/classes" />
     1.9 +      <property name="code.sources" location="${srcfolder}" />
    1.10 +      <dirset id="srcdir" dir="." includes="src" />
    1.11 +      <path id="lib.path"><pathelement path="${code.classes}" /></path>
    1.12 +      <target name="compile">
    1.13 +      	      <mkdir dir="${code.classes}" />
    1.14 +	      	     <javac srcdir="${code.sources}" destdir="${code.classes}" classpathref="lib.path" target="1.5" encoding="utf-8" />
    1.15 +		     </target>
    1.16 +		     <target name="default" >
    1.17 +		     	     <antcall target="compile" />
    1.18 +			     </target>
    1.19 +</project>