On 2-jul-2007, at 23:06, 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
Perhaps you have been bitten by the same bug that I am struggling
with. Somehow, some of my wod files that should have been UTF-8
encoded, suddenly started to show an extra marker, that they were
UTF-8 BOM.
The moment a file has that kind of description, it is no-go in the
RunTime. I don't have any clue why, or even what it is. The only way
I could get around it was to move the old component, create a new
one, copy all the information into the new component and hope for the
best. It worked, mostly.
I still have one component that complains about:
'There is no element named 'String1' in your component HTML file. '
I checked and double-checked, looked at it from WebObjects Builder,
Eclipse, SubEthaEdit, less and emacs. They seem to agree that the
element is in the HTML file, that is UTF-8 and that the wod file is
UTF-8, I still get those messages.
>
> 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
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
Regards,
Johan Henselmans
http://www.netsense.nl
Tel: +31-20-6267538
Fax: +31-20-6273852
This archive was generated by hypermail 2.0.0 : Mon Jul 02 2007 - 17:27:42 EDT