IDEADEV-5525. Ability to have alternative idea.vmoptions

This commit is contained in:
Maxim Shafirov
2006-04-10 17:45:06 +04:00
parent 00575c5f11
commit f63f3783fc
+5 -1
View File
@@ -35,8 +35,12 @@ if [ -z "$IDEA_MAIN_CLASS_NAME" ]; then
IDEA_MAIN_CLASS_NAME="com.intellij.idea.Main"
fi
if [ -z "$IDEA_VM_OPTIONS" ]; then
IDEA_VM_OPTIONS="$IDEA_HOME/bin/idea.vmoptions"
fi
REQUIRED_JVM_ARGS="-Xbootclasspath/p:../lib/boot.jar: $IDEA_PROPERTIES_PROPERTY"
JVM_ARGS=`tr '\n' ' ' < "$IDEA_HOME/bin/idea.vmoptions"`
JVM_ARGS=`tr '\n' ' ' < "$IDEA_VM_OPTIONS"`
JVM_ARGS="$JVM_ARGS $REQUIRED_JVM_ARGS"
CLASSPATH=../lib/idea.jar