ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r499323 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Concat.java
Date Wed, 24 Jan 2007 09:10:42 GMT
Author: jhm
Date: Wed Jan 24 01:10:41 2007
New Revision: 499323

URL: http://svn.apache.org/viewvc?view=rev&rev=499323
Log:
JDK 1.2 compatibility

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Concat.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Concat.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Concat.java?view=diff&rev=499323&r1=499322&r2=499323
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Concat.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Concat.java Wed Jan 24 01:10:41
2007
@@ -479,7 +479,7 @@
         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);



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


Mime
View raw message