Commit Graph

67 Commits

Author SHA1 Message Date
Andrey Breslav 3e7541605e Publish kotlin-jdk-annotations.jar in Maven 2012-12-10 13:39:58 +04:00
Nikolay Krasko 36d8500656 Revert explicit check for building with Java 1.6
#KT-2988 Fixed
2012-11-14 18:19:28 +04:00
James Strachan 3043577949 temporarily enforce jdk 1.6 in the maven build to provide a non-confusing compile error message if someone accidentally tries to build on JDK 7 which does not yet work (see KT-2988) 2012-10-24 09:23:32 +01:00
James Strachan ef0c8ab162 added explicit source plugin version 2012-10-24 09:08:07 +01:00
James Strachan f53a40d1e0 lowered the maven requirement version a little 2012-08-02 10:14:01 +01:00
James Strachan 4f5e2227b4 upgraded to latest selenium 2012-07-19 21:34:13 +01:00
James Strachan ebc87ea34d added a test case that ensures the generated JS code works in the browser example 2012-07-19 14:05:26 +01:00
James Strachan 00b0f26339 add a minimum maven version to give better errors if folks try build on 2.x 2012-07-18 07:00:06 +01:00
James Strachan bea649bf87 enabled the unit testing of a subset of the standard library JUnit test cases with the compiled JavaScript versions and running them in QUnit in a JUnit test case 2012-07-05 14:51:28 +01:00
James Strachan 20da5c48ea got the mvn k2js plugin working again & re-enabled the js building in the mvn build (apart from running the junit JS tests as some of them fail) 2012-07-05 11:43:35 +01:00
James Strachan d8d1da7334 disabled mvn compile of JS samples until we fix: java.lang.IllegalStateException: null at (5,10) in /stdlib/JUMaps.kt.jet 2012-07-03 08:12:51 +01:00
James Strachan 8637373aa2 disabled mvn compile of JS tests until we fix: java.lang.IllegalStateException: null at (5,10) in /stdlib/JUMaps.kt.jet 2012-07-03 07:42:21 +01:00
James Strachan 63e0f169fc re-enabled compiling to JS test cases now we've fixed the compilation of the latest comparator based standard library code 2012-06-29 23:13:05 +01:00
James Strachan e7d6263a58 temporary disabled 2 failing JS builds until I figure out the fix ;) 2012-06-26 06:29:33 +01:00
Alexander Zolotov 8b191f5179 Disabled failing JS test case (kotlin-js-tests module) until function comparator works 2012-06-25 23:40:30 +04:00
James Strachan 8646748e46 disabled failing JS test case until Collections.emptyList() works 2012-06-23 08:53:01 +01:00
James Strachan 965c433421 add a junit and selenium based test case of the JS compiled version of the kotlin standard ilbrary test cases 2012-06-15 21:09:56 +01:00
James Strachan 3546a9ff54 added an integration test that compiles the JS unit tests and generates the QUnit test case 2012-06-14 15:32:57 +01:00
Leonid Shalupov b243c5765d publish compiler with attach-artifact in maven 2012-06-04 23:47:25 +04:00
James Strachan c4439f33f0 avoided JS compile barf in JS generation and fix compile error of Node vals in generated DOM API 2012-05-31 09:26:55 +01:00
James Strachan fe68aeaa78 generate the Node.ELEMENT_NODE fields on the JS DOM API and refactored the kotlin.dom API so that it uses the Node.getNodeType() API rather than using "is" which is troublesome to implement on a browser/JS 2012-05-31 09:08:12 +01:00
James Strachan 4cff5f9759 modified the JS compiler so that it can have definitions and library sources specified or discovered on the classpath; so for example we can then discover the kotlin standard library kotlin that needs to be compiled; plus the JS library definitions (which map to the kotlin-lib.js file) 2012-05-30 15:51:08 +01:00
James Strachan 4921aeafc3 refactored the maven plugin to use the vanilla K2JSCompiler directly and avoid using the K2JVMCompiler when generating JS code; also included a default LibrarySourceConfig which detects JS library code on the classpath which works nicer in maven/ant style worlds where dependencies tend to be specified rather than file paths to zip files 2012-05-29 17:28:15 +01:00
James Strachan 2898abb245 simplified the kotlin-js-library source generation so we can selectively include some of the kotlin standard library for use in JS compilation 2012-05-29 08:49:36 +01:00
James Strachan ec1a7f44ae create a standard jar of the kotlin JS source that needs to be compiled when generating JS code so its easy to reuse using regular maven dependencies in build tools; updated the examples to reuse this so that its easy to build JS code without needing to know where on the file system a kotlin checkout lives 2012-05-28 17:16:12 +01:00
James Strachan 1254aa9e6f allow the JS compiler to reference the JS library source so that maven based JS compilation can work & use the new kotlin.browser API 2012-05-26 07:45:10 +01:00
Leonid Shalupov 0e435d5274 pack compiler sources and javadoc 2012-05-07 19:06:59 +04:00
Leonid Shalupov c0d6d97583 libraries: adapt to single repository schema 2012-05-07 17:06:26 +04:00
Leonid Shalupov c5e1225f1c libraries: redundant ${project.basedir} 2012-04-30 20:59:16 +04:00
Leonid Shalupov 3813e0a886 maven version = 0.1-SNAPSHOT 2012-04-12 13:03:15 +04:00
Leonid Shalupov 2bc2b123b3 fix build 2012-04-12 10:28:33 +04:00
Leonid Shalupov d1246abbf1 maven: get rid of intermediate poms: examples, docs, tools (artifacts garbage) 2012-04-12 09:33:48 +04:00
Leonid Shalupov db2e3b73aa fix kunit compilation 2012-04-09 23:03:24 +04:00
Leonid Shalupov 673c274ba4 add some maven distribution management 2012-04-07 20:42:28 +04:00
James Strachan a40f9ee9b1 refactored the maven project structure so that things are in a simpler tree structure to avoid folks getting lost 2012-04-05 16:20:06 +01:00
James Strachan 937b5ac16d added first spike of a kdoc maven plugin for generating API docs for kotlin projects 2012-04-05 15:46:01 +01:00
James Strachan 698c6cc7bc added an initial spike of a swing library for kotlin to help create swing UIs using nice kotlin builder syntax 2012-04-05 13:02:52 +01:00
Leonid Shalupov 50e3e01284 no dependency on external maven plugin 2012-04-04 15:43:59 +04:00
James Strachan 1d342978d0 #KT-1675 Fixed, renaming join() -> makeString() and adding an appendString() which reduces the possible number of appendables being created 2012-04-02 20:01:24 +01:00
James Strachan 25c0ed3279 enabled the js example project 2012-03-30 09:43:05 +01:00
James Strachan abe72e5adc added a spike of a pure Java set of kotlin maven plugins which use the kotlin-compiler, build tools and associated dependencies from the Ant build. The kotlin-install module installs all the Ant build stuff into the local mvn repo, so they can be shaded and included into the plugin itself so it can be easily used from any mvn like build 2012-03-29 20:48:06 +01:00
Evgeny Goldin 01679d315d Cleanup - "localKotlin" profile is eliminated, it is now the default behavior 2012-03-21 15:21:12 +01:00
Evgeny Goldin 669c7ec326 Libraries:
- "kotlin-maven-plugin" is pulled up to the main POM
 - "testFilterIntoLinkedList" test commented out
 - stdlib - including "kotlin-runtime" respects "localKotlin" profile
2012-03-20 21:54:43 +01:00
Evgeny Goldin 178d822c89 Added "kotlin-maven-plugin" module, extracted <junit> to the parent POM scope "compile". 2012-03-19 23:19:23 +01:00
James Strachan 1c408cdbda include the runtime classes in the mvn build stdlib 2012-03-19 17:13:56 +00:00
James Strachan 5e2401234b fixed up wrong repo URL 2012-03-19 10:45:36 +00:00
Evgeny Goldin 165a110064 Kotlin maven plugin updates:
- <groupId>com.github.goldin</groupId>
- <kotlin-maven-plugin.version>0.2.3.8</kotlin-maven-plugin.version>
- Repo is "http://evgenyg.artifactoryonline.com/evgenyg/"
2012-03-18 22:34:23 +01:00
James Strachan cfe39d4025 added a little test of showing how we can use the standard kotlin functions and standard library from Java 2012-03-17 17:00:32 +00:00
James Strachan 515b701383 removed old guice dependencies 2012-03-14 08:52:50 +00:00
James Strachan a7ef7a2340 added Mark Petrovic's suggestion of the string encoding - thanks Mark! 2012-03-14 08:41:05 +00:00