hi again,
i forgot to say, that i'm using Eclipse 3.3.1 with EMF 2.3.1.
and to say something more to my problem:
when i add a slot and store it in the reuse models file
(reuse.java.ecore is created), than the generation of the plugin from
this ecore-file lead to some classes, like Reuse.javaFactory.java which
are not correct source-file names for java-classes.
i think that is a problem for the errors in the plugin.
but maybe i did something wrong?
greets,
Sascha
Sascha Dietrich schrieb:
> hi,
>
> i tryed the java--tutorial as it is explained on the website.
>
> now i tryed to do this tutorial with the help of the CoMoGen(?)-subsytem.
>
> first i created the two files java.as and java.cs with the content of the
> website. then i added a slot to the MemberDeclaration in java.as.
>
> this results in two files java.ecore and reuse.java.ecore.
>
> when i try to generate a language-plugin from the reuse.java.ecore file,
> then the generated plugin contains different errors.
> when i map the ecore-file to an abstract-sytax-file (reuse.java.as) and
> use this one for generating the plugin, then the plugin-folder is empty.
>
> (i also got errors when i try to generate the text-parser plugin, from a
> file reuse.java.cs which i generated with the help of the definition from
> the tutorial)
>
> what did i do wrong?
> is there somewhere an explanation how to use CoMoGen right?
>
> greetz,
> Sascha
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Reuseware-users mailing list
> Reu...@li...
> https://lists.sourceforge.net/lists/listinfo/reuseware-users
>
|