bodewig 2005/06/21 06:39:05
Modified: src/main/org/apache/tools/ant/taskdefs EchoXML.java
Log:
JDK 1.3 doesn't have that constructor (at least not public)
Revision Changes Path
1.3 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/EchoXML.java
Index: EchoXML.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/EchoXML.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- EchoXML.java 12 Jun 2005 15:54:14 -0000 1.2
+++ EchoXML.java 21 Jun 2005 13:39:05 -0000 1.3
@@ -62,7 +62,7 @@
try {
OutputStream os = null;
if (file != null) {
- os = new FileOutputStream(file, append);
+ os = new FileOutputStream(file.getAbsolutePath(), append);
} else {
os = new LogOutputStream(this, Project.MSG_INFO);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]