Joy, sorry for the delay but I have been trying to reduce the problem to a simple series of steps that can be reproduced but find that I cannot. There are too many “other” problems getting in the way.
Firstly, if I create two classes (One and Two) and a simple relationship (unnamed) between them, and then try to generate Java I get an error, “Types with problem”. I deduced that this is because the default relationship is bidirectionally navigable, so a referential attribute is required. The code generator will assume the relationship name, and will complain if it’s not there. However, if I say YES to continue, I return to the same class selection dialog, so there is no way out other than to quit.
Then I started deleting and replacing classes. First thing is that I noticed that the relationship named “Makes” that automatically deleted when I deleted one of the classes is really still there. If I create another class (Three) and create a relationship to One named alsoMakes, then generate the code, the original Makes still appears as a local variable along with alsoMakes.
Then I try to delete the Java classes. Two get deleted OK, but the third is still there. No error message, just Class1.java is still in the list.
I wish I could give you a specific set of actions that are totally reproducible, but as you see, there are so many problems. I am sending you the project by email, along with the error log. My configuration is 7.5 straight out of the box on Windows XP.
John