Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 91172 invoked by uid 500); 24 Jul 2003 00:11:08 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 91160 invoked from network); 24 Jul 2003 00:11:08 -0000 Received: from mailhost2.cnf.com (HELO ljcqs053.cnf.com) (63.230.177.24) by daedalus.apache.org with SMTP; 24 Jul 2003 00:11:08 -0000 Received: from cnfqs039.cnf.com (localhost [127.0.0.1]) by ljcqs053.cnf.com (Postfix) with ESMTP id B4B0D53B for ; Wed, 23 Jul 2003 17:11:15 -0700 (PDT) Received: by cnfqs039.cnf.prod.cnf.com with Internet Mail Service (5.5.2653.19) id ; Wed, 23 Jul 2003 17:11:14 -0700 Message-ID: <25E622D843625C40BE0EEC150B437C1B2CCD5B@cnfqe029.cnf.prod.cnf.com> From: "Anderson, Robert H - MWT" To: 'Ant Users List' Subject: RE: Trying to get rid of makefiles Date: Wed, 23 Jul 2003 17:11:10 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N So they want to guarantee that all the classes are recompiled but they don't want to delete the classes before compiling. You're right... that is ridiculous. You should convince them that it is not a waste of time to delete the class files before recompiling because it is the only way to gaurantee that all the classes are being compiled. Or just stick with makefiles ;) -Rob A -----Original Message----- From: Leonardo Abreu de Barros [mailto:leobarros@email.com] Sent: Wednesday, July 23, 2003 4:02 PM To: ant-user@jakarta.apache.org Subject: Trying to get rid of makefiles Hi all, I work in a company that has a long history using makefiles. Since I joined it, I proposed to migrate to Ant. Some people resist to changes, some people agree, as long as all benefits provided by the makefiles are covered by Ant. I've already reproduced all behaviors but one: currently, all java classes names are declared explicitly in the makefile, and sent to the java compiler. It rebuilds all the class files, at each build. They want this behavior in order to detect broken code, due to changes on a base class, for example. The problem is that Ant, specifically the task, only recompiles ".class" if the timestamp differs from the related ".java" file. I've read on documentation that to detect this kind of broken dependencies, you should perform "clean builds" from time to time. I proposed this solution, but it wasn't accepted. They think it's a loss of time (even if it's ridiculous) to delete all ".class" files before calling the compiler. If I'm not able to reproduce this behavior with Ant, they prefer to keep the makefiles. Does anyone have any idea of how I could reproduce this behavior using Ant? Any other possible solution? Thanks in advance, Leonardo Barros --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org