Author: msacks
Date: Tue Jan 4 23:17:42 2011
New Revision: 1055239
URL: http://svn.apache.org/viewvc?rev=1055239&view=rev
Log:
added working build.xml for those wanting to build the project with ant.
You will need to edit the line:
<fileset dir="/Users/msacks/groovy-1.7.4/lib">
to point to your Groovy libraries.
Added:
incubator/kitty/trunk/build.xml (with props)
Added: incubator/kitty/trunk/build.xml
URL:
http://svn.apache.org/viewvc/incubator/kitty/trunk/build.xml?rev=1055239&view=auto
==============================================================================
--- incubator/kitty/trunk/build.xml (added)
+++ incubator/kitty/trunk/build.xml Tue Jan 4 23:17:42 2011
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="kitty" default="default" basedir='.'>
+ <description>
+ This is the Apache Kitty build script.
+ Apache Kitty is an open source implementation of JSR-160.
+ </description>
+
+ <!-- Global properties for the build -->
+
+ <loadproperties srcFile="build.properties" />
+
+ <property name="src" location="src" />
+ <property name="build" location="build" />
+ <property name="deploy" location="deploy" />
+
+ <path id="java.classpath">
+ <!-- etc -->
+ </path>
+
+ <path id="groovy.classpath">
+ <fileset dir="/Users/msacks/groovy-1.7.4/lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ </path>
+
+ <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc"
classpathref="groovy.classpath" />
+
+ <target name="default" depends="init, compile">
+
+ </target>
+
+ <target name="init">
+ <!-- timestamp of build -->
+ <tstamp />
+ <!-- create the build and deploy directories -->
+ <mkdir dir="${build}" />
+ <mkdir dir="${deploy}" />
+ </target>
+
+ <target name="compile" depends="init">
+ <groovyc srcdir="${src}" destdir="${build}">
+ <javac srcdir="${src}"
+ destdir="${build}"
+ classpath="${java.classpath}"
+ debug="on"
+ />
+ </groovyc>
+ </target>
+
+</project>
Propchange: incubator/kitty/trunk/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/kitty/trunk/build.xml
------------------------------------------------------------------------------
svn:executable = *
Propchange: incubator/kitty/trunk/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain