Revision 967 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/factiva/factivaLoader.groovy

factivaLoader.groovy (revision 967)
154 154
List<File> srcfiles = srcDir.listFiles();
155 155
for (int i = 0 ; i < srcfiles.size() ; i++) {// check XML format, and copy file into binDir
156 156
	File f = srcfiles.get(i)
157
	if (f.getName().equals("import.xml") || f.getName().matches("metadata\.....?") || f.getName().endsWith(".properties")) {
157
	if (f.getName().equals("import.xml") || f.getName().matches("metadata\\.....?") || f.getName().endsWith(".properties")) {
158 158
		srcfiles.remove(i);
159 159
		i--;
160 160
		continue;

Also available in: Unified diff