diff options
author | Paul Phillips <paulp@improving.org> | 2010-04-28 15:31:17 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-04-28 15:31:17 +0000 |
commit | 9b066f5a1eb1641f8e025a065ae6313c2d204bde (patch) | |
tree | 39a1169b2541be49ea90a6c130be857452890325 /build.xml | |
parent | 231cfbe1c023ccf9e1bc437e5098f41b121fffa8 (diff) | |
download | scala-9b066f5a1eb1641f8e025a065ae6313c2d204bde.tar.gz scala-9b066f5a1eb1641f8e025a065ae6313c2d204bde.tar.bz2 scala-9b066f5a1eb1641f8e025a065ae6313c2d204bde.zip |
Added classes/continuations-plugin to the plugi...
Added classes/continuations-plugin to the plugin build classpath.
Explanation: as things stood the plugin step of the overall build fails
constantly even when no files have been touched. The reason is that if
one checks out an older version of the repository and then returns to
the master, a subset of continuation source files will have more recent
modification dates than their corresponding classes, and ant sees that
as a reason to rebuild them. But without continuations-plugin on the
classpath, it cannot see the classfiles of those which were not changed.
IOW, if a project has A.scala B.scala C.scala and tries to rebuild
only A.scala and C.scala, B.class must be somewhere it can be seen. We
can resolve this differently if desired but this is how the rest of
the compiler does it. (Try removing quick from quick's classpath and
rebuilding after some changes.)
Review by rompf.
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -617,6 +617,7 @@ QUICK BUILD (QUICK) <compilationpath> <pathelement location="${build-quick.dir}/classes/library"/> <pathelement location="${build-quick.dir}/classes/compiler"/> + <pathelement location="${build-quick.dir}/classes/continuations-plugin"/> </compilationpath> </scalacfork> <copy |