src/Pure/Admin/build_history.scala
changeset 69366 b6dacf6eabe3
parent 69304 1f4afcde3334
child 69387 ff9095c91e87
equal deleted inserted replaced
69365:c5b3860d29ef 69366:b6dacf6eabe3
   244             "build " + Bash.strings(build_args1 ::: afp_sessions), redirect = true, echo = true,
   244             "build " + Bash.strings(build_args1 ::: afp_sessions), redirect = true, echo = true,
   245             strict = false)
   245             strict = false)
   246       val build_end = Date.now()
   246       val build_end = Date.now()
   247 
   247 
   248       val build_info: Build_Log.Build_Info =
   248       val build_info: Build_Log.Build_Info =
   249         Build_Log.Log_File(log_path.base_name, build_result.out_lines).
   249         Build_Log.Log_File(log_path.file_name, build_result.out_lines).
   250           parse_build_info(ml_statistics = true)
   250           parse_build_info(ml_statistics = true)
   251 
   251 
   252 
   252 
   253       /* output log */
   253       /* output log */
   254 
   254 
   585       for (line <- split_lines(ssh.read(output_file)))
   585       for (line <- split_lines(ssh.read(output_file)))
   586       yield {
   586       yield {
   587         val log = Path.explode(line)
   587         val log = Path.explode(line)
   588         val bytes = ssh.read_bytes(log)
   588         val bytes = ssh.read_bytes(log)
   589         ssh.rm(log)
   589         ssh.rm(log)
   590         (log.base_name, bytes)
   590         (log.file_name, bytes)
   591       }
   591       }
   592     })
   592     })
   593   }
   593   }
   594 }
   594 }