diff --git a/python/edu/build/pycharm_edu_build.gant b/python/edu/build/pycharm_edu_build.gant index 7b21ea487396..28d829e68b34 100644 --- a/python/edu/build/pycharm_edu_build.gant +++ b/python/edu/build/pycharm_edu_build.gant @@ -22,7 +22,7 @@ includeTargets << new File("$home/community/build/scripts/libLicenses.gant") includeTargets << new File("$home/build/scripts/ultimate_utils.gant") requireProperty("buildNumber", requireProperty("build.number", snapshot)) -setProperty("buildName", "PE-$buildNumber") +setProperty("buildName", "EDU-$buildNumber") setProperty("ch", "$home/community") setProperty("pythonCommunityHome", "$ch/python") setProperty("pythonEduHome", "$ch/python/edu") @@ -31,7 +31,7 @@ def jdk_bundled_version = p("jdk_bundled_mac") == "1.8" ? "jdk8_mac_redist.tar" ant.copy(file: "${home}/build/jdk/${jdk_bundled_version}", tofile: "${home}/build/jdk/jdk_mac_redist_for_${buildNumber}.tar") // load ApplicationInfo.xml properties -ant.xmlproperty(file: "$pythonEduHome/resources/idea/PyCharmPEApplicationInfo.xml", collapseAttributes: "true") +ant.xmlproperty(file: "$pythonEduHome/resources/idea/PyCharmEduApplicationInfo.xml", collapseAttributes: "true") setProperty("system_selector", "PyCharmEdu${p("component.version.major")}0") setProperty("dryRun", false) setProperty("jdk16", guessJdk()) @@ -164,7 +164,7 @@ public layoutEducational(String classesPath, Set usedJars) { projectBuilder.moduleRuntimeClasspath(findModule("main_pycharm_edu"), false).each { ant.pathelement(location: it) } - }, "-Didea.platform.prefix=PyCharmPE -Didea.no.jre.check=true") + }, "-Didea.platform.prefix=PyCharmEdu -Didea.no.jre.check=true") if (!dryRun) { wireBuildDate("PE-${buildNumber}", appInfo) @@ -173,7 +173,7 @@ public layoutEducational(String classesPath, Set usedJars) { Map args = [ buildNumber: "PE-${buildNumber}", system_selector: system_selector, - ide_jvm_args: "-Didea.platform.prefix=PyCharmPE -Didea.no.jre.check=true"] + ide_jvm_args: "-Didea.platform.prefix=PyCharmEdu -Didea.no.jre.check=true"] LayoutInfo layoutInfo = layoutFull(args, paths.distAll, usedJars) generateLicensesTable("$paths.artifacts/third-party-libraries.txt", layoutInfo.usedModules); @@ -198,9 +198,9 @@ public layoutEducational(String classesPath, Set usedJars) { buildNSIS([paths.distAll, paths.distWin], "$pythonEduHome/build/strings.nsi", "$pythonEduHome/build/paths.nsi", - "pycharmPE-", false, true, ".py", system_selector) + "pycharmEDU-", false, true, ".py", system_selector) - String tarRoot = isEap() ? "pycharm-pe-$buildNumber" : "pycharm-pe-${p("component.version.major")}.${p("component.version.minor")}" + String tarRoot = isEap() ? "pycharm-edu-$buildNumber" : "pycharm-edu-${p("component.version.major")}.${p("component.version.minor")}" buildTarGz(tarRoot, "$paths.artifacts/pycharm${buildName}.tar", [paths.distAll, paths.distUnix]) String macAppRoot = isEap() ? "PyCharm Educational ${p("component.version.major")}.${p("component.version.minor")} EAP.app/Contents" : "PyCharm Educational.app/Contents" @@ -223,7 +223,7 @@ private layoutPlugins(layouts) { } private String appInfoFile() { - return "$pythonEduHome/resources/idea/PyCharmPEApplicationInfo.xml" + return "$pythonEduHome/resources/idea/PyCharmEduApplicationInfo.xml" } private layoutFull(Map args, String target, Set usedJars) { @@ -404,7 +404,7 @@ private layoutMac(Map _args, String target) { Map args = new HashMap(_args) args.icns = "$pythonCommunityHome/resources/PyCharmCore.icns" args.bundleIdentifier = "com.jetbrains.pycharm" - args.platform_prefix = "PyCharmPE" + args.platform_prefix = "PyCharmEdu" args.help_id = "PY" args."idea.properties.path" = "${paths.distAll}/bin/idea.properties" args."idea.properties" = ["idea.no.jre.check": true, "ide.mac.useNativeClipboard": "false"]; diff --git a/python/edu/build/pycharm_edu_launcher.properties b/python/edu/build/pycharm_edu_launcher.properties index 2f36a8d2fe1e..d3554685ce3b 100644 --- a/python/edu/build/pycharm_edu_launcher.properties +++ b/python/edu/build/pycharm_edu_launcher.properties @@ -1,3 +1,3 @@ IDS_JDK_ENV_VAR=PYCHARM_JDK IDS_JDK_ONLY=false -IDS_VM_OPTIONS=-Didea.platform.prefix=PyCharmPE -Didea.no.jre.check=true -Didea.paths.selector=__PRODUCT_PATHS_SELECTOR__ +IDS_VM_OPTIONS=-Didea.platform.prefix=PyCharmEdu -Didea.no.jre.check=true -Didea.paths.selector=__PRODUCT_PATHS_SELECTOR__ diff --git a/python/edu/resources/idea/PyCharmPEApplicationInfo.xml b/python/edu/resources/idea/PyCharmEduApplicationInfo.xml similarity index 100% rename from python/edu/resources/idea/PyCharmPEApplicationInfo.xml rename to python/edu/resources/idea/PyCharmEduApplicationInfo.xml