ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Vierlinck" <Olivier.Vierli...@iba.be>
Subject RE: "ant -n", How to display tasks and args WITHOUT executing them
Date Thu, 06 Nov 2003 12:23:47 GMT
Yes, I understand this part! 

But I think it would already be very useful information to know that Ant would start 'jar'
with such and such args, from such place and so on.
After that, we could say that it's up to the user to know what is a 'jar' task, what it does
and when.

(or a next step would be to be able to ask each specific ant task not to do anything but just
describe what it 'would' do. But this is not part of the 'core' ant itself, but rather something
to delegate to every task class, probably through some common interface)

Thanks,
Olivier

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@apache.org]
Sent: Thursday, November 06, 2003 1:17 PM
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


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message