Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: zilot on October 19, 2007, 04:11:03 am
-
Hello
My problem is next. I defined 2 of classes i.e ClassA and ClassB, then generated code for both of them, and that's OK. Both classes are under same package for example Package1.
Now I played to see if forward/reverse source code engineering works at all. When put inside ClassA new member for example
public ClassB object after saving source and resynchronisation in EA with source code, association link appears in class diagram of package Package1 from ClassA to ClassB as it is expected.
But then when I delete line public ClassB object from source code of ClassA and resynchronisation in EA with source code, association link is still present and can be removed only by deleting it from diagram ???. So whats the trick.
-
My program version of EA is 7.0.813
-
Have a look at Tools | Options | Source Code Engineering | Attributes/Operations. There's an option there for removing associations that aren't found in code.