Revision 966 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/doc/docLoader.groovy

docLoader.groovy (revision 966)
207 207
Metadatas metadatas; // text metadata
208 208
//println "Trying to read metadata from: "+allmetadatasfile
209 209
if (allmetadatasfile.exists()) {
210
	File copy = new File(binDir, "metadata.csv")
210
	File copy = new File(binDir, allmetadatasfile.getName())
211 211
	if (!FileCopy.copy(allmetadatasfile, copy)) {
212
		println "Error: could not create a copy of the metadata.csv file "+allmetadatasfile.getAbsoluteFile();
212
		println "Error: could not create a copy of the $allmetadatasfile file "+allmetadatasfile.getAbsoluteFile();
213 213
		return;
214 214
	}
215 215
	metadatas = new Metadatas(copy, Toolbox.getMetadataEncoding(), 

Also available in: Unified diff