Re running Eugenia Example- help required [message #585232] |
Wed, 27 January 2010 10:11  |
Eclipse User |
|
|
|
Hello Epsilon experts,
I am very new to epsilon stuff especially to Eugenia. I am trying to re run the example given in screen cast (filesystem project) on official website. I can sucessfully create filesystem.gmfgraph, filesystem.gmfmap, filesystem.gmftool. for generating filesystem.gmfgen i run the wizard. In example video the transformation step is done automatically and no qvto transformations (prepost-reconcile) is required. yet the filesystem.gmfgen model is created. I how ever tried to workout without qvto transformation by selecting java i get this error message
i get the following error message:
" org.eclipse.m2m.internal.qvt.oml.compiler.QVTOCompiler.compi le(Ljava/lang/String;Lorg/eclipse/m2m/internal/qvt/oml/compi ler/QvtCompilerOptions;Lorg/eclipse/emf/common/util/Monitor; )Lorg/eclipse/m2m/internal/qvt/oml/compiler/CompiledUnit; "
I don't know how to continue from here or is there a complete project with qvto transformations which i can understand as a starter example with and without qvto transformation.
best regards
saad
|
|
|
|
Re: Re running Eugenia Example- help required [message #853949 is a reply to message #585232] |
Mon, 23 April 2012 09:57   |
Eclipse User |
|
|
|
(Hi, my first post to this forum, so apologies if I've not used correctly.
Running Eclipse Epsilon, from the epsilon-0.9.1-win32.zip build.)
I have attempted to run the Eugenia 'filesystem' example, second screencast example. Two questions:
Q1 is there an insistency between the filesystem.emf code as listed in the screencast, versus that available in the cvs filesystem? For instance, first 12 lines of the file code reads:
@namespace(uri="filesystem", prefix="filesystem")
package filesystem;
@gmf.diagram(foo="bar")
class Filesystem {
val Drive[*] drives;
val Sync[*] syncs;
}
class Drive extends Folder {
}
while on the screencast, the first 3 lines read:
@namespace(uri="filesystem", prefix="filesystem")
@gmf
package filesystem;
i.e. there is an extra '@gmf' line?
Q2 When I put my code in Eclipse following the example, but exactly as the cvs file, I get an error highlighed with red x at line 12:
"Encountering "Class" at line 14, column 1.
Was expecting on of:
<EOF>
"@"...
(etc) "
Q3 What in the screencast is the GMF project given such a long/esoteric name:
"gmf.eclipse.epsilon.eugenia.examples.filesystem"
-Is this simple because of how you are organising your examples, rather than literally how a user might need to name it to get it to work?
thanks
Julian
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05494 seconds