From user-return-38396-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Nov 06 12:19:42 2003 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 88274 invoked from network); 6 Nov 2003 12:19:42 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Nov 2003 12:19:42 -0000 Received: (qmail 28327 invoked by uid 500); 6 Nov 2003 12:19:33 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 28128 invoked by uid 500); 6 Nov 2003 12:19:32 -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 28112 invoked from network); 6 Nov 2003 12:19:32 -0000 Received: from unknown (HELO startgwyex01.traventec.com) (193.120.171.248) by daedalus.apache.org with SMTP; 6 Nov 2003 12:19:32 -0000 Received: by STARTGWYEX01 with Internet Mail Service (5.5.2653.19) id ; Thu, 6 Nov 2003 12:13:55 -0000 Message-ID: <08C15F38C433D711BDA100508B0BF5DD90AC30@STARTGWYEX01> From: Hynes Fintan To: 'Ant Users List' Subject: RE: "ant -n", How to display tasks and args WITHOUT executing the m Date: Thu, 6 Nov 2003 12:13:54 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N You could use the "default" target of your root build file as a type of 'usage' target, detailing all possible targets in the currect build file and their effects. Thus forcing the user to understand and choose a target. -----Original Message----- From: Stefan Bodewig [mailto:bodewig@apache.org] Sent: 06 November 2003 12:17 To: user@ant.apache.org Subject: Re: "ant -n", How to display tasks and args WITHOUT executing them On Thu, 6 Nov 2003, Olivier Vierlinck wrote: > This is probably a simple and common question common, yes - simple, no. > Is there in Ant something similar to the "make -n" option, > displaying what Ant WOULD execute for a given target and > configuration, without actually executing it, ? No. The reason is that Ant doesn't know what it would do without actually doing it. can't tell you which files it would add to a jar without javing compile them first and so on ... Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ************************************************************************ This e-mail and any files transmitted with it are confidential and may be privileged and are intended solely for the individual named/ for the use of the individual or entity to whom they are addressed.If you are not the intended addressee, you should not disseminate, distribute or copy this e-mail.Please notify the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system.If you are not the intended recipient, you are notified that reviewing, disclosing, copying, distributing or taking any action in reliance on the contents of this e-mail is strictly prohibited.Please note that any views or opinions expressed in this e-mail are solely those of the author and do not necessarily represent those of Traventec Limited.E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, or arrive late or incomplete.Traventec Limited therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.The recipient should check this e-mail and any attachments for the presence of viruses.This e-mail has been swept for computer viruses however Traventec Limited accepts no liability for any damage caused by any virus transmitted by this e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org