Revision 479 tmp/org.txm.groovy.core/src/groovy/org/txm/importer/xtz/XTZCompiler.groovy

XTZCompiler.groovy (revision 479)
117 117
		for (File xmlFile : files) {
118 118
			cpb.tick();
119 119
			String textname = xmlFile.getName();
120
			int idx = textname.indexOf(".")
120
			int idx = textname.lastIndexOf(".")
121 121
			if (idx > 0) textname = textname.substring(0, idx)
122 122
			
123 123
			File wtcFile = new File(wtcDirectory, textname + ".wtc")

Also available in: Unified diff