You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Marc Luce <ma...@blackbird.net> on 2000/12/07 21:02:43 UTC

depends

I am using the depends task and have run into an issue.  I have a java file
(A.java) that defines 2 classes, A and B.  If B's class file is removed
during the depend task I am never recompiling A, so B is not found in the
build.  Any suggestions?

RE: depends

Posted by Conor MacNeill <co...@ebinteractive.com.au>.
dependsMarc,

OK - it is a similar issue to that of inner classes that you and I know well
now. You will have seen in the code, how it deletes the outer class when the
inner class is out of date. I'll need to think about how to handle the case
of arbitrary classes in the same file.

Conor

--
Conor MacNeill
conor@cortexebusiness.com.au
Cortex eBusiness
http://www.cortexebusiness.com.au

  -----Original Message-----
  From: Marc Luce [mailto:marc.luce@blackbird.net]
  Sent: Friday, 8 December 2000 7:03
  To: Ant-User (E-mail)
  Subject: depends


  I am using the depends task and have run into an issue.  I have a java
file (A.java) that defines 2 classes, A and B.  If B's class file is removed
during the depend task I am never recompiling A, so B is not found in the
build.  Any suggestions?