--- a
+++ b/eu.opensourceprojects.mondo.benchmarks.itmfactory/build/build-kdm2uml.xml
@@ -0,0 +1,41 @@
+<!--
+/********************************************************************************
+ * Copyright (c) 2007 INRIA.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * INRIA - Initial implementation
+ *
+ ******************************************************************************/
+-->
+
+<!-- author: BENELALLAM Amine -->
+
+<!-- How to configure this ant script:
+ Run as->Ant Build...
+ Set:
+ - Run in same JRE
+-->
+
+<project name="kdm2umlTrans" default="transform">
+ <taskdef resource="net/sf/antcontrib/antlib.xml" classpath="../libs/ant-contrib-1.0b3.jar" />
+ <target name="transform">
+ <antcall target="kdm2uml"/>
+ </target>
+
+ <target name="kdm2uml">
+ <atl.loadModel modelHandler="EMF" name="kdm" metamodel="MOF" path="../models/kdm.ecore" />
+ <atl.loadModel modelHandler="EMF" name="uml" metamodel="MOF" path = "../models/uml.ecore" />
+ <atl.loadModel modelHandler="EMF" name="kdmModel" metamodel="kdm" path="../inputs/set1.kdm.xmi" />
+ <atl.launch path="../transformations/KDMtoUML.asm" refining="true">
+ <inmodel name = "IN" model = "kdmModel"/>
+ <outmodel name="OUT" model="umlModel" metamodel = "uml"/>
+ <option name="allowInterModelReferences" value="true"/>
+ </atl.launch>
+ <atl.saveModel model="umlModel" path="../outputs/set1.uml.xmi"/>
+ </target>
+</project>
+