> Thanks for your reply. Sorry, but I couldn't get what you just said. Can you 
> please elaborate? See my comments below?
> 
> On 2010-06-29, at 8:33 PM, Mike Schrag wrote:
> 
>> make sure you set the framework principal class for your framework to point 
>> to this class name or it won't be loaded.
> 
> The MyWSFramework.class is part of the REQUIRES[] array as well as is used 
> inside the static block:
It's part of the requires array for your app, not part of its own requires 
array, right? requires array should list the direct framework principal 
dependencies for your framework.

>>> static {
>>>     setUpFrameworkPrincipalClass(MyWSFramework.class);
>>> }
> My Wonder Application depends upon this framework. The code I've put in the 
> finishInitialization() of the framework was inside the Application's 
> finishInitialization(). Now the above framework is part of the classpath of 
> the application and is packaged with the application and I can access all the 
> classes and components. This is the only setup I've done for this framework. 
> Is there any other place where I need to call certain method(s) to make it 
> work?
You have to define the framework principal for your framework to point to your 
MyWSFramework class. In WOLips, it's in the WOLips Development Properties page 
of the project's properties. If you're not using WOLips, you have to set the 
key in build.properties yourself ... principalClass=x.y.z.MyWSFramework IIRC. 
Unless you specify a framework principal, finishInitialization probably isn't 
going to be called on it, because .... it's not a framework principal.

ms _______________________________________________
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