[Xpand] typesystem.uml2 confuses xpand editor [message #541382] |
Sun, 20 June 2010 13:29  |
Eclipse User |
|
|
|
Hello
Im new to oAW, so I'm stumble over all beginner mistakes. The scenario:
With Topcased I have created an uml2 profile with a stereotype (Entity) and an uml2 model with 2 classes (Address and Person) which are annotated with the sterotype (Entity).
In the generator project is a minimal mwe and a minimal xpt. The xpt uses for example the statement
«FILE name + ".java"»
If the dependent typesystem in the project are:
org.eclipse.xtend.typesystem.emf;bundle-version="1.0.0",
org.eclipse.xtend.typesystem.uml2;bundle-version="1.0.0"
then the classes would be generated, but the editor say:
Multiple markers at this line
- Couldn't find operation '+(String)' for type 'java::lang::String'
- String expected!
If the dependent typesystem in the project is only:
org.eclipse.xtend.typesystem.emf;bundle-version="1.0.0",
then the editor is happy (the code completion presents other methods like toFirstUpper() etc.) but the generator has a problem:
--------------------
516 ERROR WorkflowRunner - [ERROR]: Class not found: 'org.eclipse.xtend.typesystem.uml2.Setup'(Element: bean bean class='org.eclipse.xtend.typesystem.uml2.Setup' in D:/Workspaces/Test_e4_2/ch.awi.mdsd.uml2.jpa.generator/src/w orkflow/generator.mwe:13; Reported by: -UNKNOWN-)
516 ERROR WorkflowRunner - [ERROR]: No getter or adder method for property 'standardUML2Setup' in clazz 'java.lang.Object' found.(Element: standardUML2Setup='true' in D:/Workspaces/Test_e4_2/ch.awi.mdsd.uml2.jpa.generator/src/w orkflow/generator.mwe:13; Reported by: -UNKNOWN-)
516 ERROR WorkflowRunner - [ERROR]: Class not found: 'org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel' (Element: bean bean class='org.eclipse.xtend.typesystem.uml2.profile.ProfileMeta Model' id='testProfile' in D:/Workspaces/Test_e4_2/ch.awi.mdsd.uml2.jpa.generator/src/w orkflow/generator.mwe:16; Reported by: -UNKNOWN-)
516 ERROR WorkflowRunner - [ERROR]: No getter or adder method for property 'profile' in clazz 'java.lang.Object' found.(Element: profile='platform:/resource/ch.awi.mdsd.uml2.jpa.generator/s rc/JpaProfile.uml' in D:/Workspaces/Test_e4_2/ch.awi.mdsd.uml2.jpa.generator/src/w orkflow/generator.mwe:17; Reported by: -UNKNOWN-)
516 ERROR WorkflowRunner - [ERROR]: Class not found: 'org.eclipse.xtend.typesystem.uml2.UML2MetaModel'(Element: bean metaModel class='org.eclipse.xtend.typesystem.uml2.UML2MetaModel' in D:/Workspaces/Test_e4_2/ch.awi.mdsd.uml2.jpa.generator/src/w orkflow/generator.mwe:30; Reported by: -UNKNOWN-)
-------------------
How should I configure the plug-in project, so the editor and the generator will be happy?
Thank for your help
Fredy
|
|
|
|
Re: [Xpand] typesystem.uml2 confuses xpand editor [message #541392 is a reply to message #541389] |
Sun, 20 June 2010 16:15  |
Eclipse User |
|
|
|
Hallo Christian
I work with xpand 0.7.0, the version from Helios 3.6.0 (Eclipse Modeling Tools).
I had configured to much metamodel contributors in the project (UML2, EMF and oAW). Now I have only UML2 and all the dings are working as expected.
Thank you very much
[Updated on: Sun, 20 June 2010 16:19] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03467 seconds