Revision 966 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/transcriber/transcriberLoader.groovy

transcriberLoader.groovy (revision 966)
117 117
File allmetadatasfile = Metadatas.findMetadataFile(srcDir);
118 118
println "Trying to read metadatas values from: "+allmetadatasfile
119 119
if (allmetadatasfile.exists()) {
120
	File copy = new File(binDir, "metadata.csv")
120
	File copy = new File(binDir, allmetadatasfile.getName())
121 121
	if (!FileCopy.copy(allmetadatasfile, copy)) {
122 122
		println "Error: could not create a copy of metadata file "+allmetadatasfile.getAbsoluteFile();
123 123
		return;

Also available in: Unified diff