Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [teneo] xsd that reference another xsd
[teneo] xsd that reference another xsd [message #604726] Thu, 12 April 2007 22:15
Julia is currently offline JuliaFriend
Messages: 85
Registered: July 2009
Member
Hi,

I'm trying to extent the library tutorial with my own xsd files. One of my
xsd(navigation.xsd) reference another xsd (base.xsd). Base.xsd is a
standalone xsd with I can generate the META-DATA and enhance. I reference
the base.xsd generator model as a dependent for my navigation.xsd model
(eg. it's a required bundle in my navigation manifest file). But when I
run teneo OR Mapping it gives me this error:


1573 [main] DEBUG org.eclipse.emf.teneo.util.SQLCaseStrategyImpl -
Creating org.eclipse.emf.teneo.Exception in thread "main"
java.lang.IllegalArgumentException: No annotated model element present
for: JText 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:1676)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessManyToOneReference(DefaultAnnotator.java:1433)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessEFeature(DefaultAnnotator.java:652)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessClass(DefaultAnnotator.java:482)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.pr ocessPackage(DefaultAnnotator.java:298)
at
org.eclipse.emf.teneo.annotations.mapper.DefaultAnnotator.ma p(DefaultAnnotator.java:177)
at
org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:173)
at
org.eclipse.emf.teneo.annotations.mapper.PersistenceMappingB uilder.buildMapping(PersistenceMappingBuilder.java:95)
at
org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.createORMapper File(GenerateJDO.java:101)
at org.eclipse.emf.teneo.jpox.mapper.GenerateJDO.main(GenerateJ DO.java:82)

Did I miss something?

Julia
Previous Topic:[Teneo] single join table for mtm results in exception
Next Topic:[Teneo] single join table for mtm results in exception
Goto Forum:
  


Current Time: Sat Oct 31 05:37:10 GMT 2020

Powered by FUDForum. Page generated in 0.01975 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top