Re: Using Frameworks in Frameworks
Re: Using Frameworks in Frameworks
- Subject: Re: Using Frameworks in Frameworks
- From: Jonathan Rochkind <email@hidden>
- Date: Mon, 26 Jan 2004 11:38:46 -0600
All of those frameworks need to be included in the 'classpath' of the
launched WO application. Including all the frameworks in the project
is the easiest/simplest way to get them all in the classpath. There
may be other ways, involving weird hacking in PB/XCode, or manually
editing the various ClassPath files created by the WO build process.
The fact that they all need to be in the 'classpath' is kind of an
artifact of the way Java works and what a framework actually is as
far as Java is concerned---remember a WO app is a Java application!
I suppose there actually are a couple alternatives too---if all your
frameworks are located (on OSX) in /Library/WebObjects/Extensions,
then I think the WO launching architecture should automatically add
them (and everything else in this directory) to the classpath, but
I'm not sure. There may be other hacky ways to get this to work too.
But really, I think it's probably easiest and simplest just to add
all the frameworks to the app project. That's what I do. Hope this
helps,
--Jonathan
At 10:25 AM -0600 1/26/04, Albert Jagnow wrote:
I have a framework I created that uses classes from another framework
someone else created. The other framework is linked into my framework.
When I use my framework with an application it won't work unless I link
the application against the other frameworks used in my framework. Is
this how this is suppose to work? Does the final application need to
have all of the frameworks used anywhere linked to it, or is there a way
to have it automatically pickup the frameworks used by the other
framework?
--Albert
This e-mail (including any attachments) is covered by the Electronic
Communications Privacy Act, 18 USC. 2510-2521. It is confidential and
may be legally privileged. If you are not the intended recipient, you
are hereby notified that any retention, dissemination, distribution, or
copying of this communication is strictly prohibited. Please reply to
the sender that you have received the message in error, and then delete
it. Thank you.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.