summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-04-16 12:55:26 +0200
committerEugene Burmako <xeno.by@gmail.com>2012-04-17 21:26:47 +0200
commit17fa0b13480c7dd9796885e32ec562e162253350 (patch)
treefcb0502aed0b4934d6c8c6c119aa803d36c11017
parentadd30e2f48f0120728a931377cc8a00748f5c9b9 (diff)
downloadscala-17fa0b13480c7dd9796885e32ec562e162253350.tar.gz
scala-17fa0b13480c7dd9796885e32ec562e162253350.tar.bz2
scala-17fa0b13480c7dd9796885e32ec562e162253350.zip
big fat error message, reloaded
-rw-r--r--src/library/scala/reflect/package.scala48
1 files 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:
- |
- | <plugin>
- | <groupId>org.scala-tools</groupId>
- | <artifactId>maven-scala-plugin</artifactId>
- | <version>2.15.0</version>
- | <executions>
- | <execution>
- | <goals>
- | ...
- | </goals>
- | <configuration>
- | <fork>false</fork>
- | ...
- | </configuration>
- | </execution>
- | </executions>
- | </plugin>
- |
- | If you compile your application with SBT,
- | <to be implemented: release SBT for 2.10.0 M3>
- |
- | If you compile your application in Scala IDE,
- | <to be implemented: release Scala IDE for 2.10.0 M3>.
- |
- | 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
- | <to be implemented: release SBT for 2.10.0 M3>
- |
- | 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 = {