Hi Anjo,

On Jan 5, 2006, at 1:40 PM, Anjo Krank wrote:
Am 05.01.2006 um 21:58 schrieb Chuck Hill:

but there's no obvious way to link to a specific deployed version of a framework (at least, within Xcode) within a WebObjects Application as there is for a Cocoa app. The thing that this would enable is either being able to deploy/depend on certain compatibility version and/or testing a new version of a framework (e.g., version "C" with a test app) prior to changing the Current symlink to point to "C" for other apps to benefit (if applicable).

AFAIK, this is not handled. It would have to be encoded into the classpath files (MacOSClassPath.txt etc.) and then handled by WOBootStrap when it generates the Java command line (with classpath). I've never seen any indication that this was implemented. I don't know if the WOBootStrap source is available, I don't think so. There is an Open Source alternative (http:// www.objectstyle.org/woproject/articles/WOFLobotomy1/) that could be extended to handle this, but Xcode still won't put the necessary info in the classpath files.

Did you try the argument

-DWOLocalRootDirectory="/Network/Libs/Release37"

in your launch args? Where /Network/Libs/Release37 is what / is on the Mac or $NEXT_ROOT/Local on Solaris....


What you are describing here is a variant of one of the two ways that I use (frameworks in app bundle, and frameworks in a version specific directory). Lachlan's original question was if it was possible to have several versions in the same directory (same .framework directory) as Obj-C apps do.

Chuck


--
Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to