summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2013-04-02 17:46:49 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2013-04-02 17:47:18 -0700
commit42cd23376ab01e5f1c4094429c4d17e54ab1996e (patch)
tree0b9f82ee4e0fa024b7b45466f548a3ba6b2da58b /build.xml
parentf4814f06bd9f6f1f07a5e97ed45a4b6c810e038a (diff)
parent6591acbd01ee4035385cd25b8503faaa42a0506c (diff)
downloadscala-42cd23376ab01e5f1c4094429c4d17e54ab1996e.tar.gz
scala-42cd23376ab01e5f1c4094429c4d17e54ab1996e.tar.bz2
scala-42cd23376ab01e5f1c4094429c4d17e54ab1996e.zip
Merge 2.10.x into master again (no conflicts).
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml18
1 files changed, 13 insertions, 5 deletions
diff --git a/build.xml b/build.xml
index 4a31baa3e2..fa2e9e1d9b 100644
--- a/build.xml
+++ b/build.xml
@@ -23,8 +23,15 @@ targets exercised:
- install zinc and symlink the installed zinc script to ${basedir}/tools/zinc (${basedir} is where build.xml and the rest of your checkout resides)
- make sure to set ZINC_OPTS to match ANT_OPTS!
- invoke ant as `ant -Dstarr.version="2.10.1" -Dlocker.skip=1`
- (zinc needs compiler jars
- TODO rework the build to pack locker and build using that when using zinc)
+ (zinc needs compiler jars)
+-->
+
+<!--
+TODO:
+ - detect zinc anywhere on PATH
+ - automatically set ZINC_OPTS
+ - skip locker (and test.stability) by default to speed up PR validation, still do full build & testing during nightly
+ - (rework the build to pack locker and build using that when using zinc)
-->
@@ -794,7 +801,7 @@ targets exercised:
<attribute name="compilerpathref" />
<attribute name="destdir" />
<attribute name="srcdir" />
- <attribute name="srcpath" default="NOT SET"/> <!-- needed to compile the library -->
+ <attribute name="srcpath" default="NOT SET"/> <!-- needed to compile the library, "NOT SET" is just a convention to denote an optional attribute -->
<attribute name="buildpathref" />
<attribute name="params" default="" />
<attribute name="java-excludes" default=""/>
@@ -837,7 +844,8 @@ targets exercised:
<attribute name="java-excludes" default=""/>
<sequential>
- <!-- use zinc for the quick stage if it's available;
+ <!-- TODO: detect zinc anywhere on PATH
+ use zinc for the quick stage if it's available;
would use it for locker but something is iffy in sbt: get a class cast error on global phase -->
<if><and> <available file="tools/zinc"/>
<equals arg1="@{stage}" arg2="quick"/>
@@ -909,7 +917,7 @@ targets exercised:
<do>
<stopwatch name="@{stage}.@{project}.timer"/>
<mkdir dir="${build-@{stage}.dir}/classes/@{project}"/>
- <staged-javac stage="@{stage}" project="@{project}" excludes="@{java-excludes}"/> <!-- HACK: always compile with javac -->
+ <staged-javac stage="@{stage}" project="@{project}" excludes="@{java-excludes}"/> <!-- always compile with javac for simplicity and regularity; it's cheap -->
<staged-scalac with="@{with}" stage="@{stage}" project="@{project}" srcpath="@{srcpath}" args="@{args}" java-excludes="@{java-excludes}"/>
<if><equals arg1="@{version}" arg2=""/><then>
<propertyfile file = "${build-@{stage}.dir}/classes/@{project}/@{project}.properties">