Re: WOLips project using a custom framework

From: Lachlan Deck (lachlan.dec..mail.com)
Date: Mon Jul 02 2007 - 20:20:43 EDT

  • Next message: David Avendasora: "Re: WOLips project using a custom framework"

    Try and do a Project > Clean... just to verify that you're running
    against a clean build.

    On 03/07/2007, at 7:06 AM, David Avendasora wrote:

    > Okay, after looking at the error again, It has nothing to do with
    > the EOModel. It is complaining about the Component itself not
    > having the key. The component does have the key and there is
    > something going on, but it has nothing to do with being a framework
    > problem.
    >
    > Dave
    >
    > On Jul 2, 2007, at 4:02 PM, David Avendasora wrote:
    >
    >> Yep, ran it and got the error:
    >> "com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException:
    >> [; } > valueForKey()]: lookup of unknown key:
    >> 'newScheduledStartDate'. This WOComponent does not have an
    >> instance variable of the name..."
    >>
    >> When I build and run the app out of Xcode, it runs just fine. So I
    >> was thinking that possibly the reason it says it can't find the
    >> key is because it can't read the model file. Maybe that's a wrong
    >> assumption...
    >>
    >> After adding the framework to WOFrameworks, all it shows up as
    >> is: /Library/Frameworks/BMCore.framework/Resources/Java/bmcore.jar
    >> and doesn't mention anything about other supporting files.
    >>
    >> Dave
    >>
    >> On Jul 2, 2007, at 3:47 PM, Kieran Kelleher wrote:
    >>
    >>> Have you tried to run the app? The jars inside the framework are
    >>> referenced and it looks different to XCode, but the frameworks
    >>> are also referenced, perhaps in some of the other, possibly
    >>> hidden, project config text files that WOLips maintains. So, go
    >>> ahead and try it.
    >>>
    >>> On Jul 2, 2007, at 4:25 PM, David Avendasora wrote:
    >>>
    >>>>
    >>>> On Jul 2, 2007, at 3:11 PM, Lachlan Deck wrote:
    >>>>
    >>>>> On 03/07/2007, at 6:06 AM, David Avendasora wrote:
    >>>>>
    >>>>>> I'm just moving my first project from Xcode to WOLips and the
    >>>>>> Wiki has been very helpful!
    >>>>>>
    >>>>>> My project uses a framework (built from another Xcode project)
    >>>>>> that has my EOModel and business logic classes in it. It is
    >>>>>> sitting in /Library/Frameworks/bmcore.framework.
    >>>>>>
    >>>>>> How do I add this framework to my project. I've added the .jar
    >>>>>> file, but I'm assuming I need the EOModel file as well. How do
    >>>>>> I add that? (I want to just link to it so when I update that
    >>>>>> file, I don't need to reimport it, just like with the .jar file.)
    >>>>>
    >>>>> See: Add a framework dependency
    >>>>> http://wiki.objectstyle.org/confluence/display/WOL/Tutorials
    >>>>
    >>>> That is what I did, but that only adds the .jar file
    >>>> (bmcore.jar). Is the bakeryManagement.eomodel file in the JAR
    >>>> file as well as all the .class files?
    >>>>
    >>>>
    >>>>>
    >>>>> with regards,
    >>>>> --
    >>>>>
    >>>>> Lachlan Deck
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>
    >>>
    >>>
    >>>
    >>
    >>
    >>
    >

    with regards,

    --
    

    Lachlan Deck



    This archive was generated by hypermail 2.0.0 : Mon Jul 02 2007 - 20:21:37 EDT