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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]