Author Topic: Code Grammer + MDG  (Read 2860 times)

TxRx

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Code Grammer + MDG
« on: December 13, 2023, 12:46:04 am »
I can create a new Code Grammer and I can add the new Code Grammer to an MDG technology. The new language appears on the list of languages in the preferences dialog and all seems well except that I cannot import source code for the new language, the language never appears in the list of languages for Import Source Directory. How do I reverse engineer my new language into EA using my new Code Grammer?

Thanks.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +564/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Code Grammer + MDG
« Reply #1 on: December 13, 2023, 01:19:33 am »
You might have either missed one of the required parts for your MDG https://sparxsystems.com/enterprise_architect_user_guide/16.1/modeling_frameworks/addingcodemodulesinmdgtec.html
Or possibly, you might have an error somewhere that prevents it from working correctly.

Unfortunately, EA won't tell you what went wrong, you'll have to figure it out yourself.
I would start by analysing an existing MDG that you know works, and then try to figure out the differences between the working sample, and yours.

Geert

TxRx

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Code Grammer + MDG
« Reply #2 on: December 14, 2023, 07:25:14 pm »
Thanks for the advice, fixed it.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13387
  • Karma: +564/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Code Grammer + MDG
« Reply #3 on: December 14, 2023, 08:02:45 pm »
Thanks for the advice, fixed it.
Any chance you can share what went wrong, and what you did to fix it?

If a future user stumbles upon this topic, searching for a solution, they would be pretty dissappointed with a "I fixed it"  :)

Geert