IDEA-CR-26346

This commit is contained in:
Vladimir.Orlov
2017-11-03 15:34:01 +03:00
parent 3d2cce3dd0
commit ccab16e038
@@ -43,13 +43,10 @@ class WinExeInstallerBuilder {
def extensionsList = customizer.fileAssociations
String associations = "; List of associations. To create an association change value to 1.\n"
if (! extensionsList.isEmpty()) {
for (int i = 0; i < extensionsList.size(); i++) {
associations += extensionsList.get(i) + "=0\n"
}
associations += extensionsList.collect { "$it=0\n" }.join("")
} else {
associations = "; There are no associations for the product.\n"
}
buildContext.messages.info(associations)
buildContext.ant.copy(todir: "${buildContext.paths.artifacts}") {
fileset(file: customizer.silentInstallationConfig)
filterset(begintoken: "@@", endtoken: "@@") {