|
|
|
|
|
|
Re: [ANT] standalone workflow exception [message #1411087 is a reply to message #1410818] |
Fri, 22 August 2014 10:57 |
|
Hi Abdu,
This was a tricky one. The UML metamodel is a bit more "special" than regular Ecore metamodels. As such, Epsilon provides a dedicated driver for loading UML models [1]. To make use of the UML driver you'd need to replace your epsilon.emf.loadModel task with the following and add the org.eclipse.epsilon.emc.uml plugin JAR, and all the relevant org.eclipse.uml.* plugin JARS (I added all of them just to be on the safe side) to your lib folder. Unfortunately, this will not work with the current version of the Epsilon JARs/plugins, but it should work fine with 1.2 which will be available shortly. Apologies for any inconvenience caused.
<epsilon.loadModel name="uml_statechart" type="UML" impl="org.eclipse.epsilon.emc.uml.UmlModel">
<parameter name="modelFile" value="${outputfile_umlsc}"/>
<parameter name="readOnLoad" value="false"/>
</epsilon.loadModel>
Cheers,
Dimitris
[1] https://dev.eclipse.org/svnroot/modeling/org.eclipse.epsilon/trunk/plugins/org.eclipse.epsilon.emc.uml/src/org/eclipse/epsilon/emc/uml/UmlModel.java
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02856 seconds