Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Generating OCL from Model
Generating OCL from Model [message #47189] Thu, 19 June 2008 14:56 Go to next message
Mark Melia is currently offline Mark Melia
Messages: 142
Registered: July 2009
Senior Member
Hi all,

I wonder if someone can help me. I want to create a DSL defined using an
ECore metamodel. This DSL will generate OCL. I have defined the metamodel
in ECore, but I am unsure how to generate the OCL now. Will M2T allow for
this? When will it be released? Can JET generate non-java text?

Any help would be much appriciated.

Thanks,
Mark
Re: Generating OCL from Model [message #47242 is a reply to message #47189] Fri, 20 June 2008 06:21 Go to previous messageGo to next message
Felix Dorner is currently offline Felix Dorner
Messages: 675
Registered: July 2009
Senior Member
Mark Melia wrote:
> Hi all,
> I wonder if someone can help me. I want to create a DSL defined using an
> ECore metamodel. This DSL will generate OCL. I have defined the
> metamodel in ECore, but I am unsure how to generate the OCL now. Will
> M2T allow for this? When will it be released? Can JET generate non-java
> text?
Can generate any text you want.

Here is how you run a JET transform on an ecore document:
http://help.eclipse.org/help33/topic/org.eclipse.jet.doc/tas ks/usingJetWithEMF.xhtml


The wiki is also helpful:
http://wiki.eclipse.org/M2T-JET
Problem Loading Ecore Model [message #47404 is a reply to message #47242] Mon, 30 June 2008 18:06 Go to previous message
Eclipse User
Originally posted by: uneebtariq.gmail.com

Felix Dorner wrote:

> Mark Melia wrote:
>> Hi all,
>> I wonder if someone can help me. I want to create a DSL defined using an
>> ECore metamodel. This DSL will generate OCL. I have defined the
>> metamodel in ECore, but I am unsure how to generate the OCL now. Will
>> M2T allow for this? When will it be released? Can JET generate non-java
>> text?
> Can generate any text you want.

> Here is how you run a JET transform on an ecore document:
>
http://help.eclipse.org/help33/topic/org.eclipse.jet.doc/tas ks/usingJetWithEMF.xhtml


> The wiki is also helpful:
> http://wiki.eclipse.org/M2T-JET
Hey Hi
I am working with mark on this project and have neva Used JET before. I
am having a couple of problems using JET.

1. How to load ecore model as an input? What should be the
extension(myecore.?)
2. Plz can someone give me a simple example of loading ecore in JET and
transforming it into code.

waiting for ur response

Thanks
Uneeb Janjua
Previous Topic:JET <ws:project...> effect
Next Topic:Problem loading ecore model as input in JET
Goto Forum:
  


Current Time: Fri Jul 25 05:07:39 EDT 2014

Powered by FUDForum. Page generated in 0.02789 seconds