src/Pure/Tools/mkroot.scala
changeset 73340 0ffcad1f6130
parent 72832 03803bbfdca3
child 73404 299f6a8faccc
equal deleted inserted replaced
73339:9efdebe24c65 73340:0ffcad1f6130
    23     session_dir: Path = Path.current,
    23     session_dir: Path = Path.current,
    24     session_parent: String = "",
    24     session_parent: String = "",
    25     init_repos: Boolean = false,
    25     init_repos: Boolean = false,
    26     title: String = "",
    26     title: String = "",
    27     author: String = "",
    27     author: String = "",
    28     progress: Progress = new Progress)
    28     progress: Progress = new Progress): Unit =
    29   {
    29   {
    30     Isabelle_System.make_directory(session_dir)
    30     Isabelle_System.make_directory(session_dir)
    31 
    31 
    32     val name = proper_string(session_name) getOrElse session_dir.absolute_file.getName
    32     val name = proper_string(session_name) getOrElse session_dir.absolute_file.getName
    33     val parent = proper_string(session_parent) getOrElse Isabelle_System.getenv("ISABELLE_LOGIC")
    33     val parent = proper_string(session_parent) getOrElse Isabelle_System.getenv("ISABELLE_LOGIC")