Re: WOLips-generated project not finding framework resources

From: Kaelin Colclasure (kaeli..cm.org)
Date: Sat Jul 05 2003 - 13:43:15 EDT

  • Next message: Kaelin Colclasure: "Re: WOLips-generated project not finding framework resources"

    Hello Ulrich,

    That was actually the first thing I tried -- I was puzzled to see that
    the JavaWOExtensions framework did not show up in the resulting dialog,
    until I realized that the framework in question was in fact already
    included in my project by default. I have looked at both PB.project and
    at the final MacOSClassPath.txt generated for my application -- the
    framework is mentioned in both. What's more, the application does seem
    to be finding the Java classes at runtime. It's only the associated
    resources that are not being found. :-/

    Hmmm, now that I think about it, this is the only component in my
    project that has associated resources (a .gif file) at this point. Here
    is the message that shows up when I view the source of the HTML page
    generated by the component in question:

    <TD ALIGN=RIGHT><img
    src="/cgi-bin/WebObjects/TrafficBroker.woa/
    wr?wodata=ERROR_NOT_FOUND_framework_WOExtensions_filename_PoweredByWebOb
    jects.gif"></TD>

    I do see that the framework name here appears to be WOExtensions vs.
    JavaWOExtensions... Is the WOBuilder palette out of date or something?

    -- Kaelin

    On Saturday, July 5, 2003, at 01:52 AM, Ulrich Köster wrote:

    > Hi Kaelin,
    >
    > The WOBuilder adds the framework to the PB.project. To add the
    > framework to the Eclipse Classpath and the woa's classpath. Right
    > Click on the Application propject root in Eclipse and select
    > WOLips->Add Local/System Framework.
    >
    > Ulrich
    >
    > On Freitag, 4. Juli 2003, at 22:53 Uhr, Kaelin Colclasure wrote:
    >
    >> I've recently dropped one of the JavaWOExtensions palette items onto
    >> one of my .wo pages... When I did this, WOBuilder warned me that the
    >> JavaWOExtensions framework was not included in my project (it was)
    >> and offered to include it for me. I let it do its thing, and it let
    >> me add the component, but then when testing the updated application
    >> the image resource used by the extension component is not being
    >> found. (This is running in development mode with direct-connect.)
    >>
    >> What do I need to tweak to get this working?
    >>
    >> TIA,
    >>
    >> -- Kaelin
    >>
    >



    This archive was generated by hypermail 2.0.0 : Sat Jul 05 2003 - 13:43:34 EDT