Révision 3461

TXM/trunk/org.txm.groovy.core/src/groovy/org/txm/macro/transcription/SegmentTRSInSectionFromMarkerMacro.groovy (revision 3461)
56 56
		return;
57 57
	}
58 58
	
59
	def errors = []
59 60
	ConsoleProgressBar cpb = new ConsoleProgressBar(trsFiles.size())
60 61
	for (File trsFile : trsFiles) {
61 62
		
......
147 148
		}
148 149
		
149 150
		if (nFound == 0) {
150
			println "** $trsFile : aucun marqueur '$newSectionMarker' trouvé."
151
			errors << "$trsFile"
151 152
		}
152 153
		
153 154
		resultDirectory.mkdir()
......
161 162
	}
162 163
	cpb.done()
163 164
	
165
	if (errors.size() > 0) {
166
		println "Error, no marker $newSectionMarker found in files: $errors"
167
	}
168
	
164 169
	println "Done."
165 170
	
166 171
} catch(Exception e) {

Formats disponibles : Unified diff