Re: EOGenerator... no results?
Re: EOGenerator... no results?
- Subject: Re: EOGenerator... no results?
- From: Chuck Hill <email@hidden>
- Date: Wed, 13 Jul 2005 17:18:19 -0700
Should not be that, EOGenerator has nothing to do with the SQL side
of things. Loading the model might load the drivers and if that
failed... Other than that I am out of guesses.
Chuck
On Jul 13, 2005, at 4:40 PM, Joe Little wrote:
It did have an "int identity" type for primary key that I edited to
just int to get EOModeler to show the correct SQL. Perhaps there is
something else there that needs to be done to clean out some
MS-specific additions to standard schema.
On 7/13/05, Chuck Hill <email@hidden> wrote:
Odd, I've never seen it die without at least whimpering a little.
Did the model for MSSQL use any other models? Anything much
different about it?
Chuck
On Jul 13, 2005, at 2:40 PM, Joe Little wrote:
I was just confirming. It would seem that something is amiss w/ a
MSSQL derived model file, and it wasn't generating any errors --
just
dying silently. I was able to use postgresql-derived model and that
works. Perhaps there are known issues with EOGenerator and MSSQL.
Having now output and just dying seems weak :)
On 7/13/05, Chuck Hill <email@hidden> wrote:
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 (Webobjects-
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
--
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