Re: Frameworks and applications
Re: Frameworks and applications
- Subject: Re: Frameworks and applications
- From: Chuck Hill <email@hidden>
- Date: Fri, 28 Mar 2008 10:19:55 -0700
On Mar 28, 2008, at 5:27 AM, Q wrote:
On 28/03/2008, at 5:31 PM, Chris Meyer wrote:
An email from earlier today pushed me to split my model out into
its own framework. I needed to do this anyway since I'm adding
another application that uses the same model.
My question is: Is there a way to set up dependencies in Eclipse so
that building my application automatically builds the framework and
installs it?
Does my framework need to be installed in /Library/Frameworks for
my application to see it? Or is there a better place to build it
and reference to it from my application?
Corollary: Is any way to get the "Install" menu item on my
framework to appear in the toolbar?
For development purposes it is not necessary to install a framework
in order to use it in another project. Provided the framework is an
open project in your workspace you can just add the framework's
project to the build path of your application in the [Build Path ->
Configure Build Path... :: Projects] tab.
Just make sure that if you do this you do not also include an
installed version of the framework using the "WebObjects Frameworks"
library or you will end up with two versions of the same framework
and WO will complain about it.
I don't think so. I always have both and it "just works". You need
the installed version there so that the classpath is correct for the
deployable build.
Chuck
--
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden