I simplified startup scripts by moving most code from .bat and .sh into Java code.
On top of it I also implemented a shared run configuration that starts kara debug server with the application
The only way to run/debug of kara is to use kara_dist artifact output, i.e. out/artifacts/kara_dist folder.
Before that once need to make kara_dist artifact in IDEA
Meanwhile I switched TeamCity build to generate package with use of IDEA artifacts
include sample binaries into kotlin-demo artifact
explicitly specify parent classloader when loading application
dynamically load classes in Kara Exec,
add run configuration for server
Merge branch 'fix-classloading' into jars
replace full paths with marco
simplify scripts, fix path resolution
Thanks. I'd been hoping someone with a little more JVM build experience would clean this up a bit.