Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] How to create a model handler for UML2 in Eclipse 3.1
[ATL] How to create a model handler for UML2 in Eclipse 3.1 [message #49866] Wed, 27 June 2007 19:00 Go to next message
beaperez Mising name is currently offline beaperez Mising nameFriend
Messages: 81
Registered: July 2009
Member
Hello,
Anybody knows how I can create a model handler for UML2 using:
Eclipse 3.1
UML2 1.1.1

I have tried to checkout the "uml24atl" driver from
the Eclipse CVS but it needs to have installed the org.eclipse.uml2.uml.jar
plugin and I think that it is not available in the uml2 1.1.1 version.

I am a bit lost, I would be very grateful if anybody could help me.

Bea
Re: [ATL] How to create a model handler for UML2 in Eclipse 3.1 [message #50605 is a reply to message #49866] Wed, 04 July 2007 08:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Hugo.Bruneliere.univ-nantes.fr

Bea a écrit :
> Hello,

Hello Bea,

> Anybody knows how I can create a model handler for UML2 using:
> Eclipse 3.1
> UML2 1.1.1
>
> I have tried to checkout the "uml24atl" driver from
> the Eclipse CVS but it needs to have installed the org.eclipse.uml2.uml.jar
> plugin and I think that it is not available in the uml2 1.1.1 version.
>
> I am a bit lost, I would be very grateful if anybody could help me.
>

We have committed an updated version of the "uml24atl" driver by the end
of last Friday afternoon. In this latest version, we have deleted the
explicit dependence to the org.eclipse.uml2.uml plugin.

It works well with the current versions of Eclipse & UML2 and we are
interested in knowing if it may also solve your problem.

Have you checked out this latest version and tested it with your version
s of Eclipse & UML2?

> Bea
>
>

Best regards,

Hugo


--
--------------------------------------------------------
Hugo Bruneliere - R&D Engineer
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssiniere
44322 Nantes Cedex 3 - France
office +33 2 51 12 58 10 /\ cell.+33 6 07 42 45 30
EMail: Hugo.Bruneliere@univ-nantes.fr
http://www.sciences.univ-nantes.fr/lina/atl/
--------------------------------------------------------
Re: [ATL] How to create a model handler for UML2 in Eclipse 3.1 [message #50738 is a reply to message #50605] Wed, 04 July 2007 12:17 Go to previous messageGo to next message
beaperez Mising name is currently offline beaperez Mising nameFriend
Messages: 81
Registered: July 2009
Member
Hello Hugo,
sorry but I have not written because the last friday I tried with the
updated version and I got another error. The problem I have with the Eclipse
3.1 is related to the org.eclipse.m2m.atl.adt.editor plugin (Now I don't
have any problem with the uml24atl plugin, thank you!!!!). When I check out
this plugin, I get another error with the
org.eclipse.core.runtime.ListenerList plugin because the class
AtlOutlinePage doesn't find it.

Now I am redifining my ATL transformations using UML2 2.0.1 and Eclipse 3.2,
in order not to have those errors :).

Do you know why I have that problem with the org.eclipse.m2m.atl.adt.editor
plugin?

Thank you very much Hugo for your help.
Bea




"Hugo Bruneliere" <Hugo.Bruneliere@univ-nantes.fr> escribi
Re: [ATL] How to create a model handler for UML2 in Eclipse 3.1 [message #53182 is a reply to message #50738] Wed, 18 July 2007 15:34 Go to previous messageGo to next message
beaperez Mising name is currently offline beaperez Mising nameFriend
Messages: 81
Registered: July 2009
Member
Hello, I am trying to run an ATL transformation from an Ant script. I am
using:
- Eclipse 3.3
- EMF 2.3
- UML2 2.1

I have also installed ATL and AM3 from CVS. The ATL transformation applies a
profile to a target class diagram, so I need the UML2 model handler. I have
the following problems:

1- When I try to run the atl transformation using an ATL project, I don't
have any problem if I use the EMF model handler. But, if I use the UML2
model handler, I get a window telling me that an internal error ocurried
during launching, and the stereotypes are not applied to the target model.

2- When I try to run the atl transformation using an ant script:
- if I load the models using the UML2 model handler I get the error:

loadMetaModels:

[am3.loadModel] Loading of model UML2


transfo:

[am3.loadModel] Loading of model PRO

[am3.loadModel] Loading of model IN

[am3.atl] Executing ATL transformation
/Plugin/src/plugin/popup/actions/ATLFiles/Primera/Statechart ToClass.asm

[am3.atl] java.lang.NullPointerException


- if I load the models without specifying the model handler (EMF), I get the
error :
loadMetaModels:

[am3.loadModel] Loading of model UML2


transfo:

[am3.loadModel] Loading of model PRO

[am3.loadModel] Loading of model IN

[am3.atl] Executing ATL transformation
/Plugin/src/plugin/popup/actions/ATLFiles/Primera/Statechart ToClass.asm

[am3.atl] ****** BEGIN Stack Trace

[am3.atl] message: ERROR: OclUndefined has no property



Does anybody know where is my problem?

Bea




"Bea" <beaperez@unizar.es> escribi
Re: [ATL] How to create a model handler for UML2 in Eclipse 3.1 [message #53208 is a reply to message #53182] Wed, 18 July 2007 15:45 Go to previous message
beaperez Mising name is currently offline beaperez Mising nameFriend
Messages: 81
Registered: July 2009
Member
In the first Eclipse launch (with the ANT script and the UML2 model handler)
I get the error:

INFO: Loading of model UML2

INFO: Loading of model PRO

INFO: Loading of model IN

INFO: Executing ATL transformation
/Plugin/src/plugin/popup/actions/ATLFiles/Primera/Statechart ToClass.asm

GRAVE: ****** BEGIN Stack Trace

GRAVE: exception:

GRAVE: null

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)



"Bea" <beaperez@unizar.es> escribi
Previous Topic:[ATL] Charging models dynamically in an ATL transformation
Next Topic:Help with TaggedValues
Goto Forum:
  


Current Time: Thu Jan 21 05:46:18 GMT 2021

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

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

Back to the top