ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mitch Gitman (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVY-1113) offer option to suppress output during Ivy deliver
Date Sun, 23 Aug 2009 15:14:59 GMT

     [ https://issues.apache.org/jira/browse/IVY-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mitch Gitman updated IVY-1113:
------------------------------

    Priority: Minor  (was: Major)

> offer option to suppress output during Ivy deliver
> --------------------------------------------------
>
>                 Key: IVY-1113
>                 URL: https://issues.apache.org/jira/browse/IVY-1113
>             Project: Ivy
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: unspecified
>            Reporter: Mitch Gitman
>            Priority: Minor
>             Fix For: unspecified
>
>
> Whenever Ivy successfully delivers an Ivy file, you see two lines of output that begin
with the following:
> :: delivering :: ...
>     delivering ivy file to ...
> This output is produced by Message.info calls in the deliver method of DeliverEngine
(lines 103 and 179 respectively).
> What I'm asking for is for this output to be conditionally suppressed. 
> It seems that implementation-wise, this would be easy enough to accomplish. I see that
both the ResolveOptions and DownloadOptions classes extend LogOptions. LogOptions has a LOG_QUIET
flag. What about just making the DeliverOptions class extend LogOptions as well? Then have
those two Message.info invocations be conditional on:
> !LogOptions.LOG_QUIET.equals(deliver.getOptions().getLog())
> Whether this option should be extended to another API level, such as the deliver Ant
task, is another question. But I'd be satisfied with just the above programmatic API change.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message