Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [MOFScript] input metamodel and preference page
[MOFScript] input metamodel and preference page [message #384790] Fri, 15 August 2008 08:15 Go to next message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
Hello,
I have installed MOFScript on my computer and when I open the MofScript
Preferences,it warns 'Values must be an existing directory' and the
'Apply' and 'OK' buttons are not activated.Even if I make changes to the
pathes.the OK button is not activated.Is it necessary to make changes to
the MOFScript Prefences?
In addition,I wonder whether the form of the input metamodel must be
'http://www.eclipse.org/emf/2002/Ecore'
Re: [MOFScript] input metamodel and preference page [message #384793 is a reply to message #384790] Fri, 15 August 2008 09:46 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 Ye,

Try using the browse functionality, and select some valid location e.g.

Metamodels:
\eclipse\plugins\org.eclipse.mofscript.editor_1.3.0\reposito ry\metamodels
Models: \Workspaces\runtime-EclipseApplication(1)
Transformations:
eclipse\plugins\org.eclipse.mofscript.editor_1.3.0\repositor y\transformations
etc

Use right-click on the transformation file and choose properties to set the
output location of the generated files

It should not be necessary to change the values.

The input model can be ecore, uml, or whatever models based on EMF

Cheers,
G
Re: [MOFScript] input metamodel and preference page [message #384795 is a reply to message #384793] Fri, 15 August 2008 10:48 Go to previous messageGo to next message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
Hello,
I have tried your suggestion.but they still don't work.Is it because
those pathes are not allowed to change so the 'Apply ' and 'Ok' are
inactivated?


Thanks a lot!

Ye
Re: [MOFScript] input metamodel and preference page [message #384797 is a reply to message #384795] Fri, 15 August 2008 18:17 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,

No, the paths are allowed to change. It only tells where to look for
additional metamodels, where to start when you are about to select a model
for a transformation etc..

I really do not understand that this does not work, if you; click on the
browse button, browses to any valid directory and do this for all the
fields, (metamodel, model, transformation, root gen dir)

If this does not work, could you please take a PrintScreen and send me the
image so I can look at the fields. I have never experienced this.

Best Regards,
G
Re: [MOFScript] input metamodel and preference page [message #384802 is a reply to message #384797] Tue, 19 August 2008 06:30 Go to previous message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
Hello Gøran,
Thank you for your kind help.The preference works now under the help of
my IT support.He said he just try different configuration and finally
succeed.


thank you very much!
Ye Liu
Re: [MOFScript] input metamodel and preference page [message #619693 is a reply to message #384790] Fri, 15 August 2008 09:46 Go to previous message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello Ye,

Try using the browse functionality, and select some valid location e.g.

Metamodels:
\eclipse\plugins\org.eclipse.mofscript.editor_1.3.0\reposito ry\metamodels
Models: \Workspaces\runtime-EclipseApplication(1)
Transformations:
eclipse\plugins\org.eclipse.mofscript.editor_1.3.0\repositor y\transformations
etc

Use right-click on the transformation file and choose properties to set the
output location of the generated files

It should not be necessary to change the values.

The input model can be ecore, uml, or whatever models based on EMF

Cheers,
G
Re: [MOFScript] input metamodel and preference page [message #619696 is a reply to message #384793] Fri, 15 August 2008 10:48 Go to previous message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
Hello,
I have tried your suggestion.but they still don't work.Is it because
those pathes are not allowed to change so the 'Apply ' and 'Ok' are
inactivated?


Thanks a lot!

Ye
Re: [MOFScript] input metamodel and preference page [message #619697 is a reply to message #384795] Fri, 15 August 2008 18:17 Go to previous message
Gøran K. Olsen is currently offline Gøran K. OlsenFriend
Messages: 184
Registered: July 2009
Senior Member
Hello,

No, the paths are allowed to change. It only tells where to look for
additional metamodels, where to start when you are about to select a model
for a transformation etc..

I really do not understand that this does not work, if you; click on the
browse button, browses to any valid directory and do this for all the
fields, (metamodel, model, transformation, root gen dir)

If this does not work, could you please take a PrintScreen and send me the
image so I can look at the fields. I have never experienced this.

Best Regards,
G
Re: [MOFScript] input metamodel and preference page [message #619707 is a reply to message #384797] Tue, 19 August 2008 06:30 Go to previous message
yeliu is currently offline yeliuFriend
Messages: 145
Registered: July 2009
Senior Member
Hello Gøran,
Thank you for your kind help.The preference works now under the help of
my IT support.He said he just try different configuration and finally
succeed.


thank you very much!
Ye Liu
Previous Topic:[MOFscript] how can i get run a downloaded example?
Next Topic:[MOFscript]: where can i find the mofscriptrepository?
Goto Forum:
  


Current Time: Wed Apr 24 18:27:44 GMT 2024

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

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

Back to the top