Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » Set the path for UML source model
Set the path for UML source model [message #77503] Wed, 26 March 2008 14:36 Go to next message
Rasha is currently offline RashaFriend
Messages: 61
Registered: July 2009
Member
I use ATL for model transformation. Both the source and target metemodels
are UML. The source model is a UML file created by Papyrus tool. When I
run a new ALT configuration and try to set the path for the model, it
doesn't show the UML file. It shows the ecore files only.

There are many use cases in ATL website specify the source models in UML
file.

How can I set the path for UML source model and for UML metamodel using
"uri:http://www.eclipse.org/uml2/2.0.0/UML"/

Any help is greatly appreciated,

Rasha
Re: Set the path for UML source model [message #77612 is a reply to message #77503] Thu, 27 March 2008 09:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Hugo.Bruneliere.univ-nantes.fr

This is a multi-part message in MIME format.
--------------080907040201060902030004
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Rasha,

The first thing when using the ATL launch configuration creation wizard
is to select the name of the concerned project and the ATL file to
launch. The different fields of the wizard will be then automatically
updated.

After that you can choose your source/target metamodels (in your case
the UML2 metamodel by clicking on the "EMF Registry" button, of course
the UML2 plugins need to be installed in your Eclipse).
You can also choose your input/output models (in your case both are UML2
models) by clicking on the corresponding "Workspace" buttons.

I put attached a screenshot of a sample launch configuration for a
UML2-to-UML2 ATL transformation.

Best regards,

Hugo

Rasha a
Re: Set the path for UML source model [message #77760 is a reply to message #77612] Thu, 27 March 2008 19:53 Go to previous messageGo to next message
Rasha is currently offline RashaFriend
Messages: 61
Registered: July 2009
Member
Hugo Bruneliere wrote:

> Hi Rasha,

> The first thing when using the ATL launch configuration creation wizard
> is to select the name of the concerned project and the ATL file to
> launch. The different fields of the wizard will be then automatically
> updated.

> After that you can choose your source/target metamodels (in your case
> the UML2 metamodel by clicking on the "EMF Registry" button, of course
> the UML2 plugins need to be installed in your Eclipse).
> You can also choose your input/output models (in your case both are UML2
> models) by clicking on the corresponding "Workspace" buttons.

> I put attached a screenshot of a sample launch configuration for a
> UML2-to-UML2 ATL transformation.

> Best regards,

> Hugo

> Rasha a écrit :
>> I use ATL for model transformation. Both the source and target
>> metemodels are UML. The source model is a UML file created by Papyrus
>> tool. When I run a new ALT configuration and try to set the path for the
>> model, it doesn't show the UML file. It shows the ecore files only.
>>
>> There are many use cases in ATL website specify the source models in UML
>> file.
>>
>> How can I set the path for UML source model and for UML metamodel using
>> "uri:http://www.eclipse.org/uml2/2.0.0/UML"/
>>
>> Any help is greatly appreciated,
>>
>> Rasha
>>
>>


Hi Hugo,

Thanks so much for your help. The problem that I don’t have the same ATL
launch configuration wizard as yours. The one I get is the same as in the
ATL Starter’s Guide file. I attached the 2 figures in a file. In this
wizard, I don’t have the "EMF Registry" button. I set the path for the
UML2 metamodel by clicking on the “Metamodel by URI” and select
http://www.eclipse.org/uml2/2.0.0/UML from the list. I don’t have also
"Workspace" buttons. The only choice to set the source/target model path
is through the set path which only shows the ecore files. I followed the
installation steps as in the ATL_Installation_Guide file. How can I get
your ATL launch configuration wizard? Is there is another update version
of ATL I have to install? I have already the UML2 plugins installed in my
Eclipse.

I greatly appreciate your help,

Rasha
Re: Set the path for UML source model [message #77776 is a reply to message #77612] Thu, 27 March 2008 19:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rtawhid.connect..carleton.ca

Hi Hugo,

Thanks so much for your help. The problem that I don’t have the same ATL
launch configuration wizard as yours. The one I get is the same as in the
ATL Starter’s Guide file. Unfortunately, there is no way to attach the
figures. In this wizard, I don’t have the "EMF Registry" button. I set the
path for the UML2 metamodel by clicking on the “Metamodel by URI” and
select http://www.eclipse.org/uml2/2.0.0/UML from the list. I don’t have
also "Workspace" buttons. The only choice to set the source/target model
path is through the set path which only shows the ecore files. I followed
the installation steps as in the ATL_Installation_Guide file. How can I
get your ATL launch configuration wizard? Is there is another update
version of ATL I have to install? I have already the UML2 plugins
installed in my Eclipse.

I greatly appreciate your help,

Rasha
Re: Set the path for UML source model [message #77808 is a reply to message #77776] Fri, 28 March 2008 10:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Hugo.Bruneliere.univ-nantes.fr

Hi Rasha,

You can get the latest version of ATL from
http://www.eclipse.org/modeling/m2m/downloads/index.php?proj ect=atl

Don't worry about the versions of Eclipse, EMF and UML2 which are
mentioned on this page. As far as we know, this latest ATL version works
properly with Eclipse 3.3, EMF 2.3 and UML2 2.1 (this is one of the
configuration I'm also using).

Best regards,

Hugo

Rasha a écrit :
> Hi Hugo,
>
> Thanks so much for your help. The problem that I don�t have the same ATL
> launch configuration wizard as yours. The one I get is the same as in
> the ATL Starter�s Guide file. Unfortunately, there is no way to attach
> the figures. In this wizard, I don�t have the "EMF Registry" button. I
> set the path for the UML2 metamodel by clicking on the �Metamodel by
> URI� and select http://www.eclipse.org/uml2/2.0.0/UML from the list. I
> don�t have also "Workspace" buttons. The only choice to set the
> source/target model path is through the set path which only shows the
> ecore files. I followed the installation steps as in the
> ATL_Installation_Guide file. How can I get your ATL launch configuration
> wizard? Is there is another update version of ATL I have to install? I
> have already the UML2 plugins installed in my Eclipse.
>
> I greatly appreciate your help,
>
> Rasha
>
>
>
>


--
--------------------------------------------------------
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: Set the path for UML source model [message #77879 is a reply to message #77808] Fri, 28 March 2008 17:55 Go to previous messageGo to next message
Rasha is currently offline RashaFriend
Messages: 61
Registered: July 2009
Member
Hi Hugo,

Thanks so much, I got now the same configuration as you. But when I
created a new ATL file, it didn’t create the corresponding asm file as the
old version does. Is this OK or there is something wrong?

Thanks again for your help and have a great weekend,

Rasha
Re: Set the path for UML source model [message #77925 is a reply to message #77879] Sun, 30 March 2008 15:28 Go to previous message
Eclipse UserFriend
Originally posted by: freddy.allilaire.univ-nantes.fr

This is a multi-part message in MIME format.
--------------000507070007050001080200
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi Rasha,

Maybe your project doesn't have ATL nature.

Regards,
Freddy.

Rasha a écrit :
> Hi Hugo,
>
> Thanks so much, I got now the same configuration as you. But when I
> created a new ATL file, it didn�t create the corresponding asm file as
> the old version does. Is this OK or there is something wrong?
>
> Thanks again for your help and have a great weekend,
>
> Rasha
>


--------------000507070007050001080200
Content-Type: text/x-vcard; charset=utf-8;
name="freddy.allilaire.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="freddy.allilaire.vcf"

YmVnaW46dmNhcmQNCmZuOkZyZWRkeSBBbGxpbGFpcmUNCm46QWxsaWxhaXJl O0ZyZWRkeQ0K
b3JnOk9CRU8NCmFkcjo7OztOYW50ZXM7OzQ0NDAwO0ZyYW5jZQ0KZW1haWw7 aW50ZXJuZXQ6
ZnJlZGR5LmFsbGlsYWlyZUBvYmVvLmZyDQp0aXRsZTpSJkQgRW5naW5lZXIN CnVybDpodHRw
Oi8vd3d3Lm9iZW8uZnINCnZlcnNpb246Mi4xDQplbmQ6dmNhcmQNCg0K
--------------000507070007050001080200--
Previous Topic:[ATL] MDR compatibility
Next Topic:[ATL] Wrapping sourcemodelelements
Goto Forum:
  


Current Time: Fri Apr 19 18:13:13 GMT 2024

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

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

Back to the top