From 83554a3c0fb2b57efa293efcc81a947b98a19469 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Wed, 8 Jul 2015 14:03:57 -0700 Subject: Bootstrap scala-xml using `-Xsource:2.11` Under 2.12 source level, `scala.xml.XMLTest.escape` fails (see #4451) https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-bootstrap/60/artifact/logs/builds/*view*/ --- scripts/jobs/integrate/bootstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/jobs/integrate/bootstrap b/scripts/jobs/integrate/bootstrap index 706a20daf4..c6935df936 100755 --- a/scripts/jobs/integrate/bootstrap +++ b/scripts/jobs/integrate/bootstrap @@ -217,7 +217,8 @@ buildXML() { then echo "Found scala-xml $XML_VER; not building." else update scala scala-xml "$XML_REF" && gfxd - sbtBuild 'set version := "'$XML_VER'-DOC"' $clean doc 'set version := "'$XML_VER'"' test "${buildTasks[@]}" + # TODO: compile under 2.12 source level once `scala.xml.XMLTest.escape` is fixed (see #4451) + sbtBuild 'set scalacOptions += "-Xsource:2.11"' 'set version := "'$XML_VER'-DOC"' $clean doc 'set version := "'$XML_VER'"' test "${buildTasks[@]}" XML_BUILT="yes" # ensure the module is built and published when buildXML is invoked for the second time, see comment above fi } -- cgit v1.2.3