Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Martin Terreni on August 21, 2008, 04:42:21 pm

Title: New lenguage file extention
Post by: Martin Terreni on August 21, 2008, 04:42:21 pm
How do I set the extention of a new lenguage in code generation template?
Title: Re: New lenguage file extention
Post by: «Midnight» on August 21, 2008, 11:07:13 pm
I think I saw an answer by one of the Sparxians - quite a while ago - that said you cannot do this for new languages.

I could be wrong on this, or they might have changed it since. Still, I don't see anyplace where you could set this for new languages.


[edit]I am wrong on this; it has certainly been addressed by Sparx. Please see the solution below, as well as a note on where to find documentation.[/edit]

David

Which renders the following irrelevant.
PS: I wonder if you could 'fake' it by changing the properties of elements and containing packages. It would require an add-in or automation project of some kind, but it might work well enough.
Title: Re: New lenguage file extention
Post by: Eve on August 22, 2008, 08:32:50 am
It's been possible for some time, and a search on this forum should have found that you can use an MDG technology. http://www.sparxsystems.com.au/EAUserGuide/addingcodemodulesinmdgtec.htm

However, new and nifty for build 832 is that languages specified by MDG technologies show up in the options dialog alongside the built in languages allowing you the user to customize EA's handling of them.
Title: Re: New lenguage file extention
Post by: RoyC on August 22, 2008, 09:22:56 am
Look in the product installer version of the Help:

Code Engineering > Code Engineering Settings > Language Options > Options - MDG Technology Languages

This topic links to the topics for MDG Technologies and adding a code module to an MDG Technology.

Sorry, the web browser version of the Help hasn't caught up yet.
Title: Re: New lenguage file extention
Post by: Martin Terreni on August 25, 2008, 12:50:42 am
Grate help, thanks.