Skip to content

Commit 83554a3

Browse files
committed
Bootstrap scala-xml using -Xsource:2.11
Under 2.12 source level, `scala.xml.XMLTest.escape` fails (see scala#4451) https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-bootstrap/60/artifact/logs/builds/*view*/
1 parent 41edbe6 commit 83554a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/jobs/integrate/bootstrap

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ buildXML() {
217217
then echo "Found scala-xml $XML_VER; not building."
218218
else
219219
update scala scala-xml "$XML_REF" && gfxd
220-
sbtBuild 'set version := "'$XML_VER'-DOC"' $clean doc 'set version := "'$XML_VER'"' test "${buildTasks[@]}"
220+
# TODO: compile under 2.12 source level once `scala.xml.XMLTest.escape` is fixed (see #4451)
221+
sbtBuild 'set scalacOptions += "-Xsource:2.11"' 'set version := "'$XML_VER'-DOC"' $clean doc 'set version := "'$XML_VER'"' test "${buildTasks[@]}"
221222
XML_BUILT="yes" # ensure the module is built and published when buildXML is invoked for the second time, see comment above
222223
fi
223224
}

0 commit comments

Comments
 (0)