Re: Feeling stupid about Frameworks...

From: Kieran Kelleher (kieran_list..ac.com)
Date: Sat Oct 27 2007 - 12:09:49 EDT

  • Next message: James Cicenia: "Re: Feeling stupid about Frameworks..."

    http://wiki.objectstyle.org/confluence/display/WOL/Embedding
    +WOFrameworks
    http://wiki.objectstyle.org/confluence/display/WOL/Split+Install
    +Deployment

    See "Deployment" Section articles on this page ....... study well ...
    follow directions ...... embedding expert you will be :)
    http://wiki.objectstyle.org/confluence/display/WOL/Tutorials

    I need to create a "user-friendly" version of my build.xml and
    publish it some day.

    Regards, Kieran

    On Oct 27, 2007, at 11:11 AM, James Cicenia wrote:

    > Ok-
    >
    > So I figure embed is the way to go. Makes much more sense in
    > general to me now that I almost understand it.
    >
    > I am doing this:
    >
    > <frameworks root="/" embed="true" >
    > <include name="Developer/eclipse/workspace/
    > QualifierAdditions.framework" />
    > </frameworks>
    >
    > seems to build fine, but when I launch it on my deployment server
    > it still can't find the framework class.
    >
    > Any other hints?
    >
    > thanks.. almost there.
    >
    > James
    >
    >
    >
    >
    > On Oct 26, 2007, at 9:50 PM, Chuck Hill wrote:
    >
    >>
    >> On Oct 26, 2007, at 7:03 PM, James Cicenia wrote:
    >>
    >>> Ok -
    >>>
    >>> I gave up trying to figure out Eclipse. So I imported the
    >>> project, linked it in the build path and everything worked like a
    >>> charm.
    >>> BUT, on my test deployment server It can't find those classes.
    >>>
    >>> Do I have to change my build.xml file or such?
    >>
    >> Launching from within Eclipse uses different classpath generation
    >> than command line launches. Linking the Eclipse project into the
    >> build path is fine for Eclipse launches, but that alone does not
    >> generate a correct deployment classpath file. You will either
    >> need to also link the project to the installed framework or (as a
    >> temporary hack) hand edit the classpath file.
    >>
    >> I recall someone saying that it was not necessary to link the
    >> project to the installed framework to get the classpath file to be
    >> correctly generated, but that has never worked for me. I don't
    >> see how it would know whether to generate a path to ~/Library/
    >> Frameworks or /Library/Frameworks. Of course, if you embed the
    >> frameworks, this is a non-issue. :-)
    >>
    >> Chuck
    >>
    >>> On Oct 26, 2007, at 7:49 PM, Kieran Kelleher wrote:
    >>>
    >>>> Why not just import existing project into workspace and link the
    >>>> build path?
    >>>>
    >>>> In any case, check the woproject dir and see if the frameworks
    >>>> show up in the localroot file in there. If not, try restarting
    >>>> Eclipse and make sure you have latest Eclipse and WOLips.
    >>>>
    >>>> On Oct 26, 2007, at 8:19 PM, James Cicenia wrote:
    >>>>
    >>>>> OK -
    >>>>>
    >>>>> I am trying to install a Framework on my good ol' eclipse. This
    >>>>> is the eclipse setup of yesteryear. I will soon be getting my
    >>>>> leopard and new Intel MacBook Pro soon enough and then I will
    >>>>> enjoy all the new eclipse goodness... but I digress.
    >>>>>
    >>>>> I am simply trying to add the Houdah framework to my project. I
    >>>>> swear I have done this countless times in the past and must be
    >>>>> forgetting something obvious.
    >>>>>
    >>>>> Normally, I just right click configure on the my WOFrameworks
    >>>>> and it appears under local. Except it doesn't. It is there I
    >>>>> swear.
    >>>>>
    >>>>> What am I doing wrong?
    >>>>>
    >>>>> Thanks
    >>>>> James Cicenia
    >>>>>
    >>>>> _______________________________________________
    >>>>> Do not post admin requests to the list. They will be ignored.
    >>>>> Webobjects-dev mailing list (Webobjects-de..ists.apple.com)
    >>>>> Help/Unsubscribe/Update your Subscription:
    >>>>> http://lists.apple.com/mailman/options/webobjects-dev/
    >>>>> kieran_lists%40mac.com
    >>>>>
    >>>>> This email sent to kieran_list..ac.com
    >>>>
    >>>
    >>>
    >>
    >> --
    >>
    >> Practical WebObjects - for developers who want to increase their
    >> overall knowledge of WebObjects or who are trying to solve
    >> specific problems.
    >> http://www.global-village.net/products/practical_webobjects
    >>
    >>
    >>
    >>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Sat Oct 27 2007 - 12:11:13 EDT