|
|
Re: Re running Eugenia Example- help required [message #853949 is a reply to message #585232] |
Mon, 23 April 2012 13:57 |
Julian Johnson Messages: 3 Registered: April 2012 |
Junior Member |
|
|
(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
|
|
|
Re: Re running Eugenia Example- help required [message #853983 is a reply to message #853949] |
Mon, 23 April 2012 14:35 |
|
Hi Julian,
Q1: The @gmf line is not used by the current version of EuGENia and can be removed.
Q2: The version of Emfatic that is bundled in the Epsilon distribution does not support detail-less annotations. As such, even when no details are needed for an annotation, a dummy detail needs to be added (e.g. foo="bar")
Q3: That's just the the naming convention we use for our examples.
Cheers,
Dimitris
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03549 seconds