From 614e43c79194ffdf880c14e2effe05ad49096697 Mon Sep 17 00:00:00 2001 From: rytz Date: Fri, 22 Aug 2008 15:35:21 +0000 Subject: [PATCH] removed scalap man page git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15895 5e8d7ff9-d8ef-0310-90f0-a4852d11357a --- build.xml | 2 +- src/manual/scala/man1/fsc.scala | 3 +- src/manual/scala/man1/sbaz.scala | 3 +- src/manual/scala/man1/scala.scala | 3 +- src/manual/scala/man1/scalac.scala | 3 +- src/manual/scala/man1/scaladoc.scala | 3 +- src/manual/scala/man1/scalap.scala | 109 ------------------ .../scala/tools/docutil/resources/index.html | 14 +-- 8 files changed, 7 insertions(+), 133 deletions(-) delete mode 100644 src/manual/scala/man1/scalap.scala diff --git a/build.xml b/build.xml index 41caa12c3..42161854b 100644 --- a/build.xml +++ b/build.xml @@ -910,7 +910,7 @@ DOCUMENTATION - diff --git a/src/manual/scala/man1/fsc.scala b/src/manual/scala/man1/fsc.scala index 0a34d1d19..61d0a996f 100644 --- a/src/manual/scala/man1/fsc.scala +++ b/src/manual/scala/man1/fsc.scala @@ -142,8 +142,7 @@ object fsc extends Command { Link(Bold("sbaz") & "(1)", "sbaz.html") & ", " & Link(Bold("scala") & "(1)", "scala.html") & ", " & Link(Bold("scalac") & "(1)", "scalac.html") & ", " & - Link(Bold("scaladoc") & "(1)", "scaladoc.html") & ", " & - Link(Bold("scalap") & "(1)", "scalap.html")) + Link(Bold("scaladoc") & "(1)", "scaladoc.html")) def manpage = new Document { title = command diff --git a/src/manual/scala/man1/sbaz.scala b/src/manual/scala/man1/sbaz.scala index 8b47800a7..4dea03ec9 100644 --- a/src/manual/scala/man1/sbaz.scala +++ b/src/manual/scala/man1/sbaz.scala @@ -182,8 +182,7 @@ object sbaz extends Command { Link(Bold("fsc") & "(1)", "fsc.html") & ", " & Link(Bold("scala") & "(1)", "scala.html") & ", " & Link(Bold("scalac") & "(1)", "scalac.html") & ", " & - Link(Bold("scaladoc") & "(1)", "scaladoc.html") & ", " & - Link(Bold("scalap") & "(1)", "scalap.html")) + Link(Bold("scaladoc") & "(1)", "scaladoc.html")) def manpage = new Document { title = command diff --git a/src/manual/scala/man1/scala.scala b/src/manual/scala/man1/scala.scala index 811000589..11c530b2c 100644 --- a/src/manual/scala/man1/scala.scala +++ b/src/manual/scala/man1/scala.scala @@ -249,8 +249,7 @@ object scala extends Command { Link(Bold("fsc") & "(1)", "fsc.html") & ", " & Link(Bold("sbaz") & "(1)", "sbaz.html") & ", " & Link(Bold("scalac") & "(1)", "scalac.html") & ", " & - Link(Bold("scaladoc") & "(1)", "scaladoc.html") & ", " & - Link(Bold("scalap") & "(1)", "scalap.html")) + Link(Bold("scaladoc") & "(1)", "scaladoc.html")) def manpage = new Document { title = command diff --git a/src/manual/scala/man1/scalac.scala b/src/manual/scala/man1/scalac.scala index a3a4a9b66..d6105743b 100644 --- a/src/manual/scala/man1/scalac.scala +++ b/src/manual/scala/man1/scalac.scala @@ -351,8 +351,7 @@ object scalac extends Command { Link(Bold("fsc") & "(1)", "fsc.html") & ", " & Link(Bold("sbaz") & "(1)", "sbaz.html") & ", " & Link(Bold("scala") & "(1)", "scala.html") & ", " & - Link(Bold("scaladoc") & "(1)", "scaladoc.html") & ", " & - Link(Bold("scalap") & "(1)", "scalap.html")) + Link(Bold("scaladoc") & "(1)", "scaladoc.html")) def manpage = new Document { title = command diff --git a/src/manual/scala/man1/scaladoc.scala b/src/manual/scala/man1/scaladoc.scala index 7fc52cd74..63a19f322 100644 --- a/src/manual/scala/man1/scaladoc.scala +++ b/src/manual/scala/man1/scaladoc.scala @@ -126,8 +126,7 @@ object scaladoc extends Command { Link(Bold("fsc") & "(1)", "fsc.html") & ", " & Link(Bold("sbaz") & "(1)", "sbaz.html") & ", " & Link(Bold("scala") & "(1)", "scala.html") & ", " & - Link(Bold("scalac") & "(1)", "scalac.html") & ", " & - Link(Bold("scalap") & "(1)", "scalap.html")) + Link(Bold("scalac") & "(1)", "scalac.html")) def manpage = new Document { title = command diff --git a/src/manual/scala/man1/scalap.scala b/src/manual/scala/man1/scalap.scala deleted file mode 100644 index da327122b..000000000 --- a/src/manual/scala/man1/scalap.scala +++ /dev/null @@ -1,109 +0,0 @@ -/* NSC -- new Scala compiler - * Copyright 2005-2007 LAMP/EPFL - * @author Stephane Micheloud - */ -//$Id$ - -package scala.man1 - -object scalap extends Command { - import _root_.scala.tools.docutil.ManPage._ - - protected def cn = new Error().getStackTrace()(0).getClassName() - - val name = Section("NAME", - - MBold(command) & " " & NDash & " Scala class file decoder for the " & - Link("Scala 2", "http://scala-lang.org/") & " language") - - val synopsis = Section("SYNOPSIS", - - CmdLine(" [ " & Argument("options") & " ] " & Argument("source file"))) - - val parameters = Section("PARAMETERS", - - DefinitionList( - Definition( - Mono(Argument("options")), - "Command line options. See " & Link(Bold("OPTIONS"), "#options") & - " below."), - Definition( - Mono(Argument("source file")), - "One class file to be decoded (such as " & - Mono("hello.HelloWorld") & ")."))) - - val description = Section("DESCRIPTION", - - "The " & MBold(command) & " tool reads a class file generated by the" & - "Scala compiler, and displays object and class definitions.", - - "By default, " & MBold(command) & " looks for the given class file " & - "in the current directory. You can specify a separate classpath with " & - CmdOption("classpath") & "(see " & Link(Bold("OPTIONS"), "#options") & ", below).") - - val options = Section("OPTIONS", - - "The decoder has a set of standard options that are supported on the " & - "current development environment and will be supported in future releases.", - - Section("Standard Options", - DefinitionList( - Definition( - CmdOption("help"), - "Display this usage message."), - Definition( - CmdOption("private"), - "Print private definitions."), - Definition( - CmdOption("verbose"), - "Print out additional information."), - Definition( - CmdOption("version"), - "Print product version and exit."), - Definition( - CmdOption("cp") & "| " & CmdOption("classpath"), - "Specify where to find user class files.")))) - - val examples = Section("EXAMPLES", - - DefinitionList( - Definition( - "Display definitions for a generated class file", - CmdLine("hello.HelloWorld")))) - - val exitStatus = Section("EXIT STATUS", - - MBold(command) & " returns a zero exist status if it succeeds to process " & - "the specified input files. Non zero is returned in case of failure.") - - override val authors = Section("AUTHOR", - - "Written by Matthias Zenger.") - - val seeAlso = Section("SEE ALSO", - - Link(Bold("fsc") & "(1)", "fsc.html") & ", " & - Link(Bold("sbaz") & "(1)", "sbaz.html") & ", " & - Link(Bold("scala") & "(1)", "scala.html") & ", " & - Link(Bold("scalac") & "(1)", "scalac.html") & ", " & - Link(Bold("scaladoc") & "(1)", "scaladoc.html")) - - def manpage = new Document { - title = command - date = "June 8, 2006" - author = "Stephane Micheloud" - version = "0.2" - sections = List( - name, - synopsis, - parameters, - description, - options, - examples, - exitStatus, - authors, - bugs, - copyright, - seeAlso) - } -} diff --git a/src/manual/scala/tools/docutil/resources/index.html b/src/manual/scala/tools/docutil/resources/index.html index 4319d10d3..0a3b51d9e 100644 --- a/src/manual/scala/tools/docutil/resources/index.html +++ b/src/manual/scala/tools/docutil/resources/index.html @@ -45,8 +45,7 @@
  • Basic Tools (sbaz, - fsc, scala, scalac, scaladoc, - scalap) + fsc, scala, scalac, scaladoc)
@@ -175,17 +174,6 @@ [Solaris, Linux and Windows] - - - scalap - - - The Scala class file decoder. - - - [Solaris, Linux and Windows] - -