Re: WOResourceManager can't find resources

From: James Cicenia (jame..imijon.com)
Date: Thu Apr 07 2005 - 13:49:44 EDT

  • Next message: Daniel Muller: "Re: WOLips and OS X 10.3"

    Make sure your resources.include.patternset is set to include it. You
    will find this
    under the woproject folder.

    - James Cicenia

    On Apr 7, 2005, at 10:58 AM, gbrown wrote:

    > 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 - 13:49:46 EDT