Re: Embedding "linked-source" frameworks

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Wed Jan 10 2007 - 19:04:44 EST

  • Next message: Mike Schrag: "Re: Build Servers"

    Hi there,

    On 11/01/2007, at 4:48 AM, Kieran Kelleher wrote:

    > I have been working in earnest on my first eclipse project for
    > production. I have linked to the project wonder frameworks that are
    > checked out of CVS into my eclipse workspace as shown here (works
    > great, thanks Mike):
    > http://wiki.objectstyle.org/confluence/display/WOL/Project+Wonder
    > +woa+with+Linked+Source
    >
    > Now I want to deploy my app with ALL dependent frameworks embedded
    > including the frameworks resulting from the eclipse workspace
    > projects. The workspace projects are much newer versions of PW that
    > are not compatible with the ones on the target deployment server
    > which has other "traditional" deployed apps running that use the
    > older installed frameworks.
    >
    > So, basically I want the frameworks in my eclipse workspace
    > embedded instead of the /Library/Frameworks older versions.
    > Whether /System/Library/Frameworks get embedded or not, I don't
    > care ..... whichever works easiest.
    >
    > Any pointers on what kind of changes I would need to make to
    > build.xml to make this happen?

    The easiest method I think (i.e., that requires less fiddling) seems
    to be:

    1) Grab from Wonder:
      Utilities/woaFrameworkMerger/woaFrameworkMerger.pl

    2) put this at the end of build.woapp target:

    <exec command="/usr/bin/env">
            <arg value="perl"/>
            <arg value="/path/to/woaFrameworkMerger.pl"/>
            <arg value="${dest.dir}/${project.name}.woa"/>
    </exec>

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Wed Jan 10 2007 - 20:07:40 EST