[SOLVED] Generate SQL fails
[SOLVED] Generate SQL fails
- Subject: [SOLVED] Generate SQL fails
- From: Rams <email@hidden>
- Date: Mon, 7 Apr 2008 03:21:18 -0400
On Apr 7, 2008, at 2:19 AM, Rams wrote:
I'm trying to Generate SQL to create my tables and it is
failing. My searching leads me to believe it is due to my setup
as described here...
http://wiki.objectstyle.org/confluence/display/WOL/mail/3047829
I'm using:
OS X 10.5
WO 5.4.1
WOLips 3.5?
MySQL 5.0.51a
and Connector J 5.0.8.
Is there a workaround for this issue until there is a fix?
Yes, set up your project linked to the WO5.3.3 frameworks.
Also, does anyone have a rough timetable on when a fix will be
available?
Apple would, but nothing publicly announced.
Wouldn't that require downgrading my entire system to Tiger?
Honestly, that doesn't sound very reasonable. I've been using
Leopard for six months. It would be rather difficult to uninstall/
downgrade now. I think it would be easier to learn enough SQL to
set up tables manually... or is the Generate SQL issue only the
tip of the iceberg?
Search the wiki for a script called "woswitch", it will do
everything for you included downloading and installing the 5.3.3.
frameworks all you need to do is quit eclipse, run the script and
restart eclipse and your done. It doesn't touch any of your
installed frameworks, only downloads some files and modifies your
wolips build properties file.
Ok, I found woswitch at the very bottom of the page here:
http://wiki.objectstyle.org/confluence/display/WO/WO+5.4+Getting+Started
Ran the script and now I have numerous problems. I tried switching
to 53, create an eomodel, generate sql. That worked in generating a
simple entity in the database, I didn't try any relationships. Once
done, I closed the project (without closing eclipse), switched back
to 54, reopened the project, and the entity no longer exists in the
EOModel file. I assume that has something to do with the roughly 38
errors complaining about not being able to resolve the enitity...
I'm guessing I don't have the proper frameworks selected.
In addition to that, previously working apps no longer open
correctly complaining with two errors that:
Invalid classpath container: 'WebObjects Frameworks' in project
'WOLipsTest'
The project cannot be built until build path errors are resolved
So it seems either I'm doing something wrong, or I'm going to need
to select my frameworks anytime I switch between the two... ??
Finally, WOnder is nowhere to be found. I get errors relating to
anything WOnder and even though the frameworks are right where they
were previous to running woswitch.sh, I cannot find them in the
configure build path dialog any longer. I'm guessing that has
something to do with the NEXT_ROOT business mentioned in the wiki,
but I really have no idea how to get it back.
Assistance will be greatly appreciated if anyone can clue me into
what I'm doing wrong...
Posting my solution for posterity... the reason wonder could not be
found is because the wonder frameworks needed to be installed for 5.3
as well. Download the appropriate wonder latest frameworks here:
http://webobjects.mdimension.com/wonder/
Then unpack the 5.3 frameworks and drop them into /Developer/
WebObjects53/Library/Frameworks
As for the other issues, it seems that simply closing the project
isn't enough. I have to close eclipse, change between 53/54 and then
start eclipse back up.
I finally have a working eclipse installation and I am happy at the
moment. I do appreciate everyone's assistance and I thank you all for
your patience as well.
--
Learn how to secure your email
(Mac OS X 10.3+) http://www.joar.com/certificates/
(Windows) http://www.marknoble.com/tutorial/smime/smime.aspx
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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