Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 63984 invoked from network); 22 Apr 2002 22:32:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 22 Apr 2002 22:32:50 -0000 Received: (qmail 10514 invoked by uid 97); 22 Apr 2002 22:32:48 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 10486 invoked by uid 97); 22 Apr 2002 22:32:47 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 10475 invoked from network); 22 Apr 2002 22:32:46 -0000 Message-ID: <98D21B073202584C9125C860580DC4ED0F4FE4@lgchexch006.ad.lgc.com> From: Dominique Devienne To: "'Ant Users List'" Subject: RE: can a target be used twice in a target Date: Mon, 22 Apr 2002 17:32:41 -0500 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 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Yes, ANT does that on purpose, but doing static dependency analysis. But what seems really strange is why you would need this cleanup target to run several times, especially *in between* dependent targets like that. I think most ANTers would think it's a hint that there are other problems with your build file (but of course I may be wrong, since don't know the specificities of your build system!). If you could send more info as to why cleanup needs to run several times like that, it would help me and others find out what's going on, and how best to address any potential issues. Other than that, by using one can end up calling a target several times, by as I said above, your build file might not follow ANT philosophy of doing builds, and it would probably be better to fix it, rather that kludging it to call cleanup multiple times in its current shape... Regards, --DD -----Original Message----- From: Jane.Fraser@vodafone-us.com [mailto:Jane.Fraser@vodafone-us.com] Sent: Monday, April 22, 2002 5:19 PM To: Ant Users List Subject: can a target be used twice in a target I'm try to use a target more than once, but it doesn't seem to run the second time eg. the cleanup, deletes all the files in the classes directory. I want to this before and after, since some of my build processes don't cleanup. and before checking in, thanks jane _____________________ Jane Fraser Release Manager Core Platform Engineering x 6743 cell 415-517-0168 -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: