Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problem with Ecore model generated from XSD
Problem with Ecore model generated from XSD [message #535019] Fri, 21 May 2010 05:47 Go to next message
login is currently offline loginFriend
Messages: 13
Registered: May 2010
Junior Member
Hi All,
I am new to GMF. I have been trying to understand the concept of generating Ecore model from xsd.
I generated a Ecore model from xsd and used the same ecore file to generate genmodel. gen model created successfully.
But when i tried generating the "gmfgen" model out of genmodel.
It throws an error.

I need to know the following :
1.)Does GMF supports a Ecore model generated out of xsd.
2) I tried using Eugenia to generate gmfgen and gmf diagram from sample .emf model it works fine.But when i tried generating the ecore from "xsd" .It has some issues.
Does any body know how to go about it?


Thanks in advance,
sow

Re: Problem with Ecore model generated from XSD [message #535174 is a reply to message #535019] Fri, 21 May 2010 13:15 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33148
Registered: July 2009
Senior Member
sow,

Comments below.

sowmya wrote:
> Hi All,
> I am new to GMF. I have been trying to understand the concept of
> generating Ecore model from xsd.
> I generated a Ecore model from xsd and used the same ecore file to
> generate genmodel. gen model created successfully.
> But when i tried generating the "gmfgen" model out of genmodel.
> It throws an error.
Should we guess the error?
>
> I need to know the following :
> 1.)Does GMF supports a Ecore model generated out of xsd.
Yes.
> 2) I tried using Eugenia to generate gmfgen and gmf diagram from
> sample .emf model it works fine.But when i tried generating the
> ecore from "xsd" .It has some issues.
Should we guess the issues?
> Does any body know how to go about it?
>
>
> Thanks in advance,
> sow
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Problem with Ecore model generated from XSD [message #535934 is a reply to message #535174] Wed, 26 May 2010 12:15 Go to previous messageGo to next message
login is currently offline loginFriend
Messages: 13
Registered: May 2010
Junior Member
I got this error
Method 'getContainmentReferences' not found (190:38)
at org.eclipse.epsilon.eol.execute.PointExecutor.executeOperati on(PointExecutor.java:190)
at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:67)
at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:37)
at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE xecutor.java:123)
at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:178)
at org.eclipse.epsilon.eol.execute.ForStatementExecutor.execute (ForStatementExecutor.java:44)
at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:178)
at org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu te(StatementBlockExecutor.java:33)
at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E xecutorFactory.java:178)
at org.eclipse.epsilon.eol.EolModule.execute(EolModule.java:57)
at org.eclipse.epsilon.eugenia.EolTransformationActionDelegate. runImpl(EolTransformationActionDelegate.java:136)
at org.eclipse.epsilon.eugenia.EolTransformationActionDelegate$ 1.run(EolTransformationActionDelegate.java:65)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Re: Problem with Ecore model generated from XSD [message #535952 is a reply to message #535934] Wed, 26 May 2010 13:08 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33148
Registered: July 2009
Senior Member
It's best to ask about this on the Eplison newsgroup/forum.

login wrote:
> I got this error
> Method 'getContainmentReferences' not found (190:38)
> at org.eclipse.epsilon.eol.execute.PointExecutor.executeOperati
> on(PointExecutor.java:190)
> at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE
> xecutor.java:67)
> at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE
> xecutor.java:37)
> at org.eclipse.epsilon.eol.execute.PointExecutor.execute(PointE
> xecutor.java:123)
> at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E
> xecutorFactory.java:178)
> at org.eclipse.epsilon.eol.execute.ForStatementExecutor.execute
> (ForStatementExecutor.java:44)
> at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E
> xecutorFactory.java:178)
> at org.eclipse.epsilon.eol.execute.StatementBlockExecutor.execu
> te(StatementBlockExecutor.java:33)
> at org.eclipse.epsilon.eol.execute.ExecutorFactory.executeAST(E
> xecutorFactory.java:178)
> at org.eclipse.epsilon.eol.EolModule.execute(EolModule.java:57)
> at org.eclipse.epsilon.eugenia.EolTransformationActionDelegate.
> runImpl(EolTransformationActionDelegate.java:136)
> at org.eclipse.epsilon.eugenia.EolTransformationActionDelegate$
> 1.run(EolTransformationActionDelegate.java:65)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Dynamically populate list of nodes in dropdown
Next Topic:Perspectives in single generated GMF editor
Goto Forum:
  


Current Time: Sat May 18 10:35:34 GMT 2024

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

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

Back to the top