Book a Demo

Author Topic: File type and new programming languages  (Read 3993 times)

Thomas_Arnbjerg

  • EA User
  • **
  • Posts: 80
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
File type and new programming languages
« on: January 25, 2011, 08:31:09 pm »
It should be possible to associate a default file type with a custom programming language.

I'm auto generating shell scripts using MDA transformations and code generating templates, but when I invoke the code generation the default file name is '<class name>.'

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: File type and new programming languages
« Reply #1 on: January 26, 2011, 09:56:52 am »
The default file extension can be defined when you build your language into an MDG Technology file.  See the DefaultExtension property on the following user guide page:
http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/modeling_languages/addingcodemodulesinmdgtec.html
« Last Edit: January 26, 2011, 09:57:07 am by AaronB »

Thomas_Arnbjerg

  • EA User
  • **
  • Posts: 80
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: File type and new programming languages
« Reply #2 on: January 26, 2011, 07:32:03 pm »
Works like a charm. Thanks!