view middlegen-ant.xml @ 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
children
line wrap: on
line source
<?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>