ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hynes Fintan <Fintan.Hy...@traventec.com>
Subject RE: "ant -n", How to display tasks and args WITHOUT executing the m
Date Thu, 06 Nov 2003 12:13:54 GMT

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 <Olivier.Vierlinck@iba.be>
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.  <jar> can't tell you which files it would add to a jar
without javing <javac> 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


Mime
View raw message