Re: Building frameworks in Eclipse vs. Xcode

From: Chuck Hill (chil..lobal-village.net)
Date: Mon Jun 18 2007 - 15:35:44 EDT

  • Next message: Joshua Archer: "Re: Building frameworks in Eclipse vs. Xcode"

    On Jun 13, 2007, at 9:56 AM, Joshua Archer wrote:

    > Hey everyone,
    >
    > So I'm finally walking the walk and trying to convert all my code
    > over to Eclipse, because frankly I really *do* like it better, but
    > i'm still running into snags every now and again.
    >
    > For example, I've got a framework that serves as a plug-in for one
    > of my apps, and it's building slightly differently in eclipse than
    > in xcode, and that difference is apparently causing issues with my
    > app not finding the framework at run-time. There are some files and
    > directory structure differences, and I thought I'd ask what the
    > significance of the differences are, and how I can tell Eclipse to
    > do what XCode does, or conversely tell my app to see what Eclipse
    > does instead of expecting the XCode format.
    >
    > The Framework is called 'AssetDBSupport', and when I build it in
    > Xcode, this the directory structure of the framework:
    >
    > AssetDBSupport.framework/
    > AssetDbSupport --> this points to --> Versions/Current/AssetDBSupport
    > Resources --> this points to --> Versions/Current/Resources
    > Versions/
    > WebServerResources --> this points to Versions/Current/
    > WebServerResources
    >
    > inside Versions/ I have:
    > A
    > Current --> this points to A
    >
    > inside A/ I have:
    > AssetDBSupport --> this is some binary file that I have no idea
    > what it does
    > Resources/ --> this has the eomodel, plists, and java code, as
    > expected
    > WebServerResources/ -> this is empty but expected
    >
    > In the Eclipse version, I only have:
    >
    > AssetDBSupport.framework/
    > Resources/ --> same content
    > WebServerResources/ --> same content
    >
    > It seems to me that with the symbolic links, really what I appear
    > to be missing is just the 'AssetDBSupport' file, which I have no
    > idea what it is. Any clues or advice? When I install the XCode
    > version, all is fine, but when I install the Eclipse version, it
    > appears to not find the classes/bundle.
    >
    > Any advice would be greatly appreciated,

      Does it appear correctly in the classpath file? Does this file exist:

    AssetDBSupport.framework/Resources/Java/assetdbsupport.jar

    Chuck

    -- 
    

    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 : Mon Jun 18 2007 - 15:36:50 EDT