Setting up ERPrototypes
Other frameworks such as ERCoreLogicFramework
have EOModels that depend on the EOProtypes framework. It is important to set up
ERPrototypes to match the database vendor that you are using.....
Update 01/15/2007: These
instructions are no longer valid for the latest version of WOnder frameworks.
Use Eclipse and Entity Modeler
instead.Assuming you have
downloaded
the Wonder source from CVS, you will find general instructions at
this
path:~/Wonder/Common/Frameworks/ERPrototypes/Documentation/PrototypesHowTo.htmlWARNING:
Never open an EOModel from the finder ... prototypes from other frameworks will
get lost.
Always
open the eomodel file from within the XCode or Eclipse
project.In my case, I am using MySQL
exclusively for WebObjects and I do not use ERPrototypes in my own applications
since I already have my own prototypes entity that I established before I
adopted Project Wonder. So, I did the
following:1. I deleted EOPrototypes
entity2. I made a copy of
EOJDBCMysqlPrototypes and renamed it
EOPrototypes3. I save the erprototypes
model4. Note that whenever you edit and save
an eomodel, EOModeler creates a backup copy for you ending with a tilde ( ~ )
character in the same folder. So delete that backup file before you build the
project.I then rebuilt and reinstalled
the project
Posted: Friday - July 29, 2005 at 11:26 AM