ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Allowing antlibs to contribute diagnostics & version info
Date Tue, 26 Aug 2008 14:25:23 GMT
On Tue, 26 Aug 2008, Jeffrey E. Care <carej@us.ibm.com> wrote:

> "Gilles Scokart" <gscokart@gmail.com> wrote on 08/19/2008 02:01:53
> PM:
> 
>> Why not using the same logic that we have with ant -p and ant -p
>> -v.?  We could have ant -v -version and ant -v -diagnostics.
> 
> Having started working on this now, I've discovered there are a few
> issues with this approach.
> 
> 1) With the current argument handling logic, this would only work if
> the user specifies "-v" first: if user specifies "-version" first
> then argument handling stops immediately, the version is shown & Ant
> exits.
> 
> 2) When "-v -version" is specified by the user, the current argument
> handling logic actually shows the Ant version twice.
> 
> I would prefer not to do a major rewrite of the argument handling
> logic just to implement this feature.

Understood, even though it shouldn't be too complex to fix.

> Is anyone opposed to adding a new "-fullversion" argument?

Fine with me, but please open a bugzilla issue for the second case.

Stefan

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


Mime
View raw message