Re: WOApplication can't find Properties file

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Thu Mar 18 2004 - 08:01:48 EST

  • Next message: Thomas Drevon: "Re: WOApplication can't find Properties file"

    Hi Thomas,

    Am 18.03.2004 um 11:35 schrieb Thomas Drevon:

    > 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");
    > }

    Is the dist/projectname.woa the working dir for the launch config? I'll
    assume that you start the Application with the WOApplication launch
    config. Am I right?

    Ulrich

    >
    > ... 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 - 08:01:52 EST