Re: EOGenerator... no results?
Re: EOGenerator... no results?
- Subject: Re: EOGenerator... no results?
- From: Chuck Hill <email@hidden>
- Date: Wed, 13 Jul 2005 13:57:22 -0700
Check the EOGenerator docs. :-) REF_MODELS aka -refmodel
EOGenerator param points to models that are referenced by the model
being generated. They are optional. The models referenced below are
for example only and are a figment of my imagination and NDA
restrictions.
Chuck
On Jul 13, 2005, at 1:47 PM, Joe Little wrote:
The only thing that I don't have nor understand is the REF_MODELS
(don't have that framework). Perhaps this is because this is an
non-upgraded 5.3?
On 7/13/05, Chuck Hill <email@hidden> wrote:
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
--
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