ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Twiggs, Glenn" <Glenn_Twi...@bmc.com>
Subject [PATCH] copydir task - change message level for "Copydir Ignored: ..." messages
Date Thu, 20 Jan 2000 00:37:30 GMT
I hope this request doesn't seem too trivial, but it has been bothering
me...

Does anyone else use the "ignore" attribute of the "copydir" task? Do you
find 
the messages it produces annoying? I do :) The warning is printed even if
the 
"-quiet" option is specified.

If there is no dissention, I would like to have the following patch applied
to set
the logging level for the "ignore" messages to VERBOSE.

Index: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copydir.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Copydir.j
ava,v
retrieving revision 1.1
diff -r1.1 Copydir.java
149c149
<                 project.log("Copydir Ignored: " + filename,
Project.MSG_WARN);
---
>                 project.log("Copydir Ignored: " + filename,
Project.MSG_VERBOSE);

Mime
View raw message