Re: Using WebObjects Builder with Eclipse

From: David LeBer (dlebe..odebase.ca)
Date: Wed Feb 16 2005 - 09:03:45 EST

  • Next message: Guido Neitzer: "Re: organize Imports in WOLips"

    On Feb 16, 2005, at 8:44 AM, Jon Kleiser wrote:

    > If I have understood things right, the description under "WO 5.5.2" on
    > this page <http://www.objectstyle.org/woproject/wolips.html> shall
    > make it possible for WebObjects Builder to "find" my WO project when I
    > use Eclipse ...
    >
    > I have copied the two files WODevKit (948276 bytes) and IDEServices
    > (294348 bytes) from my WO 5.2 CD using Pacifist, but from the
    > description I cannot figure out where to put them (and I haven't found
    > other versions of these two files in my current WO/Xcode
    > installation). The description says I shall make two symlinks, but I
    > cannot see how these symlinks relate to the two files. Can anybody
    > clarify these matters for me? Thank you.
    >
    > /Jon
    > --

    They go into /System/Library/PrivateFrameworks/ replacing the ones
    already there.

    The symlink goes in the same place:

    lrwxr-xr-x 1 root wheel 30 6 Oct 10:21
    PBXRemoteClient.framework -> DevToolsRemoteClient.framework

    This is the way I do it:

    In /System/Library/ I create a new directory: PrivateFrameworks_Alt/
    and in it I create two new directories:
            WebObjects5_2_3/
            WebObjects5_2/

    I move the existing (WebObjects 5.2.3) frameworks from
    /System/Library/PrivateFrameworks into
    /System/Library/PrivateFrameworks_Alt/WebObjects5_2_3/.

    I put the older (WebObjects 5.2) frameworks into
    /System/Library/PrivateFrameworks_Alt/WebObjects5_2/

    I create a pair of symlinks in /System/Library/PrivateFrameworks/
    pointing at the correct pair depending on my current IDE.

    For Eclipse my /System/Library/PrivateFrameworks/ contains:

    lrwxr-xr-x 1 root wheel 78 6 Oct 10:20 WODevKit.framework ->
    /System/Library/PrivateFrameworks(Alternate)/WebObjects_5_2/
    WODevKit.framework
    lrwxr-xr-x 1 root wheel 81 6 Oct 10:19 IDEServices.framework ->
    /System/Library/PrivateFrameworks(Alternate)/WebObjects_5_2/
    IDEServices.framework
    lrwxr-xr-x 1 root wheel 30 6 Oct 10:21
    PBXRemoteClient.framework -> DevToolsRemoteClient.framework

    It is then easy to write a shell script to switch back and forth
    between Eclipse and Xcode.

    hth,

    ;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 : Wed Feb 16 2005 - 09:03:48 EST