WOLips: App can't find resources

From: Kamal Shah (kama..ffigent.com)
Date: Tue Jul 29 2003 - 08:46:34 EDT

  • Next message: Pierre Bernard: "RE: WOLips: App can't find resources"

    I have a resource "foo.properties" in my application. I modified the
    build.xml to include .properties in the Resources. When I compile, I
    can see that the file has been copieed to the Resources folder in the
    woa. But, when I call a method (in a framework which has the following
    code) in the application's constructor:

    InputStream is =
    resourceManager().inputStreamForResourceNamed("foo.properties",null,null
    );

    I get 'is' as null.

    I tried giving the framework name in the inputStreamForResourceNamed
    call to "app" but to no avail. What do
    I need to do in order to get this to work?

    Thanks.
    Kamal



    This archive was generated by hypermail 2.0.0 : Tue Jul 29 2003 - 08:42:06 EDT