Community
Participate
Working Groups
1. Make sure the "Perform build automatically on resource modification" option is selected from Window->Preferences->Workbench 2. Create Project1 3. Create a package "p1" 4. Create a interface "MyInterface" 5. Create a method foo() on MyInterface. 6. Create a Project2. Make sure you add the dependency of Project1. 7. Create a package "p2" 8. Create a class "MyClass" which implements "MyInterface" and has a method foo () 10. Go back to the interface "MyInterface" and add a new method bar() RESULT: At this moment an errors is being shown in Project1 only. EXPECTED RESULT: Expected to see errors in Project1 and Project2 since neither implements the bar() method, and since Project 1 is dependent on Project2. SUGGESTED SOLUTION: When you compile a class, have the JDT compile dependent classes also. Perhaps a preference for the user to enable/disable this function would be helpful.
This is a known limitation on the class file dependencies (cross project scenario). *** This bug has been marked as a duplicate of 5275 ***