DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=38589>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38589 Summary: Files not released after upload (put) Product: Slide Version: Nightly Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: WebDAV client AssignedTo: slide-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] Uploaded files are not (directly) released by JAVA after the ant-WebDAV-put-task. So file manipulations (like delete) fails, because the uploaded file seems still to be used on the local system. Idea: Close the uploaded files explicit: In org.apache.webdav.ant.taskdefs.put.uploadFile: change code to if (this.filterSets.hasFilters()) { [...] reader.close(); Utils.putFile(getHttpClient(), url, new ByteArrayInputStream(out.toByteArray()), contentType, this.locktoken); } else { FileInputStream reader = new FileInputStream(file); Utils.putFile(getHttpClient(), url, reader, contentType, this.locktoken); reader.close(); } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]