Hi Benoit,
I need the Frameworks section of the PB.project(s).
Ulrich
Am 18.12.2003 um 11:40 schrieb Benoit Mangez:
> Hi,
>
> I've some problems with EOmodels at runtime.
>
> Config : Eclipse 2.1.2, WOLips 1.0.7.40, MacOS 10.3, WebObjects 5.2
>
> I've 2 WOFrameworks with some EOModel files inside.
> I've a WOApp using those 2 WOFrameworks. (But without any specific
> EOModel)
>
> When I open any EOmodel files from WOLips, everything is fine,
> EOPrototypes and relationship between EOModels are resolved.
>
> At runtime, I've a problem:
>
> I can access the defaultModelGroup, it contains all EOModels files,
> but when I try to follow a relationship between 2 EOModel files (in
> Framework2) I got the following Exception :
>
> java.lang.IllegalArgumentException: EORelationship(): cannot find
> entity named DLRoleSetImp for destination of relationship roleSetImp
> in entity DLThesaurusSetImp.
> at
> com.webobjects.eoaccess.EORelationship.<init>(EORelationship.java:731)
> at com.webobjects.eoaccess.EOEntity.relationships(EOEntity.java:845)
> at
> com.webobjects.eoaccess.EODatabaseChannel.setEntity(EODatabaseChannel.j
> ava:102)
> at
> com.webobjects.eoaccess.EODatabaseChannel.setCurrentEntity(EODatabaseCh
> annel.java:143)
> at
> com.webobjects.eoaccess.EODatabaseChannel._setCurrentEntityAndRelations
> hipWithFetchSpecification(EODatabaseChannel.java:723)
> at
> com.webobjects.eoaccess.EODatabaseChannel._selectWithFetchSpecification
> EditingContext(EODatabaseChannel.java:790)
> at
> com.webobjects.eoaccess.EODatabaseChannel.selectObjectsWithFetchSpecifi
> cation(EODatabaseChannel.java:216)
> at
> com.webobjects.eoaccess.EODatabaseContext._objectsWithFetchSpecificatio
> nEditingContext(EODatabaseContext.java:3179)
> at
> com.webobjects.eoaccess.EODatabaseContext.objectsWithFetchSpecification
> (EODatabaseContext.java:3320)
> at
> com.webobjects.eocontrol.EOObjectStoreCoordinator.objectsWithFetchSpeci
> fication(EOObjectStoreCoordinator.java:535)
> at
> com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification
> (EOEditingContext.java:4016)
> at
> com.webobjects.eocontrol.EOSharedEditingContext.objectsWithFetchSpecifi
> cation(EOSharedEditingContext.java:349)
> at
> com.webobjects.eocontrol.EOEditingContext.objectsWithFetchSpecification
> (EOEditingContext.java:4395)
>
>
> Classpath : (I mean "WO Frameworks" list)
> Framework1 is in the classpath for Framework2 and WOApp
> Framework2 is in the classpath for WOApp
>
>
> Here are FRAMEWORKSEARCH section in the PB.project:
>
> Framework1 :
> FRAMEWORKSEARCH =
> (
> "$(NEXT_ROOT)$(LOCAL_LIBRARY_DIR)/Frameworks",
>
> "$(NEXT_ROOT)$(LOCAL_LIBRARY_DIR)/Frameworks/Framework1.framework"
> );
>
> Framework2 :
> FRAMEWORKSEARCH =
> (
> "$(NEXT_ROOT)$(LOCAL_LIBRARY_DIR)/Frameworks",
>
> "$(NEXT_ROOT)$(LOCAL_LIBRARY_DIR)/Frameworks/Framework1.framework",
>
> "$(NEXT_ROOT)$(LOCAL_LIBRARY_DIR)/Frameworks/Framework2.framework"
> );
>
> WOApp :
> FRAMEWORKSEARCH =
> (
> "$(NEXT_ROOT)$(LOCAL_LIBRARY_DIR)/Frameworks",
>
> "$(NEXT_ROOT)$(LOCAL_LIBRARY_DIR)/Frameworks/Framework1.framework",
>
> "$(NEXT_ROOT)$(LOCAL_LIBRARY_DIR)/Frameworks/Framework2.framework",
> );
>
>
> I don't understand what append, I'm missing something ???
>
> Benoit
>
This archive was generated by hypermail 2.0.0 : Thu Dec 18 2003 - 15:47:22 EST