Re: WOResourceManager can't find resources[Solved] & Properites file [solved]

From: gbrown (gbrow..57.nuc.ann-arbor.med.va.gov)
Date: Fri Apr 08 2005 - 14:11:38 EDT

  • Next message: Richard Palmer: "ERXPatcher"

    Things appear to work when I switch to "USE ANT (BUILD.XML)
    instead of ex^H^H INCREMENTAL.

    This also fixes the problem I had where wolips builds couln't find the
    Properties file
    Maybe related to the resouce manager?

    FYI: Mac osx panther, latest eclipse and wolips.

    James Cicenia wrote:

    > 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 : Fri Apr 08 2005 - 14:11:53 EDT