Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
82f2a4de
Commit
82f2a4de
authored
9 years ago
by
Roman Shevchenko
Browse files
Options
Download
Email Patches
Plain Diff
Cleanup (features unsupported by native launchers dropped from launch scripts)
parent
cef320c2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/scripts/unix/idea.sh
+1
-7
bin/scripts/unix/idea.sh
bin/scripts/win/idea.bat
+2
-5
bin/scripts/win/idea.bat
with
3 additions
and
12 deletions
+3
-12
bin/scripts/unix/idea.sh
+
1
-
7
View file @
82f2a4de
...
...
@@ -136,11 +136,6 @@ if [ -n "$@@product_uc@@_PROPERTIES" ]; then
IDE_PROPERTIES_PROPERTY
=
"-Didea.properties.file=
$@
@product_uc@@_PROPERTIES"
fi
MAIN_CLASS_NAME
=
"
$@
@product_uc@@_MAIN_CLASS_NAME"
if
[
-z
"
$MAIN_CLASS_NAME
"
]
;
then
MAIN_CLASS_NAME
=
"com.intellij.idea.Main"
fi
VM_OPTIONS
=
""
VM_OPTIONS_FILES_USED
=
""
for
vm_opts_file
in
"
$IDE_BIN_HOME
/@@vm_options@@
$BITS
.vmoptions"
"
$OS_SPECIFIC_BIN_DIR
/@@vm_options@@
$BITS
.vmoptions"
"
$HOME
/.@@system_selector@@/@@vm_options@@
$BITS
.vmoptions"
"
$@
@product_uc@@_VM_OPTIONS"
;
do
...
...
@@ -182,8 +177,7 @@ LD_LIBRARY_PATH="$IDE_BIN_HOME:$LD_LIBRARY_PATH" "$JDK/jre/bin/java" \
-Djb
.restart.code
=
88
-Didea
.paths.selector
=
@@system_selector@@
\
$IDE_PROPERTIES_PROPERTY
\
$IDE_JVM_ARGS
\
$REQUIRED_JVM_ARGS
\
$MAIN_CLASS_NAME
\
com.intellij.idea.Main
\
"
$@
"
EC
=
$?
test
$EC
-ne
88
&&
exit
$EC
...
...
This diff is collapsed.
Click to expand it.
bin/scripts/win/idea.bat
+
2
-
5
View file @
82f2a4de
...
...
@@ -33,9 +33,6 @@ IF EXIST "%JRE%\lib\amd64" SET BITS=64
SET
IDE_BIN_DIR
=
%~dp0
SET
IDE_HOME
=
%IDE_BIN_DIR%
\..
SET
MAIN_CLASS_NAME
=
%@@product_uc@@_MAIN_CLASS_NAME%
IF
"
%MAIN_CLASS_NAME%
"
==
""
SET
MAIN_CLASS_NAME
=
com
.intellij.idea.Main
IF
NOT
"
%@@product_uc@@_PROPERTIES%
"
==
""
SET
IDE_PROPERTIES_PROPERTY
=
"-Didea.properties.file=
%@@product_uc@@_PROPERTIES%
"
:: ---------------------------------------------------------------------
...
...
@@ -54,7 +51,7 @@ IF EXIST "%VM_OPTIONS_FILE%" SET ACC=%ACC% -Djb.vmOptionsFile="%VM_OPTIONS_FILE%
SET
COMMON_JVM_ARGS
=
"-XX:ErrorFile=
%USERPROFILE%
\java_error_in_@@product_uc@@_
%%p
.log"
"-Xbootclasspath/a:
%IDE_HOME%
/lib/boot.jar"
-Didea
.paths.selector
=
@@system_selector@@
%IDE_PROPERTIES_PROPERTY%
SET
IDE_JVM_ARGS
=
@@ide_jvm_args@@
SET
ALL_JVM_ARGS
=
%ACC%
%COMMON_JVM_ARGS%
%IDE_JVM_ARGS%
%REQUIRED_JVM_ARGS%
SET
ALL_JVM_ARGS
=
%ACC%
%COMMON_JVM_ARGS%
%IDE_JVM_ARGS%
@@class_path@@
IF
NOT
"
%@@product_uc@@_CLASS_PATH%
"
==
""
SET
CLASS_PATH
=
%CLASS_PATH%
;
%@@product_uc@@_CLASS_PATH%
...
...
@@ -65,7 +62,7 @@ IF NOT "%@@product_uc@@_CLASS_PATH%" == "" SET CLASS_PATH=%CLASS_PATH%;%@@produc
SET
OLD_PATH
=
%PATH%
SET
PATH
=
%IDE_BIN_DIR%
;
%PATH%
"
%JAVA_EXE%
"
%ALL_JVM_ARGS%
-cp
"
%CLASS_PATH%
"
%MAIN_CLASS_NAME%
%
*
"
%JAVA_EXE%
"
%ALL_JVM_ARGS%
-cp
"
%CLASS_PATH%
"
com
.intellij.idea.Main
%
*
SET
PATH
=
%OLD_PATH%
GOTO
end
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help