Re: Beginner WOLips issue

From: Andrew Kinnie (akinni..ac.com)
Date: Thu Nov 22 2007 - 15:51:42 EST

  • Next message: Andrew R. Kinnie: "Re: Beginner WOLips issue"

    OK, one thing I noticed was that the component was created under the project name in the eclipse project pane, but was not under the heading of component. Before I got this email, I started over completely, with a new download and a new workspace, because I had no idea. The tutorial screen shots do not seem to be completely up to date with the latest build, so I tried to do things the logical way when there was a difference.

    Anyway, this time I put the new component in the "components" subgroup, and it seems to work. However, I noticed that the live code rebuild seems to not work properly. I get a message that it couldn't update because of obsolete code. I need to re-run, then continue past the breakpoint that seems to have been created.

    I did look in the build directory and the WOLipsTest.woa app is there (the error said it couldn't find it), though I did not look for the component itself. Assuming you are right and that was the problem (the component is not in the .woa), how do I fix that? What could have been done to crate that problem?

    Thanks.

    Andrew

     
    On Thursday, November 22, 2007, at 03:20PM, "Kieran Kelleher" <kieran_list..ac.com> wrote:
    >Check the "build" folder which has a app.woa bundle in there. Check
    >if it includes the WOComponent. Usually this means the WOComponent
    >template files are missing. Also do not put WOComponent into the java
    >packages since sometimes they get ignored and not included in the build.
    >
    >On Nov 22, 2007, at 1:28 PM, Andrew R. Kinnie wrote:
    >
    >> I am trying to learn WOLips and Eclipse. I just downloaded the
    >> latest Eclipse, and WOLips nightly, and started the tutorials.
    >>
    >> As background, I have an old WO project that was developed using
    >> Project Builder and/or Xcode. I have been doing minor maintenance
    >> on it for years, but now with Leopard obliterating the Apple WO
    >> tools and upgrading to 5.4, I decided to finally try WOLips and
    >> eclipse.
    >>
    >> So I am going through the tutorial, and everything seemed to work,
    >> until I created a new component (MyComponent, per the tutorial),
    >> and now I get this exception when I try and run it:
    >>
    >> Application: WOLipsTest
    >> Error: java.lang.IllegalStateException exception
    >> Reason:
    >> java.lang.IllegalStateException: Unable to find framework named
    >> "WOLipsTest".
    >>
    >>
    >> I have no idea what I need to do to fix this. Apparently, this is
    >> all now supposed to work in Leopard, but it doesn't seem to find my
    >> component, and the console in Eclipse says:
    >>
    >> [2007-11-22 18:18:3 EST] <WorkerThread0>
    >> <com.webobjects.appserver._private.WOComponentRequestHandler>:
    >> Exception occurred while handling request:
    >> java.lang.IllegalStateException: Unable to find framework named
    >> "WOLipsTest".
    >>
    >> I don't know what I may have done to cause Eclipse not to be able
    >> to find the tutorial project, which it had previously found, or
    >> what I need to do to fix it.
    >>
    >> Sorry for the dumb question, but any assistance would be greatly
    >> appreciated.
    >>
    >> Andrew
    >
    >



    This archive was generated by hypermail 2.0.0 : Thu Nov 22 2007 - 15:52:43 EST