diff --git a/python/build/Info.plist b/python/build/Info.plist new file mode 100644 index 000000000000..d65fb84aee1a --- /dev/null +++ b/python/build/Info.plist @@ -0,0 +1,89 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleDocumentTypes + + + CFBundleExecutable + pycharm + CFBundleIconFile + PyCharm.icns + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + PyCharm + CFBundlePackageType + APPL + CFBundleIdentifier + com.jetbrains.pycharm + CFBundleSignature + ???? + CFBundleGetInfoString + PyCharm @@version@@, build @@build@@. Copyright JetBrains s.r.o., (c) 2000-2010 + CFBundleShortVersionString + @@version@@ + CFBundleVersion + @@build@@ + Java + + ClassPath + $APP_PACKAGE/lib/bootstrap.jar:$APP_PACKAGE/lib/extensions.jar:$APP_PACKAGE/lib/util.jar:$APP_PACKAGE/lib/jdom.jar:$APP_PACKAGE/lib/log4j.jar:/System/Library/Java + + JVMVersion + @@jdk_req@@ + + JVMArchs + + i386 + x86_64 + ppc + + + LSArchitecturePriority + + i386 + x86_64 + ppc + + + MainClass + com.intellij.idea.Main + Properties + + CVS_PASSFILE + ~/.cvspass + com.apple.mrj.application.live-resize + false + idea.config.path + ~/Library/Preferences/@@system_selector@@/ + idea.system.path + ~/Library/Caches/@@system_selector@@/ + idea.plugins.path + ~/Library/Application Support/@@system_selector@@/ + idea.log.path + ~/Library/Logs/@@system_selector@@/ + java.endorsed.dirs + + idea.smooth.progress + false + apple.laf.useScreenMenuBar + true + apple.awt.graphics.UseQuartz + true + apple.awt.fullscreencapturealldisplays + false + idea.platform.prefix + Python + + + VMOptions + @@vmoptions@@ -Xbootclasspath/a:../lib/boot.jar + + WorkingDirectory + $APP_PACKAGE/bin + + + diff --git a/python/build/pycharm.exe4j b/python/build/pycharm.exe4j index 1bb40fb83e5f..f19375bf93ed 100644 --- a/python/build/pycharm.exe4j +++ b/python/build/pycharm.exe4j @@ -4,7 +4,7 @@ - diff --git a/python/build/pycharm_build.gant b/python/build/pycharm_build.gant index 6ee8475a274f..0011e003ad08 100644 --- a/python/build/pycharm_build.gant +++ b/python/build/pycharm_build.gant @@ -338,18 +338,27 @@ def layoutMac(Map args, String target) { fileset(dir: "$home/community/bin/mac") fileset(dir: "$home/community/bin/nix") } + dir("lib") { + fileset(dir: "$home/community/build/conf/mac/lib") + } + dir("Contents") { + dir("MacOS") { + } + dir("Resources") { + fileset(dir: "$home/python/resources", includes: "PyCharm.icns") + } + fileset(dir: "$home/python/build", includes: "Info.plist") + } } - ant.copy(todir: target) { - fileset(dir: "$home/community/build/conf/mac") - } + ant.copy(file: "$home/community/build/conf/mac/Contents/MacOS/idea", todir: "$target/Contents/MacOS/pycharm") ant.replace(file: "$target/Contents/Info.plist") { replacefilter(token: "@@build@@", value: args.buildName) replacefilter(token: "@@version@@", value: args.version) - replacefilter(token: "@@vmoptions@@", value: args.vmoptions + " -Xverify:none -XX:+UseCompressedOOPS -XX:+DoEscapeAnalysis -Didea.platform.prefix=Python") + replacefilter(token: "@@vmoptions@@", value: args.vmoptions + " -Xverify:none -XX:+UseCompressedOOPS -XX:+DoEscapeAnalysis") replacefilter(token: "@@system_selector@@", value: args.system_selector) replacefilter(token: "@@jdk_req@@", value: args.jdk_req) } diff --git a/python/build/resources/pycharm_inst.ico b/python/build/resources/pycharm_inst.ico index ef00183e2990..6c75bcdbc441 100644 Binary files a/python/build/resources/pycharm_inst.ico and b/python/build/resources/pycharm_inst.ico differ diff --git a/python/build/resources/pycharm_uninst.ico b/python/build/resources/pycharm_uninst.ico index 481328c427c4..a5b9ad86ae94 100644 Binary files a/python/build/resources/pycharm_uninst.ico and b/python/build/resources/pycharm_uninst.ico differ diff --git a/python/resources/PyCharm.icns b/python/resources/PyCharm.icns new file mode 100644 index 000000000000..ea1e74f15082 Binary files /dev/null and b/python/resources/PyCharm.icns differ diff --git a/python/resources/PyCharm.ico b/python/resources/PyCharm.ico new file mode 100644 index 000000000000..c037bcbeb53d Binary files /dev/null and b/python/resources/PyCharm.ico differ diff --git a/python/resources/PyCharm_12.png b/python/resources/PyCharm_12.png new file mode 100644 index 000000000000..ca8d9d95a25f Binary files /dev/null and b/python/resources/PyCharm_12.png differ diff --git a/python/resources/PyCharm_16.png b/python/resources/PyCharm_16.png new file mode 100644 index 000000000000..607f2c33d96d Binary files /dev/null and b/python/resources/PyCharm_16.png differ diff --git a/python/resources/PyCharm_32.png b/python/resources/PyCharm_32.png new file mode 100644 index 000000000000..88ff057c96e9 Binary files /dev/null and b/python/resources/PyCharm_32.png differ diff --git a/python/resources/idea/PythonApplicationInfo.xml b/python/resources/idea/PythonApplicationInfo.xml index 7e6f90d1bdda..696412d6e5ad 100644 --- a/python/resources/idea/PythonApplicationInfo.xml +++ b/python/resources/idea/PythonApplicationInfo.xml @@ -4,7 +4,7 @@ - +