Re: [Fornax-developer] sculptormetamodel vs dslmetamodel

2010-04-19 Thread MasterBoy

Well her is my problem:

I try to add some Xpand template to my project (using AOP). 

If i past the code exemple and execute my project, that work !! but the
problem is that i can't use Xpand editeur. I mean that when i add xpand
nature to my project, he didn't detecte scupltormetamodel but detecte only
sculptordsl. he didn't know the sculptormetamodel elements 
so an error message appear.
but i remove the xpandnature that work.
So if i want to add some thing i have to code it without using Xpand nature.
that look like coding in a Bloc Note :( 

i checked in my project properties and the EMF metamodel was added!

So what i have to do? there is any way to make my project knows
sculptormetamodel?

I have an other question! sculptordsl have as extension dsl ( xtext file)
and sculptormetamodel ecore ( an ecore modele !!)? are i right?

 is when i try to call sculptormetamodel in my extension, the xpand


Patrik Nordwall wrote:
 
 Two meta models are used. One for the DSL, which is generated from the
 XText grammar. Another meta model is used by the code generation
 templates. They are rather similar, but still different. They serve
 different purposes, which motivates why two meta models are needed.
 
 A transformation converts the DSL model to the code generation model. 
 
 I don't understand fully what your problem is or what you would like to
 achieve.
 
 /Patrik 
 
 MasterBoy wrote:
 
 I want to add my own template,
 so when i checked the sculptor tutorial, i founded that they use
 sculptormetamodel in they imported metamodel name..
 
 But when i tried tu define mine, i have just dslsculptor???-(
 
 So what is the diffirence between dslsculptor and sculptormetamodel ??
 
 Please some one help me :,(
 
 
 

-- 
View this message in context: 
http://old.nabble.com/sculptormetamodel-vs-dslmetamodel-tp28177564s17564p28190844.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer


Re: [Fornax-developer] sculptormetamodel vs dslmetamodel

2010-04-12 Thread MasterBoy

Morning patrik, 
:jumping: it worked

Thank you so much for you help, well i just add the metamodel project to my
project ( because he know all ready the sculptordsl so i don't have to add
the dsl project to my project )

But why he didn't know the metamodel dsl! that i ignore it 

Best regards

Zakariae
-- 
View this message in context: 
http://old.nabble.com/sculptormetamodel-vs-dslmetamodel-tp28177564s17564p28215750.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer


Re: [Fornax-developer] sculptormetamodel vs dslmetamodel

2010-04-09 Thread Patrik Nordwall

Two meta models are used. One for the DSL, which is generated from the XText
grammar. Another meta model is used by the code generation templates. They
are rather similar, but still different. They serve different purposes,
which motivates why two meta models are needed.

A transformation converts the DSL model to the code generation model. 

I don't understand fully what your problem is or what you would like to
achieve.

/Patrik 

MasterBoy wrote:
 
 I want to add my own template,
 so when i checked the sculptor tutorial, i founded that they use
 sculptormetamodel in they imported metamodel name..
 
 But when i tried tu define mine, i have just dslsculptor???-(
 
 So what is the diffirence between dslsculptor and sculptormetamodel ??
 
 Please some one help me :,(
 

-- 
View this message in context: 
http://old.nabble.com/sculptormetamodel-vs-dslmetamodel-tp28177564s17564p28188023.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer