Re: WebObjects 4.5.1 & Tiger?
Re: WebObjects 4.5.1 & Tiger?
- Subject: Re: WebObjects 4.5.1 & Tiger?
- From: Dana Kashubeck <email@hidden>
- Date: Wed, 11 Jan 2006 14:17:43 -0500
Patrick Middleton wrote:
There is a Known Hack for getting WO451 Developer working on Jaguar --
see also
http://www.wodeveloper.com/omniLists/webobjects-talk/2005/June/msg00028.html
"WO451 on Jaguar/Panther/Tiger [was: Re: Side effect of OSX on Intel
announcement]".
Yup! Using it to develop on Jaguar; very cool to know that the same
steps will work for Tiger. I thought they might, but I hadn't tested it
yet. I know in XCode you can compile using different versions of the
frameworks (Foundation is mainly what I'm concerned about); is that
possible here? Although, if you are deploying on Tiger, it doesn't
really matter. Hmmmmm.
My experience is that this works well even in deployment -- for pure
ObjC woapps only. No Java (if you want the Java version of WebObjects,
you know where to find it), and no WebScript either. The lack of
WebScript means that out-of-the-box you can't use Monitor or wotaskd
either, and you have to very careful about using WOExtensions.
We don't make much use of WOExtensions, so that should be easy. I think
I've already rewritten what we do use because I wanted more
functionality. It's Monitor and wotaskd that were getting to me;
although not necessary for development.
It's then possible to do the same thing with Monitor.woa and
wotaskd.woa! I wrote shell scripts to detect .wos files inside useful
woapps and woframeworks, generate stub ObjC classes with as much code
completed as possible, and tar/gzip the .wos files in place. I found
'nm', 'otool' and 'class-dump' very useful while doing this. I then
built a compatibilty framework for each useful woapp or woframework,
and I now inject these at runtime using the -WOLoadFrameworks default.
I will have to look into this. You got Monitor and wotaskd to work this
way?! That would be more than I hoped for! Thanks for the information!
The Monitor private framework implements a class MSiteConfig and an
instance method - (BOOL)saveLocalArchive was printing out lots of
messages "Failed to save local site config. Is %@ writeable ?"
referring to /Library/WebObjects/Configuration/SiteConfig.conf . The
implementation appears to use -[NSDictionary writeToFile:atomically:]
and this was always returning NO. I devised a plausible equivalent
category implementation using -[NSString writeToFile:atomically:] on
the return value from -[NSDictionary description].
Will look at this, too.
All the above was a fair bit of work -- but I have a bunch of apps,
including wotaskd and Monitor, apparently happily deployed on 10.4.3.
So cool -- I never expected to hear that you could /deploy/ on Tiger.
Hope this helps!
Big time. Thanks!
--
-------------------------------------
Dana Kashubeck
Systems Manager
Riemer Reporting Service Inc.
http://www.riemer.com
Phone: 440-835-2477 x. 125
Fax: 440-835-4594
-------------------------------------
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