nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Fuhry <dfu...@cs.kent.edu>
Subject Patch to skip hidden plugin directories
Date Tue, 03 Jul 2007 17:33:16 GMT
The attached patch (diff -c) to PluginManifestParser_orig.java skips 
plugin subfolders which begin with a period.  The practical use of this 
is to keep Nutch from throwing warnings in the presence of hidden 
version-control folders like ".cvs", ".svn", ".git", etc.  Like the 
following, for example:

2007-07-03 12:13:26,543 WARN  plugin.PluginRepository - 
java.io.FileNotFoundException: 
/home/dfuhry/kddb/opidig/nutch-0.9/plugins/.svn/plugin.xml (No such file
or directory)

Thanks,

Dave Fuhry

Mime
View raw message