another attempt to squeeze a list into a property list entry;
authorwenzelm
Tue, 18 Oct 2016 15:31:08 +0200
changeset 64303 605351c7ef97
parent 64302 6de1aad1e70d
child 64304 96bc94c87a81
another attempt to squeeze a list into a property list entry;
src/Pure/Admin/build_log.scala
--- a/src/Pure/Admin/build_log.scala	Tue Oct 18 15:18:58 2016 +0200
+++ b/src/Pure/Admin/build_log.scala	Tue Oct 18 15:31:08 2016 +0200
@@ -24,9 +24,11 @@
 
   object Prop
   {
+    val separator = '\u000b'
+
     def multiple(name: String, args: List[String]): Properties.T =
       if (args.isEmpty) Nil
-      else List(name -> YXML.string_of_body(XML.Encode.list(XML.Encode.string)(args)))
+      else List(name -> args.mkString(separator.toString))
 
     val build_tags = "build_tags"  // multiple
     val build_args = "build_args"  // multiple