<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="build-common" default="default">
 
  <property name="lib.dir" value="${basedir}/lib"/>

  <path id="lib.classpath">
      <fileset dir="${lib.dir}">
        <include name="*.jar"/>
      </fileset>
  </path>

  <!-- Groovy task definition -->
  <taskdef name="groovy" 
           classname="org.codehaus.groovy.ant.Groovy"
           classpathref="lib.classpath"/>
            
  <target name="default" depends="groovy"/>

  <target name="groovy">
    <groovy src="template.groovy"/>
  </target>

</project>
