//make it absolute, if it is a relative path
if (!file.isAbsolute())
file = new File(servletContext.getRealPath(watch));
if (watch.endsWith(".jar")) {
classLoader.addResourceStore(new JarResourceStore(file));
//register with the fam
fam.addListener(file, this);
if (LOG.isDebugEnabled()) {
LOG.debug("Watching [#0] for changes", file.getAbsolutePath());
}