mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Report file watcher giving up; don't try to shut it down
This commit is contained in:
@@ -400,6 +400,7 @@ public class FileWatcher {
|
||||
return myWatchedPaths;
|
||||
}
|
||||
|
||||
@SuppressWarnings("SpellCheckingInspection")
|
||||
private enum WatcherOp {
|
||||
GIVEUP, RESET, UNWATCHEABLE, REMAP, MESSAGE, CREATE, DELETE, STATS, CHANGE, DIRTY, RECDIRTY
|
||||
}
|
||||
@@ -444,9 +445,8 @@ public class FileWatcher {
|
||||
}
|
||||
|
||||
if (watcherOp == WatcherOp.GIVEUP) {
|
||||
LOG.info("Native file watcher gives up to operate on this platform");
|
||||
notifyOnFailure(ApplicationBundle.message("watcher.gave.up"), null);
|
||||
myIsShuttingDown = true;
|
||||
shutdownProcess();
|
||||
}
|
||||
else if (watcherOp == WatcherOp.RESET) {
|
||||
reset();
|
||||
|
||||
@@ -405,7 +405,7 @@ group.error.highlighting=Error highlighting
|
||||
editbox.autoreparse.delay.ms=Autoreparse delay (ms):
|
||||
editbox.error.stripe.mark.min.height.pixels=Error stripe mark min height (pixels):
|
||||
checkbox.suppress.with.suppresswarnings=Suppress with @SuppressWarnings (for Java 5.0 only)
|
||||
checkbox.next.error.action.goes.to.errors.first='Next Error' action goes to high priority problems only
|
||||
checkbox.next.error.action.goes.to.errors.first='Next Error' action goes to high priority problems only
|
||||
checkbox.show.import.popup=Show import &popup
|
||||
checkbox.indent.use.tab.character=Use tab character
|
||||
checkbox.indent.smart.tabs=Smart tabs
|
||||
@@ -560,6 +560,7 @@ watcher.exe.not.found=Native file watcher executable not found
|
||||
watcher.exe.not.exe=Native file watcher is not executable: <a href="{0}">{0}</a>
|
||||
watcher.exe.outdated=Native file watcher executable is outdated
|
||||
watcher.failed.to.start=File watcher failed to start
|
||||
watcher.gave.up=File watcher gave up to operate
|
||||
watcher.non.watchable.project=Project content is under network-mounted directory
|
||||
|
||||
arrangement.title.settings.tab=Arrangement
|
||||
|
||||
Reference in New Issue
Block a user