Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 19878 invoked from network); 29 Sep 2000 13:20:47 -0000 Received: from unknown (HELO posti.rtsnetworks.com) (193.94.194.137) by locus.apache.org with SMTP; 29 Sep 2000 13:20:47 -0000 Received: by posti.rtse.com with Internet Mail Service (5.5.2650.21) id ; Fri, 29 Sep 2000 16:19:29 +0300 Message-ID: <11F50C3B0CFFD311A1D900508B8B7C6E4BF433@posti.rtse.com> From: Carlos Quiroz To: "'ant-user@jakarta.apache.org'" Subject: RE: What about dependecies? Date: Fri, 29 Sep 2000 16:19:27 +0300 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Thanks for the clear answer. I suspected that the compiler had that "limitation". On the other hand is very difficult to do it the another way. In C it's possible because you're including directly the file by means of an #include directive. However, in Java things are done the other way around so there is no easy way to determine all the dependencies. >Unfortunately, ant won't let you do this unless B itself has changed. That's a pity, but I agree that's a compiler limitation more than ant's one. I think that's a real issue since it make very stupid bugs based on certain assumptions. >If there's a compiler out there that can travel back up the >dependency graph, please let me know! There is some software that do that, maybe it's too slow and not suitable for ant but it might be interesting to check. >Alternatively, setup your javac task correctly and use a 'clean' target to >force a rebuild when changing core interfaces and base classes. That's how I'm doing it now, cleaning and compiling. IDEs do that anyway, they detect dependencies and compile accordingly. So to really replace a IDE by an editor and ant, this is an important point missing. Regards