Revision 966 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/xmltxmpara/xmltxmparaLoader.groovy

xmltxmparaLoader.groovy (revision 966)
98 98
//copy txm files
99 99
List<File> srcfiles = srcDir.listFiles();
100 100
for (File f : srcfiles) {// check XML format, and copy file into binDir
101
	if (f.getName().equals("import.xml") || f.getName().equals("metadata.csv") || f.getName().endsWith(".properties"))
101
	if (f.getName().equals("import.xml") || f.getName().matches("metadata\.....?") || f.getName().endsWith(".properties"))
102 102
	continue;
103 103
	if (ValidateXml.test(f)) {
104 104
		FileCopy.copy(f, new File(paraDir, f.getName()));

Also available in: Unified diff