Re: eogenerate ant task?
Re: eogenerate ant task?
- Subject: Re: eogenerate ant task?
- From: Stefan Klein <email@hidden>
- Date: Fri, 17 Oct 2008 09:27:31 +0200
Hi Ash,
here is the ant task i use to generate the eo classes:
<!-- optional targets -->
<target name="generate.eos.hortigate" depends="setProps">
<property name="eogenerator.model"
value="./Resources/hortigate.eomodeld"/>
<property name="eogenerator.superclassname"
value="de.sde.hortigate.bo.common.HortigateObject"/>
<property name="eogenerator.superclasspackage"
value="de.sde.hortigate.bo"/>
<property name="eogenerator.destination"
value="./Sources/de/sde/hortigate/bo"/>
<property name="eogenerator.refmodel"
value="./Resources/laender.eomodeld"/>
<property name="eogenerator.home"
value="${wo.wolocalroot}/Developer/Executables" />
<exec executable="${eogenerator.home}/eogenerator.exe">
<arg value="-model" />
<arg path="${eogenerator.model}" />
<arg value="-refmodel" />
<arg path="${eogenerator.refmodel}" />
<arg value="-destination" />
<arg path="${eogenerator.destination}" />
<arg value="-subclassDestination" />
<arg path="${eogenerator.destination}/impl" />
<arg value="-templatedir" />
<arg path="./eogen.templates" />
<arg value="-javaTemplate" />
<arg value="SuperclassSource.eotemplate" />
<arg value="-subclassJavaTemplate" />
<arg value="SubclassSource.eotemplate" />
<arg value="-java" />
<arg value="-define-EOGenericRecord" />
<arg value="${eogenerator.superclassname}" />
<arg value="-define-SuperClassPackage" />
<arg value="${eogenerator.superclasspackage}" />
</exec>
</target>
Stefan
Ash Mishra schrieb:
Hi all,
I'm wondering if there is an Ant task for WOLips's eogenerator that
can be included in the build.xml of a project?
I'm using wolips 3.3 and Eclipse 3.3.1.
Right now I have a .eogen file, which I manually can run in Eclipse to
generate my entity classes. Is there a way to automate this as a
target in build.xml?
thanks
Ash
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden