Re: WOLips: App can't find resources

From: Kamal Shah (kama..ffigent.com)
Date: Tue Jul 29 2003 - 09:30:01 EDT

  • Next message: Ulrich Köster: "Re: WOLips: App can't find resources"

    That worked Ulrich, Thanks! When is the 1.0.5 release likely?

    I am also not able to access Web Server Resources. What do I do for
    this?

    Thanks
    Kamal

    On Tuesday, July 29, 2003, at 06:24 PM, Ulrich Köster wrote:

    > 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,nu
    >> ll);
    >>
    >> 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 - 09:25:27 EDT