[
https://issues.apache.org/jira/browse/IO-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary D. Gregory resolved IO-269.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.4
Sending
C:/svn/org/apache/commons/trunks-proper/io/src/changes/changes.xml
Sending
C:/svn/org/apache/commons/trunks-proper/io/src/main/java/org/apache/commons/io/input/Tailer.java
Sending
C:/svn/org/apache/commons/trunks-proper/io/src/test/java/org/apache/commons/io/input/TailerTest.java
Transmitting file data ...
Committed revision 1348698.
> Tailer locks file from deletion/rename on Windows
> -------------------------------------------------
>
> Key: IO-269
> URL: https://issues.apache.org/jira/browse/IO-269
> Project: Commons IO
> Issue Type: Bug
> Reporter: Sebb
> Fix For: 2.4
>
> Attachments: IO-269-v2.patch, IO-269-v3.patch, IO-269.patch,
> ReOpen.java
>
>
> The Tailer code works on Windows, except that it locks the file against
> deletion or rename.
> The test code fails to detect this, because it fails to check if the file
> deletion succeeds.
> This seems to be a Windows OS issue.
> A possible solution might be to keep closing and re-opening the file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira