Hi guys,
Does someone know how I could use JDT to compile a simple example of cycle dependency like the one I'm describing below?
---------------------------
Proj1
Class1 {
Class2 c2;
}
---------------------------
Proj2
Class2 {
Class1 c1;
}
---------------------------
I know Eclipse does this "magic" using JDT but I'd like to know how it happens behind the scenes. It, in someway, compiles both projects even they have a circular dependency with each other. I believe that what I'm looking for is something that can compile partially Proj1 and then solve all the depenednecies Proj2 has with it, from that point on I could compile Proj2 and solve also the Proj1 dependecies and then proceed a full compilation on it.
Has someone already done that or could point me out where I can find some examples to help me out?
* let's disregard the reasons I have these cycles ok?
I'd apreciate any help
Thanks in advance
--
[Raphael Moita]