Skip to content
An Eclipse plugin that uses new features in Java 7 to automatically refresh files in your workspace
Java
Find file
Latest commit 3d27039 Aug 20, 2014 @psxpaul Create LICENSE.md
Failed to load latest commit information.
META-INF Adding new EclipseJava7Refresher plugin project\! Feb 28, 2013
src/com/pr/jdkseven Adding new EclipseJava7Refresher plugin project\! Mar 1, 2013
.gitignore Adding new EclipseJava7Refresher plugin project\! Mar 1, 2013
LICENSE.md
README.md Adding new EclipseJava7Refresher plugin project\! Mar 1, 2013
build.properties Adding new EclipseJava7Refresher plugin project\! Mar 1, 2013
java7_refresh_plugin.zip Adding new EclipseJava7Refresher plugin project\! Mar 1, 2013
plugin.xml Adding new EclipseJava7Refresher plugin project\! Mar 1, 2013

README.md

EclipseJava7Refresher

This is an Eclipse plugin that uses the new WatchService in Java7 to automatically refresh files in your workspace. This is useful if you edit files outside of Eclipse often, and find yourself frequently F5ing your workspace. This is different from my other project, EclipseJnotifyRefresher, in its implementation. The other project uses the open source jnotify library to provide filesystem change hooks, while this project uses the hooks built-in to Java7.

Installation

  • Exctract the zip into {ECLIPSE_DIRECTORY}/dropins
  • Start Eclipse
  • Go to Window->Preferences->General->Workspace
  • Enable the "Refresh using native hooks or polling" option

Normally, the above workspace option can cause performance issues on Linux and OSX, as there is no native hook implementation in Eclipse. This plugin leverages new APIs in Java7 to hook into filesystem changes without polling. The result, is that you see your file changes in realtime in Eclipse, with no performance hit!

Something went wrong with that request. Please try again.