src/Pure/Tools/build_process.scala
changeset 77390 ff43a524aa5d
parent 77387 cd10b8edfdf5
child 77391 cb3f5361fbca
equal deleted inserted replaced
77389:aac23f2e7f3c 77390:ff43a524aa5d
   513       case "-" => Logger.make(progress)
   513       case "-" => Logger.make(progress)
   514       case log_file => Logger.make(Some(Path.explode(log_file)))
   514       case log_file => Logger.make(Some(Path.explode(log_file)))
   515     }
   515     }
   516 
   516 
   517   protected val database: Option[SQL.Database] =
   517   protected val database: Option[SQL.Database] =
   518     if (!build_options.bool("build_database") || true /*FIXME*/) None
   518     if (!build_options.bool("build_database_test")) None
   519     else if (store.database_server) Some(store.open_database_server())
   519     else if (store.database_server) Some(store.open_database_server())
   520     else {
   520     else {
   521       val db = SQLite.open_database(Build_Process.Data.database)
   521       val db = SQLite.open_database(Build_Process.Data.database)
   522       try { Isabelle_System.chmod("600", Build_Process.Data.database) }
   522       try { Isabelle_System.chmod("600", Build_Process.Data.database) }
   523       catch { case exn: Throwable => db.close(); throw exn }
   523       catch { case exn: Throwable => db.close(); throw exn }