Simple one word patch to TaskOutputStream to change the access for the
constructor to public from package in order to allow classes outside of the
ant.taskdefs package to create TaskOutputStreams. Useful for optional tasks that
need to use it.
-t
Index: TaskOutputStream.java
===================================================================
RCS file:
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/TaskOutputStr
eam.java,v
retrieving revision 1.3
diff -u -r1.3 TaskOutputStream.java
--- TaskOutputStream.java 2000/08/07 11:13:27 1.3
+++ TaskOutputStream.java 2000/08/09 01:29:16
@@ -81,7 +81,7 @@
* as the output source for messages.
*/
- TaskOutputStream(Task task, int msgOutputLevel) {
+ public TaskOutputStream(Task task, int msgOutputLevel) {
this.task = task;
this.msgOutputLevel = msgOutputLevel;