Re: WOLips: App can't find resources

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

  • Next message: Sebastien Groutars: "Problem with pbx index"

    Hi Kamal,

    On Dienstag, 29. Juli 2003, at 15:30 Uhr, Kamal Shah wrote:

    > That worked Ulrich, Thanks! When is the 1.0.5 release likely?
    May be next week. If nothing turns bad.
    >
    > I am also not able to access Web Server Resources. What do I do for
    > this?
    Take a look into the archive
    http://www.objectstyle.org/woproject/lists/woproject-dev/2003/04/
    0043.html

    Ulrich

    >
    > 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,n
    >>> ull);
    >>>
    >>> 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:55:57 EDT