Book a Demo

Author Topic: Change code generation language  (Read 2745 times)

sftweng

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Change code generation language
« on: May 31, 2004, 03:36:49 pm »
 :-/ Please forgive a newbie if this has an obvious answer. I'm evaluating EA (having used several other systems before) but seem to have got myself into a box with one particular model. The help file says

"Before you generate code, you should ensure the default settings for code generation match your requirements. "

Well, I didn't notice that and ended up generating Java instead of my desired Delphi.

How do I go about changing the code-generation language for this model? I have changed the default and tried deleting the emitted code (the Java) to no avail.
Alan

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Change code generation language
« Reply #1 on: May 31, 2004, 04:23:43 pm »
You will need to select Delphi as the generation language for each of your classes.  Probably also set new filenames (or at least clear the existing ones).

sftweng

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Change code generation language
« Reply #2 on: May 31, 2004, 04:43:28 pm »
 :) That did it, thanks, though it was a bit tedious - a global change would be nice.  ;)

Alan
« Last Edit: May 31, 2004, 04:43:47 pm by sftweng »
Alan

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Change code generation language
« Reply #3 on: June 06, 2004, 07:29:43 pm »
Hi again,

There actually is an option to do this at the package level.

Right click on the package in the project view, go to code engineering and under there is reset options for this package.

If you get stuck there is a help page on it.

Simon