use common VM options in Linux build of PyCharm (PY-4568)

This commit is contained in:
Dmitry Jemerov
2011-09-21 13:50:16 +02:00
parent a64c75f073
commit 8c15d7f264
2 changed files with 2 additions and 5 deletions
-4
View File
@@ -1,4 +0,0 @@
-Xms32m
-Xmx512m
-XX:MaxPermSize=120m
-ea
+2 -1
View File
@@ -356,6 +356,7 @@ def buildTarGz() {
project.stage("tar.gz")
def tarRoot = isEap() ? "pycharm-$buildNumber" : "pycharm-${p("component.version.major")}.${p("component.version.minor")}"
def tarPath = "$paths.artifacts/pycharm${buildName}.tar"
ant.echo(file: "$paths.distUnix/bin/pycharm.vmoptions", message: vmoptions32().replace(' ', '\n'))
ant.tar(tarfile: tarPath) {
tarfileset(dir: paths.distAll, prefix: tarRoot) {
exclude(name: "**/*.dll")
@@ -377,7 +378,7 @@ def buildTarGz() {
tarfileset(dir: "$paths.distUnix/bin", filemode: "755", prefix: "$tarRoot/bin") {
include(name: "pycharm.sh")
}
tarfileset(dir: "$home/python/build", fullpath: "$tarRoot/bin/pycharm.vmoptions") {
tarfileset(dir: "$paths.distUnix/bin", prefix: "$tarRoot/bin") {
include(name: "pycharm.vmoptions")
}
tarfileset(dir: "$home/python/resources", prefix: "$tarRoot/bin") {