Re: EOGenerator... no results?
Re: EOGenerator... no results?
- Subject: Re: EOGenerator... no results?
- From: Chuck Hill <email@hidden>
- Date: Wed, 13 Jul 2005 10:45:50 -0700
Hi Joe,
I usually use a script to run EOGenerator and spell things out for
it. You can then set this script to run as the first stage in the
Application Server build phase.
#!/bin/tcsh
setenv EOGENERATOR ~/bin/eogenerator
setenv EOGEN_ARGS "-package -java -verbose -destination Generated -
subclassDestination src -javaTemplate Developer/EOGenerator/
JavaSourceEOF52.eotemplate -subclassJavaTemplate Developer/
EOGenerator/JavaSubclassSourceEOF5.eotemplate -define-EOSuperClass
com.webobjects.EOGenericRecord"
setenv MODEL_ARGS "-model MainModel.eomodeld"
setenv REF_MODELS "-refmodel /Library/Frameworks/Prototypes.framework/
Resources/Prototypes.eomodeld -refmodel OtherModel.eomodeld"
$EOGENERATOR $EOGEN_ARGS $MODEL_ARGS $REF_MODELS
Chuck
On Jul 12, 2005, at 10:21 PM, Joe Little wrote:
Ok. In the hopes of using EOGenerator on a WO 5.3 development system,
I grabbed the latest release and attempted to use it, placing the
.eotemplate files in /Developer/EOGenerator. Well, executing
"eogenerator -model sample.emodeld" results in no generated java code.
Not sure what else to do, but running verbose simply shows the
template search path and nothing else.
Perhaps I'm missing something, or perhaps EOGenerator can't generate a
model from 5.3? Being that the model file seems to be the same as 5.2,
I'm unsure of what could be going wrong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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