Alexander Udalov
e4d1e6246e
CLI: increase default value of Xms option
...
According to the preloader's "-measure" option, just the raw class files
occupy ~50 Mb during compilation of hello world (~55 Mb for K2). So 32M
is a very outdated value for Xms. This change sets it to something more
reasonable to hopefully avoid unnecessary GCs and thus help with
performance and potentially with OOMs (KT-58690).
#KT-58690
2023-06-22 17:10:11 +00:00
scaventz
9a7ef11043
Report a readable diagnostic on empty -J argument in CLI
2021-03-06 03:14:11 -08:00
Alexander Udalov
f08733eb75
CLI: suppress warning on JDK 9+ with illegal access to ResourceBundle
...
The underlying issue is tracked in IDEA-248785.
#KT-43704 Fixed
2021-01-29 21:29:08 +01:00
Alexander Udalov
2ef4ca4e6e
CLI: do not pass -noverify to java process starting from JDK 13
...
#KT-44232 Fixed
2021-01-29 21:28:25 +01:00
Alexander Udalov
2bbe3db041
Update copyrights in CLI scripts
2021-01-29 21:27:28 +01:00
Yan Zhulanow
6e5eb0fdd4
Kapt: Implement 'kapt' command-line tool (KT-24998, KT-24997)
2018-11-27 22:21:23 +09:00
Alexander Udalov
5b9ee88b52
Remove --add-opens options to workaround Java 9 visibility checks
...
These options are no longer needed because the problematic code in
intellij-core that was accessing these private APIs has been dealt with
in the 171 branch.
The remaining options in "Codegen Tests" run configurations are needed
because of reflection usage on JDK internals in KtUsefulTestCase
2017-07-06 12:50:04 +03:00
Alexander Udalov
a5d70cfa68
Support running Kotlin compiler CLI on Java 9 on Unix
...
Workaround IDEA-170005, IDEA-170494 and similar issues by opening the
required packages from java.base to the unnamed module
#KT-14988 In Progress
2017-03-30 13:04:41 +03:00
Sergey Mashkov
dafe7e3539
KT-14003 kotlinc shebang should use env
2016-10-07 17:52:34 +03:00
Alexander Udalov
4dc29bf0b2
Introduce 'kotlin' script for running programs
...
'kotlin' is to 'kotlinc' what 'java' is to 'javac'. However it will support
much more: running class by name, jar, scripts, expressions, REPL
2015-09-08 20:30:50 +03:00
Alexander Udalov
aba6ab1299
Refactor command-line interface to kotlin-preloader.jar
...
Use reasonable defaults for the options: no time profiling, no instrumenters,
empty classpath, 4096 as the class number estimate. Replace 4096 in the
codebase with the constant field.
Keep the old interface intact until the build is bootstrapped and the new one
can be used in all compilation steps
2015-08-24 01:29:58 +03:00
Alexander Udalov
9637c049fe
CLI: update KOTLIN_HOME lookup process in Bash script
...
The original code was taken from the 'scalac' script, where it has evolved
since and now is a lot easier to understand
2015-06-15 15:43:31 +03:00
Alexander Udalov
2f1316ec9c
CLI: don't pass -D and -J options to Kotlin
...
Kotlin compiler's CLI argument parser currently fails on these options, so
there was no convenient way to use them
2015-06-15 15:42:43 +03:00
Alexander Udalov
cdd53de9a7
CLI: get rid of duplication in JVM/JS scripts
2015-06-15 15:42:42 +03:00
Alexander Udalov
1b7ba320c7
Fix handling of paths with spaces in kotlinc script
2015-04-15 01:16:07 +03:00
Alexander Udalov
21b2fa2509
Update copyrights to 2015
2015-01-13 01:15:18 +03:00
Alexander Udalov
e04f7c24fa
Alias 'kotlinc' for 'kotlinc-jvm'
2014-06-26 22:02:58 +04:00
Leonid Shalupov
4eae229127
reworked kotlin compiler dist
2012-05-04 19:12:02 +04:00
pTalanov
d0d5b147f2
Refactor cli: all the jvm stuff goes under org.jetbrains.jet.cli.jvm, common stuff under org.jetbrains.jet.cli.common
2012-04-25 20:19:15 +04:00
Andrey Breslav
6f9ed383f3
Script fixed for Mac
2011-10-17 21:47:02 +04:00
Dmitry Jemerov
3083fde2dd
binary distribution for Kotlin
2011-10-17 18:01:02 +02:00