The current working directory must be the .woa directory for the app to
be able to find bundle resources.
On Mar 18, 2004, at 2:35 AM, Thomas Drevon wrote:
> Hi,
>
> I have a project that starts up nicely, and during the Application
> constructor reads my Properties file. Now, when I run a WOUnitTest and
> start the application with...
>
> protected void setUp() throws Exception {
> super.setUp();
> WOApplication.primeApplication(NSBundle.mainBundle().bundlePath(),
> "Application");
> }
>
> ... it can't locate the same Properties file. Is there something that
> should be invoked in order to locate/read the file?
>
> I'm both building and running my project thru Eclipse. My system
> consists of: Eclipse 3_m4, WebObjects 5.2.2, Java 1.4.1_02, JUnit
> 3.8.1,
> WOUnitTest r6, WOLips 1.0.7.27 and WindowsXP.
>
> Any help at all would be greatly appreciated.
>
>
> cheers,
> Thomas
This archive was generated by hypermail 2.0.0 : Thu Mar 18 2004 - 12:36:20 EST