aboutsummaryrefslogtreecommitdiff
path: root/id.templates/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'id.templates/build.xml')
-rw-r--r--id.templates/build.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/id.templates/build.xml b/id.templates/build.xml
new file mode 100644
index 000000000..696616eaa
--- /dev/null
+++ b/id.templates/build.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<!--
+
+ Ant Buildfile for MOA ID templates component
+
+ $Id$
+
+-->
+<project name="id.templates" default="package" basedir=".">
+ <property name="tmp" value="tmp"/>
+ <property name="dist" value="${tmp}/dist"/>
+
+ <!-- set up directories etc. -->
+ <target name="init">
+ <tstamp/>
+ <echo>Time (hhmm): ${TSTAMP}</echo>
+ <mkdir dir="${tmp}"/>
+ <mkdir dir="${dist}"/>
+ </target>
+
+ <!-- package templates.war -->
+ <target name="package" depends="init">
+ <war warfile="${dist}/moaid-templates.war" webxml="web.xml">
+ <fileset dir="html"/>
+ </war>
+ </target>
+
+ <!-- clean temporary files -->
+ <target name="clean">
+ <delete dir="${tmp}"/>
+ </target>
+</project>