Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » MOFScript » [MOFScript] Is there any way of configuring MOF Script to load metamodels from different paths?
[MOFScript] Is there any way of configuring MOF Script to load metamodels from different paths? [message #487886] Thu, 24 September 2009 17:00 Go to next message
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
Hi,

I'm working with different projects and I usually define the
following directory structure.

Project
|
|----metamodel
|----model
|----transformations

The problem is that every time I want to change the project, I also
have to change the MofScript Preferences configuracion. I haven't found
any way of specifying different paths for different metamodels,
transformations, and so on. Is there any way to do this or to attach the
preferences to a concrete project?

Best regards,
Toñi
Re: [MOFScript] Is there any way of configuring MOF Script to load metamodels from different paths? [message #489018 is a reply to message #487886] Thu, 01 October 2009 08:53 Go to previous messageGo to next message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello To
Re: [MOFScript] Is there any way of configuring MOF Script to load metamodels from different paths? [message #489168 is a reply to message #489018] Thu, 01 October 2009 16:51 Go to previous messageGo to next message
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
But all the preferences, metamodel path, model path and transformation
path??

Gøran K. Olsen escribió:
> Hello Toñi,
>
> No there is not a way to do this. Normally I just set the preferences to the
> Workspace location.
>
> /Gøran
>
> "Toñi Reina Quintero" <reinaqu@lsi.us.es> wrote in message
> news:h9g8jg$dt$1@build.eclipse.org...
>> Hi,
>>
>> I'm working with different projects and I usually define the following
>> directory structure.
>>
>> Project
>> |
>> |----metamodel
>> |----model
>> |----transformations
>>
>> The problem is that every time I want to change the project, I also
>> have to change the MofScript Preferences configuracion. I haven't found
>> any way of specifying different paths for different metamodels,
>> transformations, and so on. Is there any way to do this or to attach the
>> preferences to a concrete project?
>>
>> Best regards,
>> Toñi
>
>
Re: [MOFScript] Is there any way of configuring MOF Script to load metamodels from different paths? [message #490569 is a reply to message #489168] Fri, 09 October 2009 08:45 Go to previous message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello,
I set the model and the transformation path to the workspace. The metamodel
path I set to a directory where I have collected the metamodels that are not
in the platform (or I use some plugin to load them manually e.g. ATL or
EPSILON).

This approach normally means that I will have to navigate 2-3 levels (the
first time i execute) depending on the structure of my project.

Cheers,
G
Re: [MOFScript] Is there any way of configuring MOF Script to load metamodels from different paths? [message #580070 is a reply to message #487886] Thu, 01 October 2009 08:53 Go to previous message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello To
Re: [MOFScript] Is there any way of configuring MOF Script to load metamodels from different paths? [message #580089 is a reply to message #489018] Thu, 01 October 2009 16:51 Go to previous message
Toñi  Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
But all the preferences, metamodel path, model path and transformation
path??

Gøran K. Olsen escribió:
> Hello Toñi,
>
> No there is not a way to do this. Normally I just set the preferences to the
> Workspace location.
>
> /Gøran
>
> "Toñi Reina Quintero" <reinaqu@lsi.us.es> wrote in message
> news:h9g8jg$dt$1@build.eclipse.org...
>> Hi,
>>
>> I'm working with different projects and I usually define the following
>> directory structure.
>>
>> Project
>> |
>> |----metamodel
>> |----model
>> |----transformations
>>
>> The problem is that every time I want to change the project, I also
>> have to change the MofScript Preferences configuracion. I haven't found
>> any way of specifying different paths for different metamodels,
>> transformations, and so on. Is there any way to do this or to attach the
>> preferences to a concrete project?
>>
>> Best regards,
>> Toñi
>
>
Re: [MOFScript] Is there any way of configuring MOF Script to load metamodels from different paths? [message #580105 is a reply to message #489168] Fri, 09 October 2009 08:45 Go to previous message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello,
I set the model and the transformation path to the workspace. The metamodel
path I set to a directory where I have collected the metamodels that are not
in the platform (or I use some plugin to load them manually e.g. ATL or
EPSILON).

This approach normally means that I will have to navigate 2-3 levels (the
first time i execute) depending on the structure of my project.

Cheers,
G
Previous Topic:[MOFScript] Is there any way of configuring MOF Script to load metamodels from different paths?
Next Topic:MOFScript and UML State machines
Goto Forum:
  


Current Time: Fri Mar 29 15:34:17 GMT 2024

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

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

Back to the top