From 83624c3b0078e30a32b8cda12ed0327c8b7689c8 Mon Sep 17 00:00:00 2001 From: Jan Materne Date: Wed, 24 Jan 2007 09:10:41 +0000 Subject: [PATCH] JDK 1.2 compatibility git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@499323 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/Concat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Concat.java b/src/main/org/apache/tools/ant/taskdefs/Concat.java index f996721ea..9a2ca1f70 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Concat.java +++ b/src/main/org/apache/tools/ant/taskdefs/Concat.java @@ -479,7 +479,7 @@ public class Concat extends Task { InputStream in = null; try { try { - out = new FileOutputStream(destinationFile, append); + out = new FileOutputStream(destinationFile.getPath(), append); // JDK 1.2 compatibility } catch (Exception t) { throw new BuildException("Unable to open " + destinationFile + " for writing", t);