timestamper/build.xml
2011-01-10 00:24:08 -06:00

45 lines
1.1 KiB
XML

<project name="Time Analyzer" default="compile">
<property environment="env"/>
<property file="project.properties"/>
<path id="groovy.lib">
<fileset dir="${env.GROOVY_HOME}/lib">
<include name="*.jar"/>
</fileset>
</path>
<path id="local.compile.lib">
<fileset dir="lib/compile">
<include name="*.jar"/>
</fileset>
</path>
<path id="local.runtime.lib">
<fileset dir="lib/runtime">
<include name="*.jar"/>
</fileset>
</path>
<taskdef name="groovyc" classpathref="groovy.lib"
classname="org.codehaus.groovy.ant.Groovyc"/>
<target name="clean">
<delete dir="build"/>
</target>
<target name="compile">
<mkdir dir="build/main"/>
<groovyc srcdir="src/main" destdir="build/main"
includeAntRuntime="false">
<classpath>
<path refid="groovy.lib"/>
<path refid="local.compile.lib"/>
</classpath>
<javac/>
</groovyc>
</target>
</project>