summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-08-31 15:53:11 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-08-31 15:53:11 +0000
commitde664fbc0d9b269d82f7c60d4e8721c4b76110cd (patch)
tree05004bb199301c683c4f0a3e8994e1c922451314 /build.xml
parent2a6a1f370fa84aa2fbc9ad861dd2287622dfd653 (diff)
downloadscala-de664fbc0d9b269d82f7c60d4e8721c4b76110cd.tar.gz
scala-de664fbc0d9b269d82f7c60d4e8721c4b76110cd.tar.bz2
scala-de664fbc0d9b269d82f7c60d4e8721c4b76110cd.zip
Added ant tasks for strap that build scalacheck.
No review yet.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml17
1 files changed, 16 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 570a90d5aa..1ba888b759 100644
--- a/build.xml
+++ b/build.xml
@@ -1151,8 +1151,23 @@ BOOTSTRAPPING BUILD (STRAP)
<touch file="${build-strap.dir}/plugins.complete" verbose="no"/>
<stopwatch name="strap.plugins.timer" action="total"/>
</target>
+
+ <target name="strap.scalacheck" depends="strap.plugins">
+ <mkdir dir="${build-strap.dir}/classes/scalacheck"/>
+ <scalacfork
+ destdir="${build-strap.dir}/classes/scalacheck"
+ compilerpathref="pack.classpath"
+ params="${scalac.args.all}"
+ srcdir="${src.dir}/scalacheck"
+ jvmargs="${scalacfork.jvmargs}">
+ <include name="**/*.scala"/>
+ <compilationpath>
+ <pathelement location="${build-strap.dir}/classes/library"/>
+ </compilationpath>
+ </scalacfork>
+ </target>
- <target name="strap.pre-scalap" depends="strap.plugins">
+ <target name="strap.pre-scalap" depends="strap.scalacheck">
<uptodate property="strap.scalap.available" targetfile="${build-strap.dir}/scalap.complete">
<srcfiles dir="${src.dir}/scalap"/>
</uptodate>