Re-factor to remove the cross dependency. Put the interdependent classes
in a third jar C, so that jars A and B are independent of each other.
Then you would have the following.

C is independent
A needs C
B needs C


-----Original Message-----
From: sanjeev chhabra [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 16, 2004 5:19 AM
To: [EMAIL PROTECTED]
Subject: Cross Dependency in Modules


  Hi All,
  If i want to create a EAR containing many Jars.
  Out of these Jars 2 jars have cross dependency.
  i.e.
  A Need B
  B Need A
  Now if i create jar A first it is giving me errors.
  How can i resolve this issue.
 
  Thanks
  Sanjeev Chhabra

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to