What happend to [message #1711490] |
Fri, 16 October 2015 12:28  |
Missing name Mising name Messages: 25 Registered: February 2010 |
Junior Member |
|
|
I had a worklfow in an old Projekt that was using XPand on UML model.
I didn't work with this project for a while when I try to run all the dependencies it has disappeared from Maven Repositories.
I try to adapt the libraries to the newer versions but even some classes are completely disappeared.
for ex.
org.eclipse.xtend.typesystem.uml2.UML2MetaModel and org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel
I can't find this classes anymore in Eclipse projects.
What should I do to make it work again, I think because these classes are disappeared there must be some major changes.
I checked this site but I can't see any useful pointers for my scenario.
https://www.eclipse.org/Xtext/documentation
My old workflow was looking something like this.
<?xml version="1.0" encoding="UTF-8"?>
<workflow>
<property file="workflow.properties" />
<bean class="org.eclipse.xtend.typesystem.uml2.Setup" standardUML2Setup="true" />
<bean class="org.eclipse.emf.mwe.utils.StandaloneSetup">
<platformUri value=".." />
</bean>
<bean id="uml" class="org.eclipse.xtend.typesystem.uml2.UML2MetaModel"/>
<bean id="datatype" class="org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel">
<profile value="platform:/resource/ssd/src/main/resources/model/Datatype.profile.uml"/>
</bean>
<bean id="java" class="org.eclipse.xtend.typesystem.uml2.profile.ProfileMetaModel">
<profile value="platform:/resource/ssd/src/main/resources/model/Java.profile.uml"/>
</bean>
<component class="org.eclipse.xtend.typesystem.emf.XmiReader">
<modelFile value="model/domain.uml" />
<outputSlot value="model" />
</component>
<component id="generator" class="org.eclipse.xpand2.Generator"
skipOnErrors="true">
<fileEncoding value="ISO-8859-1" />
<!--metaModel idRef="EmfMM" /-->
<metaModel idRef="uml" />
<metaModel idRef="datatype" />
<metaModel idRef="java" />
<expand value="template::Root::Root FOR model" />
<outlet path="src/generated/java" >
<postprocessor class="org.eclipse.xpand2.output.JavaBeautifier" />
</outlet>
</component>
</workflow>
PS. I was using Fornax Javabasic Cartridge also it seems that is also quite outdated, is there any other templates that I can use to create Java code now?
[Updated on: Fri, 16 October 2015 12:31] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02376 seconds