System.err.println("add to scan list:"+item);
}
}
// startScanner
Scanner scanner = new Scanner();
scanner.setScanInterval(scanIntervalSeconds);
scanner.setScanDirs(scanList);
scanner.setRecursive(true);
scanner.setReportExistingFilesOnStartup(true);
scanner.addListener(new RJRFileChangeListener(web,config));
System.err.println("Starting scanner at interval of "
+ scanIntervalSeconds + " seconds.");
scanner.start();
}