Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Changing the DSL file extension
icon5.gif  Changing the DSL file extension [message #659531] Mon, 14 March 2011 12:47 Go to next message
Horacio Hoyos is currently offline Horacio HoyosFriend
Messages: 242
Registered: October 2009
Location: Mexico
Senior Member

Hello,

I want to change my DSL file extension. I went to the mwe2 workflow and changed the line:

var file.extensions = "rsko"


to

var file.extensions = "rsk"


Removed generated code, and re run the workflow.

However when I run the project as an eclipse application, the old file extension is the one recognized. Any ideas what else do I have to change to make it work?

Thanks,




Horacio Hoyos Rodriguez
Kinori Tech
Need professional support for Epsilon, EMF?
Go to: https://kinori.tech
Re: Changing the DSL file extension [message #659532 is a reply to message #659531] Mon, 14 March 2011 12:48 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

you may still have to do some manual merges regarding plugin.xml/plugin.xml_gen

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Changing the DSL file extension [message #659538 is a reply to message #659532] Mon, 14 March 2011 13:33 Go to previous messageGo to next message
Horacio Hoyos is currently offline Horacio HoyosFriend
Messages: 242
Registered: October 2009
Location: Mexico
Senior Member

I have looked at the plugin.xml and xml_gen, but haven't been able to identify what part of it affects the file extension association.

Horacio


Horacio Hoyos Rodriguez
Kinori Tech
Need professional support for Epsilon, EMF?
Go to: https://kinori.tech
Re: Changing the DSL file extension [message #659540 is a reply to message #659538] Mon, 14 March 2011 13:38 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
hi,

if you did not do any changes to plugin.xml just copy and paste the complete plugin.xml_gen to the plugin.xml. (of the ui project)

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Mon, 14 March 2011 13:39]

Report message to a moderator

Re: Changing the DSL file extension [message #659586 is a reply to message #659538] Mon, 14 March 2011 16:58 Go to previous message
Jan Koehnlein is currently offline Jan KoehnleinFriend
Messages: 760
Registered: July 2009
Location: Hamburg
Senior Member
Select both and choose
Compare with... -> Each other
from the context menu

Am 14.03.11 14:33, schrieb Horacio:
> I have looked at the plugin.xml and xml_gen, but haven't been able to
> identify what part of it affects the file extension association.
>
> Horacio


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com


---
Get professional support from the Xtext committers at www.typefox.io
Previous Topic:[Xtext] implement toString() with the ParseTreeConstructor
Next Topic:Validation of several models (with dependencies between them)
Goto Forum:
  


Current Time: Thu Apr 25 23:20:51 GMT 2024

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

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

Back to the top