You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2004/05/23 00:43:57 UTC

DO NOT REPLY [Bug 29154] New: - should not emit verbose message except if verbose="true"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29154>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29154

<apply skipemptyfilesets="true"> should not emit verbose message except if verbose="true"

           Summary: <apply skipemptyfilesets="true"> should not emit verbose
                    message except if verbose="true"
           Product: Ant
           Version: 1.6.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: shankar@cotagesoft.com


What the summary says. 

If I want to run a command (like an m4 invocation, etc.) only if some targets
are newer than some sources, I have to use <apply> with
skipemptyfilesets="true", but then I get this verbose message saying:

    [apply] Skipping fileset for directory C:\Workarea\CSIMain\csi\sql\base. It
is empty.

Well, yes. But I don't want a verbose message about it unless I say
verbose="true". After all, the verbose attribute was introduced specifically to
make <apply> say things like

    [apply] Processing file C:\Workarea\CSIMain\csi\sql\base\app.sql
    [apply] Applied C:\cygwin\bin\m4 to 1 file and 0 directories.

And this is in exactly the same spirit as saying that it skipped the fileset
entirely.

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