Revision 967 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/bfm/bfmLoader.groovy

bfmLoader.groovy (revision 967)
124 124
println "-- VALIDATION - checking XML source files well-formedness"
125 125
List<File> srcfiles = srcDir.listFiles();
126 126
for (File f : srcfiles) { // check XML format, and copy file into binDir
127
	if (f.isHidden() || f.getName().equals("import.xml") || f.getName().matches("metadata\.....?") || f.getName().endsWith(".properties"))
127
	if (f.isHidden() || f.getName().equals("import.xml") || f.getName().matches("metadata\\.....?") || f.getName().endsWith(".properties"))
128 128
		continue;
129 129
	if (ValidateXml.test(f)) {
130 130
		FileCopy.copy(f, new File(txmDir, f.getName()));

Also available in: Unified diff