From a602c89bb11790dbabd20344b84e539fda246a06 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Fri, 9 Nov 2012 19:32:25 +0100 Subject: [PATCH] try a different way to make sure idea.properties is correcty packaged on mac --- build/scripts/utils.gant | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/scripts/utils.gant b/build/scripts/utils.gant index a229a984fdf9..48f747a09469 100644 --- a/build/scripts/utils.gant +++ b/build/scripts/utils.gant @@ -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)