I've a WOApplication using 2 frameworks.
There are some configuration files in each framework.
I try to access to those files using:
String path =
WOApplication.application().resourceManager().pathForResourceNamed("MyFr
amework.conf", "MyFramework",new NSArray());
-> path is always null.
When I look in build product "MyFramework.framework", I found the file
"MyFramework.conf" under the directory "Resources".
In my WOApplication I read the application configuration file with the
same method :
String path =
WOApplication.application().resourceManager().pathForResourceNamed("MyAp
plication.conf", null,new NSArray());
-> path is NOT null.
I run "Update PB.project" on each framework and on the WOApplication.
The project dependencies are correct.
The rapid turnaround mode is off.
(Note that I receive the message :
...
[2003-07-03 14:06:42 CEST] <main> WOAllowRapidTurnaround=false
...
[2003-07-03 14:06:42 CEST] <main> NSBundle is unable to find
"ExtensionsForResources.plist" in the main bundle. Ignoring optional
configuration file.
[2003-07-03 14:06:45 CEST] <main> *** The application has found the
following opened, development-mode ProjectBuilderWO projects:
(<com.webobjects.appserver._private.WOProjectBundle:
projectName='MyFramework';
bundlePath='/Local/Library/Frameworks/MyFramework.framework';
projectPath='/Users/.../MyFramework'>)
[2003-07-03 14:06:48 CEST] <main> *** The application has found the
following opened, development-mode ProjectBuilderWO projects:
(<com.webobjects.appserver._private.WOProjectBundle:
projectName='MyFramework2';
bundlePath='/Local/Library/Frameworks/MyFramework2.framework';
projectPath='/Users/.../MyFramework2'>)
...
)
With ProjectBuilder, everything was OK.
Benoit
This archive was generated by hypermail 2.0.0 : Thu Jul 03 2003 - 09:56:28 EDT