Revision 967 tmp/org.txm.groovy.core/src/groovy/org/txm/macroproto/importer/XTZImporterMacro.groovy

XTZImporterMacro.groovy (revision 967)
210 210
if (srcfiles != null)
211 211
for (int i = 0 ; i < srcfiles.size() ; i++) {// check XML format, and copy file into binDir
212 212
	File f = srcfiles.get(i)
213
	if (f.getName().equals("import.xml") || f.getName().matches("metadata\.....?") || f.getName().endsWith(".properties")) {
213
	if (f.getName().equals("import.xml") || f.getName().matches("metadata\\.....?") || f.getName().endsWith(".properties")) {
214 214
		srcfiles.remove(i);
215 215
		i--;
216 216
		continue;

Also available in: Unified diff