Re: WOLips: App can't find resources

From: Ulrich Köster (ulric..bjectstyle.org)
Date: Tue Jul 29 2003 - 08:54:47 EDT

  • Next message: Kamal Shah: "Re: WOLips: App can't find resources"

    Hi Kamal,

    you have to add it to the PB.project manually under WOAPP_RESOURCES.
    Take care of the "," . There will be a solution for this in WOLips in
    1.0.5.

    Let me know if you need more help with it.

    Ulrich

    On Dienstag, 29. Juli 2003, at 14:46 Uhr, Kamal Shah wrote:

    > 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,nul
    > l);
    >
    > 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:50:58 EDT