(In case it matters, these are Java Android projects)
Project A is a library project.
Project B depends on A
I'm not sure if i got your setup right:
Project A : src
+ /projecta.jar (binary of project A)
Project B : /src
+ /lib/Project A/src as submodule
+ /lib/projecta.jar (binary of project A)
..now you change A-A' and compile it, wanting to test it before pushing/commiting, right?
is it ok for you to just have the jar in B, or do you need the source within project B updated to A'?
first case: have an ant file compile in project A and deploy it to B as well that ant file is not part of project a, its just a local workaround (its useful to have it in the ant view of eclipse)
Sketch:
set appropriate place in project B
from build to projecta.jar
projecta.jar to projectb.libdir
Alternative is to create a .jardesc in eclipse, so you can run "create jar" on rightclick.
is that what you wanted to do?