Created
July 28, 2011 08:36
-
-
Save gkossakowski/1111216 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ <target name="quick.jdk2ikvm" depends="quick.pre-jdk2ikvm" unless="quick.jdk2ikvm.available"> | |
+ <stopwatch name="quick.jdk2ikvm.timer"/> | |
+ <mkdir dir="${build-quick.dir}/classes/jdk2ikvm-plugin"/> | |
+ <scalacfork | |
+ destdir="${build-quick.dir}/classes/jdk2ikvm-plugin" | |
+ compilerpathref="locker.classpath" | |
+ params="${scalac.args.quick}" | |
+ srcdir="${src.dir}/jdk2ikvm/src" | |
+ jvmargs="${scalacfork.jvmargs}"> | |
+ <include name="**/*.scala"/> | |
+ <compilationpath> | |
+ <pathelement location="${build-quick.dir}/classes/library"/> | |
+ <pathelement location="${build-quick.dir}/classes/compiler"/> | |
+ <pathelement location="${lib.dir}/forkjoin.jar"/> | |
+ </compilationpath> | |
+ </scalacfork> | |
+ <copy | |
+ file="${src.dir}/jdk2ikvm/resources/scalac-plugin.xml" | |
+ todir="${build-quick.dir}/classes/jdk2ikvm-plugin"/> | |
+ <!-- not very nice to create jar here but needed to load plugin --> | |
+ <!-- <mkdir dir="${build-quick.dir}/misc/scala-devel/goto"/> --> | |
+ <jar destfile="${build-quick.dir}/misc/scala-devel/jdk2ikvm.jar"> | |
+ <fileset dir="${build-quick.dir}/classes/jdk2ikvm-plugin"/> | |
+ </jar> | |
+ <touch file="${build-quick.dir}/jdk2ikvm.complete" verbose="no"/> | |
+ <stopwatch name="quick.jdk2ikvm.timer" action="total"/> | |
+ </target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment