Révision 2204
tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/importer/xtz/XTZImporter.groovy (revision 2204) | ||
---|---|---|
230 | 230 |
return false |
231 | 231 |
} else { |
232 | 232 |
if (inputFile.delete()) { |
233 |
FileCopy.copy(outputFile, new File(outputFile.getParent(), "copy.xml"))
|
|
234 |
outputFile.renameTo(inputFile) |
|
233 |
FileCopy.copy(outputFile, inputFile)
|
|
234 |
//outputFile.renameTo(inputFile)
|
|
235 | 235 |
} else { |
236 |
println "Fail to encode $milestone in ${inputFile}: could not replace the file." |
|
236 |
println "Fail to encode $milestone in ${inputFile}: could not replace the file with the $outputFile file."
|
|
237 | 237 |
return false |
238 | 238 |
} |
239 | 239 |
} |
Formats disponibles : Unified diff