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 #79787] Thu, 12 April 2007 22:15 Go to next message
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
Re: [teneo] xsd that reference another xsd [message #79821 is a reply to message #79787] Thu, 12 April 2007 23:49 Go to previous message
Julia is currently offline JuliaFriend
Messages: 85
Registered: July 2009
Member
Oops. Found the answer in one of the early postings. Got to select all
ecore files.
Re: [teneo] xsd that reference another xsd [message #604734 is a reply to message #79787] Thu, 12 April 2007 23:49 Go to previous message
Julia is currently offline JuliaFriend
Messages: 85
Registered: July 2009
Member
Oops. Found the answer in one of the early postings. Got to select all
ecore files.
Previous Topic:[Teneo] single join table for mtm results in exception
Next Topic:Remove whitespaces from generation
Goto Forum:
  


Current Time: Thu Apr 25 09:45:14 GMT 2024

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

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

Back to the top