Book a Demo

Author Topic: Problem with Synchronize Package Contents  (Read 2442 times)

silvia

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Problem with Synchronize Package Contents
« on: May 23, 2006, 07:41:50 am »
Hi All,

I'd like to synchronize my Class Diagramm with my Java Sourcecode.
If I delete e.g. an Attribute and do a synchronization model to source, the Attribute is deleted in the Sourcecode, too.
But the problem is, if I delete a Operation and do synchronize, it doesn't work.

Does anybody knows a solution?

Thanks!

Silvia

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Problem with Synchronize Package Contents
« Reply #1 on: May 23, 2006, 03:30:24 pm »
That's a little strange.  EA shouldn't delete anything from the source code without prompting.1 Additionally, there is only one option that effects the behaviour of both attributes and operations.

1 This prompt allows you to see all of the attributes and operations in the code that are missing from the model and choose what to do with them.  It isn't enabled by default so you'll need to enable it by checking Tools | Options | Attribute/Operations | 'On forward synch, prompt to delete code features not in model'.