You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "leaderli (via GitHub)" <gi...@apache.org> on 2023/10/26 13:52:56 UTC

[PR] fix error if the file has been removed or deleted in one listening p… [commons-io]

leaderli opened a new pull request, #504:
URL: https://github.com/apache/commons-io/pull/504

   …eriod
   
   when in one listening period, if the file has been removed or deleted, and a new file with content large than read position, it should reopen the file and read from beginning


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix error if the file has been removed or deleted in one listening p… [commons-io]

Posted by "garydgregory (via GitHub)" <gi...@apache.org>.
garydgregory commented on PR #504:
URL: https://github.com/apache/commons-io/pull/504#issuecomment-1781261876

   @leaderli 
   At least PLEASE try to compile the code before you push:
   ```
   Error:  Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project commons-io: Compilation failure: Compilation failure: 
   Error:  /home/runner/work/commons-io/commons-io/src/main/java/org/apache/commons/io/input/Tailer.java:[994,55] cannot find symbol
   Error:    symbol:   variable file
   Error:    location: class org.apache.commons.io.input.Tailer
   Error:  /home/runner/work/commons-io/commons-io/src/main/java/org/apache/commons/io/input/Tailer.java:[994,34] incompatible types: java.io.RandomAccessFile cannot be converted to org.apache.commons.io.input.Tailer.RandomAccessResourceBridge
   Error:  /home/runner/work/commons-io/commons-io/src/main/java/org/apache/commons/io/input/Tailer.java:[999,50] cannot find symbol
   Error:    symbol:   variable file
   Error:    location: class org.apache.commons.io.input.Tailer
   Error:  /home/runner/work/commons-io/commons-io/src/main/java/org/apache/commons/io/input/Tailer.java:[999,28] cannot find symbol
   Error:    symbol:   variable FileUtil
   Error:    location: class org.apache.commons.io.input.Tailer
   Error:  -> [Help 1]
   Error:  
   Error:  To see the full stack trace of the errors, re-run Maven with the -e switch.
   Error:  Re-run Maven using the -X switch to enable full debug logging.
   Error:  
   Error:  For more information about the errors and possible solutions, please read the following articles:
   Error:  [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
   Error: Process completed with exit code 1.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix error if the file has been removed or deleted in one listening p… [commons-io]

Posted by "leaderli (via GitHub)" <gi...@apache.org>.
leaderli closed pull request #504: fix error if the file has been removed or deleted  in one listening p…
URL: https://github.com/apache/commons-io/pull/504


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix error if the file has been removed or deleted in one listening p… [commons-io]

Posted by "leaderli (via GitHub)" <gi...@apache.org>.
leaderli commented on PR #504:
URL: https://github.com/apache/commons-io/pull/504#issuecomment-1782268572

   @garydgregory   sorry, see #507 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org