WOResourceManager can't find resources

From: gbrown (gbrow..57.nuc.ann-arbor.med.va.gov)
Date: Thu Apr 07 2005 - 11:58:24 EDT

  • Next message: Jean Pierre Malrieu: "Re: Images not showing up in deployment [SOLVED]"

    Hello,

    I am trying to switch from xcode to wolips :>)

    But.....there are some problems. Under xcode, the WOResourceManager
    could find files, but under wolips it can't. The following snippet works
    with xcode, but not wolips:
               
                WOResourceManager rm = resourceManager();
                url = rm.pathURLForResourceNamed(LOG4JCONFIGFILE, null, null);
                if (url != null) {
                    // should resetConfiguration()?
                    PropertyConfigurator.configureAndWatch(url.getFile());
                }
                appLog.info("Log4j App logger has been initialized in "+
    this.name() + "!!");

    The resource manager can't find the log4j config file, which is right
    under the project directory. This is with Macosx, latest eclipse/wolips.
    The launch config is the default setup.

    Any ideas? Thanks!



    This archive was generated by hypermail 2.0.0 : Thu Apr 07 2005 - 11:58:28 EDT