You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jason Rosenberg <ja...@squaretrade.com> on 2001/01/09 08:13:07 UTC
Re: -quiet mode, annoying output....
Are there plans to make -quiet flag have the
behavior indicated below, by default, instead of
having to set the -logger, and modify echo, etc.?
It seems to me that we need to have a standard
flag, which probably should just be the current
'-quiet', which has the effect of only printing
out a visited target when that target has some
output.
Jason
----- Original Message -----
From: "Peter Donald" <do...@apache.org>
To: <an...@jakarta.apache.org>
Cc: <an...@jakarta.apache.org>
Sent: Friday, December 29, 2000 7:39 AM
Subject: Re: -quiet mode, annoying output....
> At 02:41 22/12/00 -0500, Jason Rosenberg wrote:
> >
> > I am using 1.2. I am trying to suppress the display of each target
> >processed, especially in the case where I have targets whose sole purpose
> >is to set a flag, etc. I'm getting the following over-informative output
> >(can I suppress this reporting of each target and dependent target
> >processed?):
>
> Well there is another logger that you can specify with
>
> -logger org.apache.tools.ant.NoBannerLogger
>
> in latest CVS. Only problem is that you have to modify echo task to print
> to log instead of stdout to get it to work gracefully.
>
>
> BTW could you post using plain text rather than HTML ?
>
>
> Cheers,
>
> Pete
>
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof." |
> | - John Kenneth Galbraith |
> *-----------------------------------------------------*
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-dev-help@jakarta.apache.org
>
Re: -quiet mode, annoying output....
Posted by James Duncan Davidson <du...@x180.net>.
On 1/9/01 1:50 AM, "Conor MacNeill" <co...@cognet.com.au> wrote:
> OK, I understand your point. And yet, I wonder if output format is part of
> Ant's "contract".
I don't think so... I think that once we hit Ant 2.0, the contract of
BuildEvents is okay to rely upon, but not the output from any particular
consumer of those events.
IOW, imho, if somebody really wants to know programmatically what's going
on, they should write a listener.
--
James Duncan Davidson duncan@x180.net
!try; do()
Re: -quiet mode, annoying output....
Posted by Conor MacNeill <co...@cognet.com.au>.
> >>
> >
> >I think we were talking about build file changes. Changing the operation
> >of -quiet would not be a problem, IMHO.
>
> I am reluctent to make any changes to structure of output because I know
> that there is at least two houses I know of who run perl scripts over the
> output. I HATE perl and I guess I could convince them to move to the
> XMLLogger or whatever ;) but I assume that this is not a isolated case -
> does any one else know houses who do post-processing on output ?
>
OK, I understand your point. And yet, I wonder if output format is part of
Ant's "contract". Backward compatibility of the build file - yes indeed, Of
the output format - I'm not sure it should be. Not that I am suggesting we
change things just for the hell of it. Anyway, as Ant's output is to some
extent derived from the output of its component tasks, we can't even
control it fully. For example, I am pretty sure the format of error
messages changed in javac between JDK 1.2 and 1.3
Re: -quiet mode, annoying output....
Posted by Peter Donald <do...@apache.org>.
At 08:16 9/1/01 +1100, Conor MacNeill wrote:
>>
>> Nope - we aren't going to change anything that is not backwards
>compatable
>> - at least thats what I believe we decided. Backwards incompatable
>changes
>> will liekyl wait till 2.0+
>>
>
>I think we were talking about build file changes. Changing the operation
>of -quiet would not be a problem, IMHO.
I am reluctent to make any changes to structure of output because I know
that there is at least two houses I know of who run perl scripts over the
output. I HATE perl and I guess I could convince them to move to the
XMLLogger or whatever ;) but I assume that this is not a isolated case -
does any one else know houses who do post-processing on output ?
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*
Re: -quiet mode, annoying output....
Posted by Conor MacNeill <co...@cognet.com.au>.
>
> Nope - we aren't going to change anything that is not backwards
compatable
> - at least thats what I believe we decided. Backwards incompatable
changes
> will liekyl wait till 2.0+
>
I think we were talking about build file changes. Changing the operation
of -quiet would not be a problem, IMHO.
Conor
Re: -quiet mode, annoying output....
Posted by Jason Rosenberg <ja...@squaretrade.com>.
----- Original Message -----
From: "Peter Donald" <do...@apache.org>
To: <an...@jakarta.apache.org>
Cc: <an...@jakarta.apache.org>
Sent: Tuesday, January 09, 2001 2:27 AM
Subject: Re: -quiet mode, annoying output....
> At 02:13 9/1/01 -0500, Jason Rosenberg wrote:
> >Are there plans to make -quiet flag have the
> >behavior indicated below, by default, instead of
> >having to set the -logger, and modify echo, etc.?
>
> There was discussion about changing behaviour of echo a while back but a
> bunch of people complained so it wasn't changed I believe. Thou I would
> like to see the change I don't think we can in the Ant1.x series.
> >It seems to me that we need to have a standard
> >flag, which probably should just be the current
> >'-quiet', which has the effect of only printing
> >out a visited target when that target has some
> >output.
>
> Nope - we aren't going to change anything that is not backwards compatable
> - at least thats what I believe we decided. Backwards incompatable changes
> will liekyl wait till 2.0+
>
>
Can we not change the behavior, then, by introducing a new
flag, such as -terse, or something?
Re: -quiet mode, annoying output....
Posted by Peter Donald <do...@apache.org>.
At 02:13 9/1/01 -0500, Jason Rosenberg wrote:
>Are there plans to make -quiet flag have the
>behavior indicated below, by default, instead of
>having to set the -logger, and modify echo, etc.?
There was discussion about changing behaviour of echo a while back but a
bunch of people complained so it wasn't changed I believe. Thou I would
like to see the change I don't think we can in the Ant1.x series.
>It seems to me that we need to have a standard
>flag, which probably should just be the current
>'-quiet', which has the effect of only printing
>out a visited target when that target has some
>output.
Nope - we aren't going to change anything that is not backwards compatable
- at least thats what I believe we decided. Backwards incompatable changes
will liekyl wait till 2.0+
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*