From 17fa0b13480c7dd9796885e32ec562e162253350 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Mon, 16 Apr 2012 12:55:26 +0200 Subject: big fat error message, reloaded --- src/library/scala/reflect/package.scala | 48 +++------------------------------ 1 file changed, 3 insertions(+), 45 deletions(-) diff --git a/src/library/scala/reflect/package.scala b/src/library/scala/reflect/package.scala index 6f40a3ac3e..6d50a96dfd 100644 --- a/src/library/scala/reflect/package.scala +++ b/src/library/scala/reflect/package.scala @@ -21,52 +21,10 @@ package object reflect { | | In Scala 2.10.0 M3, scala-compiler.jar is required to be on the classpath | for manifests and type tags to function. This will change in the final release, - | but for now you need to adjust your scripts or build system to proceed. - | Here are the instructions for some of the situations that might be relevant. + | but for now you need to adjust your scripts or the build system to proceed. | - | If you compile your application directly from the command line - | or a hand-rolled script, this is a bug. Please, report it. - | - | If you compile your application with Maven using the maven-scala plugin, - | set its "fork" configuration entry to "false: - | - | - | org.scala-tools - | maven-scala-plugin - | 2.15.0 - | - | - | - | ... - | - | - | false - | ... - | - | - | - | - | - | If you compile your application with SBT, - | - | - | If you compile your application in Scala IDE, - | . - | - | If you launch your application directly from the command line - | or a hand-rolled script, add `scala-compiler.jar` to the classpath: - | - | scalac HelloWorld.scala - | scala HelloWorld -cp path/to/scala-compiler.jar - | - | If you launch your application with Maven using the maven-scala plugin, - | set its "fork" configuration entry to "false as shown above. - | - | If you launch your application with SBT, make sure that you use - | - | - | If you launch your application in Scala IDE, make sure that both scala-library.jar and scala-compiler.jar - | are in bootstrap entries on the classpath of your launch configuration. + | For the instructions for some of the situations that might be relevant + | visit our knowledge base at https://gist.github.com/2391081. """.stripMargin('|').format(show(cl)) def mkMirror(classLoader: ClassLoader): api.Mirror = { -- cgit v1.2.3