|
Re: Running a QVT transformation headless or from JUnit [message #1783995 is a reply to message #1783993] |
Wed, 21 March 2018 06:18  |
Eclipse User |
|
|
|
Hi
The Eclipse QVTo project JUnit tests provide many examples, but they're hard to follow since they have smart configuration files to allow the same test code to support hundreds of tests.
(Eclipse QVTo provides Ant facilities but I really wouldn't recommend using Ant when MWE2 is so much better.)
GIT\org.eclipse.ocl\examples\org.eclipse.ocl.examples.build\src\org\eclipse\ocl\examples\build\utilities\QVToTransformationExecutor.java
is a Java bean that enables a QVTo transformation to be used within an MWE2 script. It is used by the auto-generation of the OCL Pivot.ecore and Java classes from UML.xmi + OCL.uml + MDTOCL.uml.
Regards
Ed Willink
|
|
|
Powered by
FUDForum. Page generated in 0.25005 seconds