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
Ivan Gavrilovic
078aa18479
Fix KAPT cli tests on windows
...
- Fix line separator issue
- Always quote args with delimiters (=, :)
- fix one of args files by removing obsolete stdlib reference
- Fix kotlinc.bat to ensure lazy evaluation of additional classpath
2020-12-07 12:36:59 +01:00
Ilmir Usmanov
5ab55fbb57
Support -J<jvm-param> and "-Dname=value" in windows runner script
...
Otherwise, -J-ea has no effect on windows, which breaks assert tests.
Wrap parameters with delimeters in quotes.
#KT-30211 Fixed
2020-04-16 21:11:50 +02:00
Nikolay Krasko
50c92f2a05
Bad string interpolation for empty string in batch (KT-37090)
...
#KT-37090 Fixed
2020-02-28 16:51:12 +03:00
Yan Zhulanow
6e5eb0fdd4
Kapt: Implement 'kapt' command-line tool (KT-24998, KT-24997)
2018-11-27 22:21:23 +09:00
Alexander Udalov
510295475b
Batch script: allow to pass JAVA_OPTS from outside
...
Similarly to the Bash version
#KT-14917 Fixed
2016-12-23 22:31:11 +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
cdd53de9a7
CLI: get rid of duplication in JVM/JS scripts
2015-06-15 15:42:42 +03:00
Onorio Catenacci
84acaa9bf6
Changed the path for calling kotlinc-jvm.bat to use short (8.3) names so that this will work correctly with paths with spaces in them
2015-04-15 01:16:06 +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
Dmitry Jemerov
9b51604c92
assorted build script fixes
2011-10-17 18:15:53 +02:00
Dmitry Jemerov
3083fde2dd
binary distribution for Kotlin
2011-10-17 18:01:02 +02:00