aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-11-05 12:29:20 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-11-05 12:29:20 +0100
commitfb9f466fc5b33bc4ef6c58bffd76d4d17054d7e1 (patch)
treea2b5f75e59d8a91c951a17a268c88c8e8fba050a
parent7a92ba5f83acbfb3a71d9f1e29377916be5de701 (diff)
downloaddokka-fb9f466fc5b33bc4ef6c58bffd76d4d17054d7e1.tar.gz
dokka-fb9f466fc5b33bc4ef6c58bffd76d4d17054d7e1.tar.bz2
dokka-fb9f466fc5b33bc4ef6c58bffd76d4d17054d7e1.zip
include tools.jar in compilation classpath
-rwxr-xr-x.idea/ant.xml3
-rw-r--r--build.xml3
2 files changed, 5 insertions, 1 deletions
diff --git a/.idea/ant.xml b/.idea/ant.xml
index 13b52a5a..4e95ddbe 100755
--- a/.idea/ant.xml
+++ b/.idea/ant.xml
@@ -7,9 +7,10 @@
</properties>
</buildFile>
<buildFile url="file://$PROJECT_DIR$/build.xml">
+ <maximumHeapSize value="256" />
<properties>
<property name="kotlin.compiler" value="$PROJECT_DIR$/../kotlin/dist/kotlinc" />
</properties>
</buildFile>
</component>
-</project>
+</project> \ No newline at end of file
diff --git a/build.xml b/build.xml
index a25e9d31..8a5a5c86 100644
--- a/build.xml
+++ b/build.xml
@@ -15,6 +15,7 @@
<target name="build">
<mkdir dir="out"/>
+ <echo message="${java.home}"/>
<kotlinc output="out/dokka.jar">
<src path="src"/>
@@ -23,6 +24,8 @@
<compilerArg value="${kotlinc.repeat}"/>
<classpath>
<fileset dir="lib" includes="*.jar"/>
+ <file name="${java.home}/lib/tools.jar"/>
+ <file name="${java.home}/../lib/tools.jar"/>
</classpath>
</kotlinc>