Book a Demo

Author Topic: Delphi forward engineer  (Read 3536 times)

spereira

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Delphi forward engineer
« on: September 15, 2005, 08:42:28 am »
Hello,

I'm testing the product in order to decide to use it or not. I update the model from a *.pas, the reverse engineer tool creates correctly the class with all the elements within, but if I delete some attributes from the model and then do forward engineering (update the code from the model), those attributes still there! Is this a problem of EA?

thomaskilian

  • Guest
Re: Delphi forward engineer
« Reply #1 on: September 15, 2005, 09:44:36 am »
Aparently. Try searching this forum for roundtrip engineering etc. There's a lot of discussion going on.

spereira

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Delphi forward engineer
« Reply #2 on: September 15, 2005, 10:04:26 am »
Uf. Nothing around here.
Aparently this isn't a priority in EA. It's a shame, because it's a very interesting tool... but it would be better if I can integrate modelling with the developers work.
Thanks anyway.

Sebastian

thomaskilian

  • Guest
Re: Delphi forward engineer
« Reply #3 on: September 15, 2005, 10:35:41 am »
It's definitely not a low priorority. It's simply because roundtrip engineering is very difficult. Watch out for Paolo's comments here.

spereira

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Delphi forward engineer
« Reply #4 on: September 15, 2005, 10:43:57 am »
Ok. I'm very glad to hear that.
Thank you very much! I'll definitely consider EA.
Cheers from argentina

Sebastian

mikewhit

  • EA User
  • **
  • Posts: 608
  • Karma: +0/-0
  • Accessing ....
    • View Profile
Re: Delphi forward engineer
« Reply #5 on: September 15, 2005, 10:55:00 am »
For example: http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1099064702;start=1#1

I just used the Search on "class reverse engineer" omitting the Latest News forum and requesting 777 days and 250 results. Then start scrolling !

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Delphi forward engineer
« Reply #6 on: September 15, 2005, 04:10:10 pm »
Hello Sebastian,

EA is being cautious about deleting anything from your code.  However, you can instruct it to delete class members not found.

Open the Local Options dialog.  (Tools | Options)
Go to the Attribute/Operations page.

Check "On forward synch, prompt to delete code features not in model".

With this option checked, when EA detects class members in the code that aren't in the model, it will bring up a dialog box asking you what to do with them.

Simon.

PS.  You can find this in the help by searching for delete code in EA's help file.  (Or as I often do search for "EA User Guide" delete code in google)  In either search it's the first result.