Re: Feeling stupid about Frameworks...

From: Chuck Hill (chil..lobal-village.net)
Date: Fri Oct 26 2007 - 22:50:25 EDT

  • Next message: Ian Benson: "More linking woes"

    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 : Fri Oct 26 2007 - 22:52:29 EDT