changeset 59:6d4f61230dfb

CSADM-594: Addition of middlegen-ant script for middlegen and hbm2java tasks used in SOES build.
author Joe Ferrall <ferrall@nwoca.org>
date Tue, 26 Jul 2011 10:39:32 -0400
parents f7f21e9d2296
children 5bf585a38400
files middlegen-ant.xml
diffstat 1 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/middlegen-ant.xml	Tue Jul 26 10:39:32 2011 -0400
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="middlegen-ant" basedir="." xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
+       
+    <target name="-middlegen-init" depends="init">
+                
+        <ivy:settings id="middlegen.ivy.id"/>
+        <ivy:resolve id="middlegen.ivy.id" conf="middlegen-ant" />
+        <ivy:cachepath
+            resolveId="middlegen.ivy.id"
+            pathid="middlegen.classpath"
+            conf="middlegen-ant" 
+            type="jar"/>
+
+        <taskdef classname="middlegen.MiddlegenTask" classpathref="middlegen.classpath" name="middlegen"/>
+        <taskdef classname="net.sf.hibernate.tool.hbm2java.Hbm2JavaTask" classpathref="middlegen.classpath" name="hbm2java"/>
+
+        <property name="middlegen.initialized" value="true"/>
+        
+    </target>
+
+</project>