Hi Benoit,
adding the jar from the woa to the launch config classpath should solve
your problem.
Ulrich
On Donnerstag, 3. Juli 2003, at 15:56 Uhr, Benoit Mangez wrote:
> 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("MyF
> ramework.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("MyA
> pplication.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 - 10:01:44 EDT