Book a Demo

Author Topic: Code generation giving wrong file extension for class after language change  (Read 3381 times)

AJFleming

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Hi -

new user, so be gentle.

I'm trying to generate code from a model which I've developed. First time through, I found that one of the classes was marked as being python, and it generated a .py file - even though the rest of the model was Java. I changed the language of the class to Java and generated the code again - and the class in question still generates a .py file - even though it's java inside.

Anyone else seen this?

Cheers,

Adam

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Changing the language doesn't remove or change the existing filename setting. Just set it again before generating and you'll be fine.