I solved my problem for the time being by refactoring my classes to adhere to a strict convention whereby the compile order is A,B,C and the observed convention is:
target A requires no other classes - (just simple display objects) target B references classes in A only - (EJBs) target C can reference classes in A or B - (utility/controllere beans) But, my original question was: Is it possible for classes in A to reference classes in B or C? Or classes in B to reference classes in C? etc. etc. I wanted to spare everyone the burden of including my build file as I think my question is more general than specific. Thanks! mojoRising wrote: > > Hi. I am new to using ANT and hope someone can help me with this, I am > sure most basic, question which has confounded me. > > I have 2 targets. Each target contains a file that has references to a > class in the other target. I can't build successfully because the first > target can never compile since the second target hasn't been built yet. > > What am I doing wrong? > > Thanks so much for anyhelp you can offer - > > John > -- View this message in context: http://www.nabble.com/How-to-compile-co-dependent-files-tp15613186p15615500.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]