RE: WOBuilder - no attributes

From: Ruenagel, Frank (Ruenage..ymposion.de)
Date: Thu Jun 03 2004 - 09:51:42 EDT

  • Next message: Euan Maxwell: "RE: WOBuilder - no attributes"

    There has been a mail some times ago in the
    Omnigroup mailing-list about this issue:

    don't use eg:

    import com.webobjects.appserver.WOComponent;
    import com.webobjects.appserver.WOContext;

    use:
    import com.webobjects.appserver.*;
    import com.webobjects.eoaccess.*;
    import com.webobjects.foundation.*;

    in your component's class.
    And the attributes will appear by magic
    in the WOBuilder. Don't ask me why.

    HTH
    Frank

    > -----Original Message-----
    > From: Euan Maxwell [mailto:eua..mdevelopment.com]
    > Sent: Thursday, June 03, 2004 3:39 PM
    > To: Ulrich Köster
    > Cc: WOLips
    > Subject: Re: WOBuilder - no attributes
    >
    >
    > Hi There,
    >
    > I'm still totally stuck with this one.
    >
    > I had my colleague create a very simple project on Eclipse no Windows
    > XP. He created a key using WOBuilder and then saved it.
    >
    > I imported this project into my workspace and opened the WOComponent
    > from within Eclipse in WOBuilder and the attributes are not there.
    >
    > I then tried rebuilding PB.project using the opinon in the menu but
    > still no joy.
    >
    > Is there any specific configuration files that I could make available
    > which might help us pinpoint the exact issue here?
    >
    > Thanks for your help so far,
    >
    > Euan.
    >
    > Installation details:
    >
    > Mac OS X 10.3.4
    > WO 5.2.3 (with the instructions at
    > <http://www.objectstyle.org/woproject/wolips.html> having been
    > followed.)
    > WOBuilder 5.2
    > Eclipse 2.1.3 (200403101828)
    > WOLips 1.0.7.50
    >
    >
    > On Thu, 2004-05-20 at 09:09, Euan Maxwell wrote:
    > > Hi Ulrich,
    > >
    > > Thanks for the response.
    > >
    > > I have tried updating PB.project via the context menu.
    > >
    > > I even tried manually editing PB.project to put my java
    > classes under
    > > the CLASSES (); section and then saved it.
    > >
    > > I opened the project up in eclipse and still no attributes.
    > After that,
    > > I hit the "update PB.project" option again and it created
    > new references
    > > to the classes back in the WOAPP_RESOURCES (); section.
    > >
    > > Good guess regarding the *.java being in the wsresources!
    > I have just
    > > removed that and recreated my PB.project file which now looks a lot
    > > better.
    > >
    > > Still no attributes however :-(
    > >
    > > The updated PB.project file is available here:
    > >
    > > <http://www.emdevelopment.com/PBproject.txt>
    > >
    > > And, just to show that the sym links are all set up ok,
    > here is an ls -l
    > > of /System/Library/PrivateFrameworks
    > >
    > > <http://www.emdevelopment.com/privateframeworks.txt>
    > >
    > > Thanks for all the help and suggestions so far, I'm sure
    > we'll get to
    > > the bottom of this eventually!
    > >
    > > Euan.
    > >
    > > On Wed, 2004-05-19 at 18:52, Ulrich Köster wrote:
    > > > Hi Euan,
    > > >
    > > > could you try a update of the PB.project via the project
    > context menu.
    > > > Is it possible that you entered *.java files as
    > wsresources in the
    > > > WOLips preferences.
    > > >
    > > > Ulrich
    > > >
    > > > Am 19.05.2004 um 17:30 schrieb David LeBer:
    > > >
    > > > > On 19-May-04, at 10:28 AM, Euan Maxwell wrote:
    > > > >
    > > > >> Hi David,
    > > > >>
    > > > >>>> Is there anything else I can check to see why they
    > are not working?
    > > > >>>>
    > > > >>>> I knotice that the original instructions at
    > > > >>>> <http://www.objectstyle.org/woproject/wolips.html>
    > relate to WO
    > > > >>>> 5.2.2
    > > > >>>>
    > > > >>>> I'm running WO 5.2.3 if that makes any difference?
    > > > >>>
    > > > >>> I'm running WO 5.2.3 and everything is fine here.
    > > > >>>
    > > > >>> ;david
    > > > >>
    > > > >> Do you bother with the additional sym links to replace
    > > > >> PBXRemoteClient.framework?
    > > > >
    > > > > Yes, but I just followed the instructions and it
    > worked. I had no
    > > > > reason to experiment.
    > > > >
    > > > >> I have put a copy of my PB.project on-line to see if
    > there are any
    > > > >> problems. You can take a look here:
    > > > >>
    > > > >> <http://www.emdevelopment.com/PBproject.txt>
    > > > >
    > > > > This is mine:
    > > > >
    > > > > <http://david.codebase.ca/files/PBProject.txt>
    > > > >
    > > > > My Java classes are listed under CLASSES = () rather than
    > > > > WOAPP_RESOURCES = (),
    > > > >
    > > > > I notice that your CLASSES = () is empty.
    > > > >
    > > > > (don't ask me why :-)
    > > > >
    > > > > ;david
    > > > >
    > > > > --
    > > > > David LeBer
    > > > > Codebase Software Systems
    > > > > site: http://www.codebase.ca
    > > > > blog: http://david.codebase.ca
    > > > >
    > --
    >



    This archive was generated by hypermail 2.0.0 : Thu Jun 03 2004 - 09:51:54 EDT