DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Handle cycle dependencies using JDT
Notices
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Oct 2011
Default Handle cycle dependencies using JDT - 10-03-2011, 02:13 PM

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]
Reply With Quote
Reply

Tags
cycle dependencies, eclipse, java, jdt

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
App Runs in eclipse, wish to run from command line now(With dependencies) boneless1213 Eclipse 0 11-13-2009 12:38 PM
RCP Bundle Dependencies rhwinzin Eclipse 0 05-25-2009 06:40 AM
Eclipse 3.4 WTP lots of unsatisfied equinox dependencies kzm. Eclipse 0 11-29-2008 08:36 AM
jax-ws, wsimport how to handle dtos in several services? spross Web Services, SOA & ESB 0 11-06-2008 03:18 AM
Rad + Cycle Detected Error ibmmer Java 2 02-06-2008 05:05 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com