[Teneo / JPOX] Generate EMF JDO/JPOX OR Mapping [message #86432] |
Thu, 14 June 2007 13:29 |
Eclipse User |
|
|
|
Originally posted by: fc_supercanard.yahoo.fr
Hello,
When I want to generate EMF JDO/JPOX O/R Mapping from an ecore file, an
exception is thrown and I do not know how to solve the problem - I
create EMF project from XML Schema.
Trace :
641 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining concrete
classes for package navigation
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Class names
are to be fully classified, registering all the epackages
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>> Adding
default annotations for EPackage navigation
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
EDataTypes
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Processing
EClasses
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
mapping for eclass NavElement
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
default annotations for EClass: NavElement
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting the
superentity of the eclass
656 [main] DEBUG
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - EReference
+ title/NavElement does not have a manytoone annotation, adding one
Exception in thread "main" java.lang.IllegalArgumentException: No
annotated model element present for: Text for type EClass has its
epackage been registered with Teneo?
at
org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl.checkAnnotatedPresent(PAnnotatedModelImpl.java:322)
at
org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl.getPAnnotated(PAnnotatedModelImpl.java:268)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.ge tEntityName(DefaultAnnotator.java:1607)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessManyToOneReference(DefaultAnnotator.java:1345)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessEFeature(DefaultAnnotator.java:644)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessClass(DefaultAnnotator.java:488)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessPackage(DefaultAnnotator.java:319)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.ma p(DefaultAnnotator.java:210)
at
org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:128)
at
org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:52)
at
org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.createORMapper File(GenerateJDO.java:105)
at org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.main(GenerateJ DO.java:83)
|
|
|
|
Re: [Teneo / JPOX] Generate EMF JDO/JPOX OR Mapping [message #86462 is a reply to message #86447] |
Thu, 14 June 2007 13:55 |
Eclipse User |
|
|
|
Originally posted by: fc_supercanard.yahoo.fr
Thank you for the idea to make multiple selection. I did not think that
it would work.
Quentin
Martin Taal wrote:
> Hi,
> In which epackage/ecore file is the eclass Text located? Did you also
> select it when generating the jdo file?
>
> gr. Martin
>
> french.cancan wrote:
>> Hello,
>>
>> When I want to generate EMF JDO/JPOX O/R Mapping from an ecore file,
>> an exception is thrown and I do not know how to solve the problem - I
>> create EMF project from XML Schema.
>>
>>
>> Trace :
>>
>>
>> 641 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining
>> concrete classes for package navigation
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Class
>> names are to be fully classified, registering all the epackages
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>>
>> Adding default annotations for EPackage navigation
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>> Processing EDataTypes
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>> Processing EClasses
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>> mapping for eclass NavElement
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>> default annotations for EClass: NavElement
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting
>> the superentity of the eclass
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>> EReference + title/NavElement does not have a manytoone annotation,
>> adding one
>> Exception in thread "main" java.lang.IllegalArgumentException: No
>> annotated model element present for: Text for type EClass has its
>> epackage been registered with Teneo?
>> at
>> org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl.checkAnnotatedPresent(PAnnotatedModelImpl.java:322)
>>
>> at
>> org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl.getPAnnotated(PAnnotatedModelImpl.java:268)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.ge tEntityName(DefaultAnnotator.java:1607)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessManyToOneReference(DefaultAnnotator.java:1345)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessEFeature(DefaultAnnotator.java:644)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessClass(DefaultAnnotator.java:488)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessPackage(DefaultAnnotator.java:319)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.ma p(DefaultAnnotator.java:210)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:128)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:52)
>>
>> at
>> org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.createORMapper File(GenerateJDO.java:105)
>>
>> at
>> org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.main(GenerateJ DO.java:83)
>
>
|
|
|
|
Re: [Teneo / JPOX] Generate EMF JDO/JPOX OR Mapping [message #606989 is a reply to message #86447] |
Thu, 14 June 2007 13:55 |
Eclipse User |
|
|
|
Originally posted by: fc_supercanard.yahoo.fr
Thank you for the idea to make multiple selection. I did not think that
it would work.
Quentin
Martin Taal wrote:
> Hi,
> In which epackage/ecore file is the eclass Text located? Did you also
> select it when generating the jdo file?
>
> gr. Martin
>
> french.cancan wrote:
>> Hello,
>>
>> When I want to generate EMF JDO/JPOX O/R Mapping from an ecore file,
>> an exception is thrown and I do not know how to solve the problem - I
>> create EMF project from XML Schema.
>>
>>
>> Trace :
>>
>>
>> 641 [main] DEBUG org.eclipse.emf.teneo.ERuntime - Determining
>> concrete classes for package navigation
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Class
>> names are to be fully classified, registering all the epackages
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - >>>>
>> Adding default annotations for EPackage navigation
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>> Processing EDataTypes
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>> Processing EClasses
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Creating
>> mapping for eclass NavElement
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Adding
>> default annotations for EClass: NavElement
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator - Setting
>> the superentity of the eclass
>> 656 [main] DEBUG
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator -
>> EReference + title/NavElement does not have a manytoone annotation,
>> adding one
>> Exception in thread "main" java.lang.IllegalArgumentException: No
>> annotated model element present for: Text for type EClass has its
>> epackage been registered with Teneo?
>> at
>> org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl.checkAnnotatedPresent(PAnnotatedModelImpl.java:322)
>>
>> at
>> org.eclipse.emf.teneo.annotations.pamodel.impl.PAnnotatedMod elImpl.getPAnnotated(PAnnotatedModelImpl.java:268)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.ge tEntityName(DefaultAnnotator.java:1607)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessManyToOneReference(DefaultAnnotator.java:1345)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessEFeature(DefaultAnnotator.java:644)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessClass(DefaultAnnotator.java:488)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessPackage(DefaultAnnotator.java:319)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.ma p(DefaultAnnotator.java:210)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:128)
>>
>> at
>> org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:52)
>>
>> at
>> org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.createORMapper File(GenerateJDO.java:105)
>>
>> at
>> org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.main(GenerateJ DO.java:83)
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03280 seconds