Re: WOApplication can't find Properties file

From: Thomas Drevon (thomas.drevo..sit.uio.no)
Date: Thu Mar 18 2004 - 10:06:29 EST

  • Next message: Chuck Hill: "Re: WOApplication can't find Properties file"

    Ulrich Köster wrote:

    >> 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?

    Thanks for answering!

    Yes. I build the project to the project/project.woa directory, and this
    is where I run the application from. I've specified this in the Eclipse
    menu Run --> Run... as a WOApplication.

    I hope this answered your question?

    cheers,
    Thomas



    This archive was generated by hypermail 2.0.0 : Thu Mar 18 2004 - 10:12:29 EST