From 429ecaec49b007e809a09229b1cd11a81f0b76b9 Mon Sep 17 00:00:00 2001 From: Maxim Shafirov Date: Wed, 1 Dec 2010 15:32:10 +0300 Subject: [PATCH] Let's name app like "IntelliJ IDEA 10" rather than "IntelliJ IDEA 10.0" --- build/scripts/dist.gant | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/scripts/dist.gant b/build/scripts/dist.gant index 88089ccf1901..3b37c8f796ed 100644 --- a/build/scripts/dist.gant +++ b/build/scripts/dist.gant @@ -1,5 +1,5 @@ import org.jetbrains.jps.Jps -import static org.jetbrains.jps.idea.IdeaProjectLoader.* +import static org.jetbrains.jps.idea.IdeaProjectLoader.guessHome includeTargets << new File("${guessHome(this)}/build/scripts/utils.gant") includeTool << Jps @@ -170,7 +170,7 @@ private def layoutMac(Map args, String home, Paths paths) { replacefilter(token: "@@jdk_req@@", value: args.jdk_req) } - def root = isEap() ? "${version}-${args.buildNumber}.app" : "IntelliJ IDEA ${version} CE.app" + def root = isEap() ? "${p("component.version.codename")}-${args.buildNumber}.app" : "IntelliJ IDEA ${p("component.version.major")} CE.app" def macZipPath = "$paths.artifacts/idea${args.buildNumber}.mac.zip" ant.zip(zipfile: macZipPath) {