Revision 2554 tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/importer/xml/xmlLoader.groovy

xmlLoader.groovy (revision 2554)
119 119
if (MONITOR != null && MONITOR.isCanceled()) { return MONITOR.done(); }
120 120
if (MONITOR != null) MONITOR.worked(1, "APPLYING XSL")
121 121
if (xsl != null && xslParams != null && xsl.trim().length() > 0) {
122
	new File(binDir, "src").deleteDir() // remove old outputed files if any
122 123
	if (ApplyXsl2.processImportSources(new File(xsl), srcDir, new File(binDir, "src"), xslParams))
123 124
	// return; // error during process
124 125
	srcDir = new File(binDir, "src");

Also available in: Unified diff