[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
Newsgroup Home
]
[news.eclipse.modeling.m2m] Re: Error ATL launch with Ant tasks
From
:
amivi.fagbegnon@xxxxxxxxx
(Amivi FAGBEGNON)
Date
: Wed, 30 Apr 2008 07:35:16 +0000 (UTC)
Newsgroups
:
eclipse.modeling.m2m
Organization
: Eclipse
User-agent
: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi,
Now I don't have any problem with plugins. After tests, I find that it's about the usage of XML library. Here is my ant tasks :
<project name="SFD2CAProto" default="loadModels">
<target name="loadModels">
<am3.loadModel modelHandler="EMF" name="KM3" metamodel="MOF" nsUri="uri:
http://www.eclipse.org/gmt/2005/KM3"/
>
<am3.loadModel modelHandler="EMF" name="XML" metamodel="MOF" path="../Metamodeles/XML.ecore"/>
<am3.loadModel modelHandler="EMF" name="UML2" metamodel="MOF" nsUri="uri:
http://www.eclipse.org/uml2/2.1.0/UML"/
>
<!--<am3.loadModel modelHandler="EMF" name="Parameters" metamodel="XML" path="../Modeles/Parametres/parametresProto-XML.ecore"/>-->
<am3.loadModel modelHandler="EMF" name="Params" metamodel="XML" path="../Modeles/Parametres/parametresProto.xml">
<injector name="xml"/>
</am3.loadModel>
<am3.loadModel modelHandler="EMF" name="InModel" metamodel="UML2" path="../Modeles/Bibliothèque/SpecificationsFonctionnelles.uml"/>
<am3.loadModel modelHandler="EMF" name="ProfileMAP" metamodel="UML2" path="../Metamodeles/Profiles/Conception/ProfileConceptionApplicativeMAP.uml"/>
<am3.loadModel modelHandler="EMF" name="ProfileMAS" metamodel="UML2" path="../Metamodeles/Profiles/Conception/ProfileConceptionApplicativeMAS.uml"/>
</target>
<target name="transform" depends="loadModels">
<am3.atl path="SFD2CAProto.atl">
<inModel name="SFD" model="InModel"/>
<inModel name="PROMAS" model="ProfileMAS"/>
<inModel name="PROMAP" model="ProfileMAP"/>
<inModel name="UML2" model="UML2"/>
<inModel name="Parameters" model="Params"/>
<inModel name="XML" model="XML"/>
<library name="XMLHelpers" path="/Librairies/XMLHelpers.asm"/>
<outModel name="CA" model="CAmodel" metamodel="UML2"/>
</am3.atl>
<mkdir dir="../Output-proto/" /> <eclipse.refreshLocal resource="SFD2CA" depth="infinite" /> <am3.saveModel model="CAmodel" path="../Output-proto/CAmodel.uml"/>
</target>
</project>
When I delete "<library name="XMLHelpers" path="/Librairies/XMLHelpers.asm"/>" I don't have errors...
References
:
[news.eclipse.modeling.m2m] Error ATL launch with Ant tasks
From:
Amivi FAGBEGNON
[news.eclipse.modeling.m2m] Re: Error ATL launch with Ant tasks
From:
Hugo Bruneliere
[news.eclipse.modeling.m2m] Re: Error ATL launch with Ant tasks
From:
Amivi FAGBEGNON
Prev by Date:
[news.eclipse.modeling.m2m] Generate UML2 model using api
Next by Date:
[news.eclipse.modeling.m2m] Re: [ATL] Re: Two metamodels into one
Previous by thread:
[news.eclipse.modeling.m2m] Re: Error ATL launch with Ant tasks
Next by thread:
[news.eclipse.modeling.m2m] [ATL] launching a transformation programmatically using the UML2.1 metamodel
Index(es):
Date
Thread