try a different way to make sure idea.properties is correcty packaged on mac

This commit is contained in:
Dmitry Jemerov
2012-11-09 19:34:41 +01:00
parent ff2e19f643
commit a602c89bb1
+3 -3
View File
@@ -640,9 +640,7 @@ binding.setVariable("buildMacZip", { String zipRoot, String zipPath, List paths,
extraBins.each {
exclude(name: it)
}
if (it != macPath) {
exclude(name: "bin/idea.properties")
}
exclude(name: "bin/idea.properties")
}
}
@@ -657,6 +655,8 @@ binding.setVariable("buildMacZip", { String zipRoot, String zipPath, List paths,
}
}
}
zipfileset(file: "$macPath/bin/idea.properties", prefix: zipRoot)
}
notifyArtifactBuilt(zipPath)