Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] uml2 model/profile in transformation
[ATL] uml2 model/profile in transformation [message #57533] Sat, 11 August 2007 11:58 Go to next message
Eclipse UserFriend
Originally posted by:

Hi all,

Does anyone know how to load a uml2 model or profiled model (created in
uml2 editor) using ANT so that it can be used in a transformation to
output a uml profiled model.

ANT i have:

<target name="LM_WSDLToUMLClass">

<am3.loadModel modelHandler="EMF" name="UML2" metamodel="MOF"
<am3.loadModel modelHandler="EMF" name="umlModel" metamodel="UML2"

<am3.loadModel modelHandler="EMF" name="XML" metamodel="MOF"
<am3.loadModel modelHandler="EMF" name="wsdl1" metamodel="XML"
<am3.loadModel modelHandler="EMF" name="wsdl2" metamodel="XML"


<target name="TF_WSDLToUMLClass" description="Perform WSDLToUMLClass
transform" depends="LM_WSDLToUMLClass">
<am3.atl path="Transforms/XMLtoUML.atl">
<inModel name="XML" model="XML"/>
<inModel name="IN" model="wsdl1"/>
<inModel name="IN2" model="wsdl2"/>
<inModel name="UML" model="umlModel"/>
<outModel name="OUT" model="outModel" metamodel="UML2"
<am3.saveModel model="outModel" path="Models/y.ecore"/>

ATL header:

module XMLtoUML; -- Module Template
create OUT : UML from IN : XML, IN2 : XML;

thanks a lot in advance!

Re: [ATL] uml2 model/profile in transformation [message #57558 is a reply to message #57533] Sat, 11 August 2007 12:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by:

meant to say i get:

[am3.atl] java.lang.IllegalArgumentException:

when i run it!


Re: [ATL] uml2 model/profile in transformation [message #57632 is a reply to message #57558] Mon, 13 August 2007 17:08 Go to previous message
beaperez Mising name is currently offline beaperez Mising nameFriend
Messages: 81
Registered: July 2009
Hello Gerard,
as Hugo told me in sg01323.html,
you can use the build-3-xxx.xml file from atedUmlStateCharts/
to inspire you. It helped me!! And don't forget to use de UML model
handler!! instead of the EMF to load a UML model!!

Best regards,

"Gerard" <> escribi
Previous Topic:[ATL] EMF named references supported ?
Next Topic:[ATL] [Announce] ATL 2.0.0RC2 is available
Goto Forum:

Current Time: Thu Jan 21 06:35:40 GMT 2021

Powered by FUDForum. Page generated in 0.02307 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top