One problem is that an incremental Eclipse builder is executed after a referenced resource is changed. If you change a resource from a referenced project but the resource is never used in the main project, the builder is not executed!
And the builder gets the resource name from the main project, e.g.
Project A: class A, class X
Project B: class B references class A
If we change class A, the Project builder of Project B is notified about changes in B.class.
If we change class B, the Project builder of Project B is notified about changes in B.java.
If we change class X, no notification to Project builder of Project B.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
One problem is that an incremental Eclipse builder is executed after a referenced resource is changed. If you change a resource from a referenced project but the resource is never used in the main project, the builder is not executed!
And the builder gets the resource name from the main project, e.g.
Project A: class A, class X
Project B: class B references class A
If we change class A, the Project builder of Project B is notified about changes in B.class.
If we change class B, the Project builder of Project B is notified about changes in B.java.
If we change class X, no notification to Project builder of Project B.