Commit Graph

60 Commits

Author SHA1 Message Date
Stepan Koltsov 03e78e8cc3 Revert "add runtime to classpath in JetCoreEnvironment" temporarily
This reverts commit 59c7f33c88.
2012-04-09 18:54:42 +04:00
Stepan Koltsov 59c7f33c88 add runtime to classpath in JetCoreEnvironment 2012-04-09 18:22:23 +04:00
Stepan Koltsov 10dd366216 CompilerDependencies
Holds reference to runtime.jar and jdk-headers.jar. Paths to these
jars are no longer hardcoded.

Many tests now compile runtime before execution. Because of this:
* Single test invocation is significantly slower now for some tests
* This can be fixed by making tests independent from runtime (this
must be done anyway)

Some tests still depend on runtime.jar built by "ant dist", this
is to be fixed.
2012-04-09 03:04:50 +04:00
James Strachan beedd36456 refactored out the KDocLoader stuff from the KotlinCompiler; also introduced CompilerPluginContext to wrap up the Project, BindingContext and List<JetFiles> in case a plugin were to need any of those things (or we added extra stuff later like the environment) 2012-03-29 16:37:36 +01:00
Andrey Breslav ed04839901 renaming/code moving to meet the code style 2012-03-29 19:22:55 +04:00
James Strachan a970fd24f3 include the j2k in the build tools jar 2012-03-29 09:51:51 +01:00
James Strachan e740c47e29 removed some of the cruft and redundant copies of junit.jar 2012-03-21 09:09:09 +00:00
Maxim Shafirov 43956b565a #KT-1562 Fixed. 2012-03-15 15:12:29 +04:00
Evgeny Goldin 5b7dff2bad BytecodeCompiler - compiler invocation wrapped with try/catch. 2012-03-14 19:55:56 +01:00
Evgeny Goldin da11b990f0 Build tools compilation error - absolute path is logged. 2012-03-08 16:41:04 +01:00
Evgeny Goldin 5da08b2bbc Build tools - "testlib-tests" task is commented out. 2012-03-07 21:31:32 +01:00
Evgeny Goldin 33f5b07997 KT-1529: Failing module compilation doesn't fail Maven build - test added. 2012-03-07 21:12:16 +01:00
Evgeny Goldin 710b22debe Build tools - "${basedir}/testlib" => "${basedir}/libraries/testlib" 2012-03-07 21:04:03 +01:00
Evgeny Goldin 0ceac22872 KT-1529: Failing module compilation doesn't fail Maven build 2012-03-07 20:43:07 +01:00
Stepan Koltsov 1e08fc3754 make build-tools module depend on idea-core to fix build 2012-03-07 20:48:34 +04:00
James Strachan f6244f75ea minor refactoring to allow plugins to be added to the BytecodeCompiler 2012-03-07 07:36:18 +00:00
James Strachan eb3aac9acb refactored std.* package to be kotlin.*. Due to KT-1381 I had to move the functions from kotlin.test into the stdlib for now (I made them not depend on JUnit for now) 2012-03-03 12:11:06 +00:00
Andrey Breslav 10b2bd089c No testlib tests in build-tools/build.xml 2012-02-22 17:05:39 +04:00
Evgeny Goldin e119b9162b "kotlin-home-setup" - more explicit verification of existing files. 2012-02-22 13:40:30 +02:00
Evgeny Goldin a918058262 HtmlBuilder is commented out, compilation fails; Using "testlib/module.kt" to compile Unit tests with module. 2012-02-20 18:22:15 +02:00
Evgeny Goldin 06d8329548 HtmlBuilder is commented out, compilation fails. 2012-02-20 18:14:41 +02:00
Evgeny Goldin 7acc4fe957 Ant task tests - "html.namespace" is invoked in "longer-examples-tests" macrodef. 2012-02-19 16:04:56 +02:00
Evgeny Goldin 504beac0fa Ant task - longer examples update; Maze doesn't compile, HtmlBuilder doesn't run; Ivy configuration files updated to use public TeamCity; Wiki update 2012-02-15 20:45:46 +02:00
Maxim Shafirov a03922d467 Copyrights set to Apache, reflecting it's now open source 2012-02-14 19:25:06 +04:00
Evgeny Goldin 1ed825e2cb Ant task - Maze test is commented out (compilation fails); <kotlin-home-setup> update to reflect project changes; <verify-exists> added. 2012-02-04 19:01:54 +02:00
Maxim Shafirov f58bbb8de6 Respect -output even if compiling module script 2012-02-02 18:59:02 +04:00
Maxim Shafirov d52becdf53 rename failure“ 2012-01-30 20:28:09 +04:00
Maxim Shafirov 666f922d71 unzipped kompiler. 2012-01-30 20:20:49 +04:00
Evgeny Goldin 59aa2f8c71 Ant task - Wiki update. 2012-01-30 03:06:10 +02:00
Evgeny Goldin 6ad100c809 Ant task - "kotlin.classpath" can be defined with ${kotlin-home} and Ivy (local TeamCity setup used). 2012-01-30 02:16:46 +02:00
Evgeny Goldin 68e4fedf8a Ant task - Wiki fix. 2012-01-28 03:58:58 +02:00
Evgeny Goldin 656689c576 Ant task - nested <classpath> support 2012-01-28 03:34:32 +02:00
Evgeny Goldin 64f3651fa7 Ant task - "testlib" JUnit tests run 2012-01-28 02:43:10 +02:00
Evgeny Goldin 5cc9ce8a98 Ant task - added classpath/classpathref
CompileEnvironment - added addToClasspath(File[] / String[])
Switching to CompileEnvironmentException to throw fatal errors
2012-01-28 00:13:06 +02:00
Evgeny Goldin 8a79088698 Ant task - Wiki minor update. 2012-01-27 22:44:55 +02:00
Evgeny Goldin 6bde455a25 Ant task - attribute names changed: output, jar, src. 2012-01-27 22:39:01 +02:00
Evgeny Goldin bff06b14a1 Ant task - Wiki page - TOC added 2012-01-27 04:13:56 +02:00
Evgeny Goldin 987b9a355c Ant task - Wiki page added 2012-01-27 04:11:53 +02:00
Evgeny Goldin 4f0921b1cd Ant task - "stdlib" attribute checked to be non-empty, empty default is specified in tests 2012-01-27 03:57:15 +02:00
Evgeny Goldin 01b4f5b871 Ant task - "testlib-tests" added, currently commented out - "testlib" compilation fails. 2012-01-27 01:14:59 +02:00
Evgeny Goldin a43a6c6678 Ant task - "stdlib" attribute added, "excludeStdlib" attribute removed; <define-kotlinc/> invokes "bootstrap.xml" and works recursively
"clean" task - <delete dir="${basedir}/bootstrap.compiler"/>
2012-01-27 00:50:36 +02:00
Evgeny Goldin 8b3b7092e4 Ant task - comparator fix (equals added) in Life/Maze tests; failonerror = true 2012-01-26 23:54:16 +02:00
Maxim Shafirov 81ef081a87 Finally drop attaching stdlib sources everywhere 2012-01-24 17:20:19 +04:00
Evgeny Goldin 1030fcf016 Ant task - <kotlinc module=".."/> support + test 2012-01-22 20:52:00 +02:00
Evgeny Goldin 7356abf447 Ant task - "buildToolsBootstrap" target to prepare "${bootstrap-dir}/kotlinc" 2012-01-22 19:15:14 +02:00
Evgeny Goldin 317ef287e5 Ant task - "setup-kotlin-home" checks availability of "bootstrap.compiler", set in TC environment 2012-01-22 17:13:36 +02:00
Evgeny Goldin 11dbb76363 Ant task - main "build.xml" updates; "setup-kotlin-home" checks ${kotlin-home} availability; "longer-examples-tests" - Java runs disabled (fail right now) 2012-01-22 16:55:23 +02:00
Evgeny Goldin 127aab109d Ant task tests - print/println implementation removed from examples. 2012-01-21 19:34:20 +02:00
Maxim Shafirov 3b78930b38 Don't rely on ant.jar from IDEA distribution, use ANT that runs the task 2012-01-18 13:38:04 +04:00
Evgeny Goldin 3407f808f0 Ant task - running "kotlinc-dir"/"kotlinc-jar" added to all tests 2012-01-18 01:55:02 +02:00