split map() with default arguments into map() and mapTo(resultCollection) to simplify IDE/completion/compiler error messages

This commit is contained in:
James Strachan
2012-02-29 14:25:11 +00:00
parent fe78ac5e67
commit 59460c7afa
10 changed files with 195 additions and 31 deletions
+14
View File
@@ -151,6 +151,20 @@
</java>
</target>
<target name="generateStdlib" depends="compileTestlib" description="Generates the stdlib APIs for arrays and kotlin collections">
<java classname="kotlin.tools.namespace" failonerror="true" fork="true">
<classpath>
<pathelement location="${kotlin-home}/lib/kotlin-runtime.jar"/>
<pathelement location="${kotlin-home}/lib/kotlin-test.jar"/>
<pathelement location="${basedir}/testlib/lib/junit-4.9.jar"/>
<fileset dir="${basedir}/testlib/lib">
<include name="**/*.jar"/>
</fileset>
<pathelement path="${output}/classes/testlib"/>
</classpath>
</java>
</target>
<target name="testlib" depends="compileTestlib">
<mkdir dir="${output}/test-reports"/>