diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2005-12-13 16:16:27 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2005-12-13 16:16:27 +0000 |
commit | 354a2566de85e6e5993616a1843c024e4a2f98cf (patch) | |
tree | a92934b4bd6095447781d73e5d6fb360f6e85b90 /sources/scala | |
parent | 95dbf1955feb2a2b6a48b81aecabb5308b9767b4 (diff) | |
download | scala-354a2566de85e6e5993616a1843c024e4a2f98cf.tar.gz scala-354a2566de85e6e5993616a1843c024e4a2f98cf.tar.bz2 scala-354a2566de85e6e5993616a1843c024e4a2f98cf.zip |
Adding Eclipse plug-in meta info
Diffstat (limited to 'sources/scala')
-rwxr-xr-x | sources/scala/tools/nsc/Global.scala | 6 | ||||
-rw-r--r-- | sources/scala/tools/nsc/backend/jvm/GenJVM.scala | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/sources/scala/tools/nsc/Global.scala b/sources/scala/tools/nsc/Global.scala index 9fee761272..45a9ee2f99 100755 --- a/sources/scala/tools/nsc/Global.scala +++ b/sources/scala/tools/nsc/Global.scala @@ -80,7 +80,9 @@ class Global(val settings: Settings, val reporter: Reporter) extends SymbolTable def error(msg: String) = reporter.error(null, msg); def warning(msg: String) = reporter.warning(null, msg); - def inform(msg: String) = reporter.info(null, msg, true); + def inform(msg: String) = System.err.println(msg); + + //reporter.info(null, msg, true); def informProgress(msg: String) = if (settings.verbose.value) inform("[" + msg + "]"); @@ -121,7 +123,7 @@ class Global(val settings: Settings, val reporter: Reporter) extends SymbolTable settings.extdirs.value); if (settings.verbose.value) { - System.out.println("classpath = " + classPath); + System.err.println("classpath = " + classPath); } def getSourceFile(f: AbstractFile): SourceFile = diff --git a/sources/scala/tools/nsc/backend/jvm/GenJVM.scala b/sources/scala/tools/nsc/backend/jvm/GenJVM.scala index aa6e46d263..c8e5f72cd0 100644 --- a/sources/scala/tools/nsc/backend/jvm/GenJVM.scala +++ b/sources/scala/tools/nsc/backend/jvm/GenJVM.scala @@ -91,7 +91,8 @@ abstract class GenJVM extends SubComponent { addScalaAttr(if (isTopLevelModule(sym)) sym.sourceModule else sym); val outfile = getFile(jclass, ".class"); jclass.writeTo(outfile); - informProgress("wrote " + outfile); + val file = scala.tools.util.AbstractFile.getFile(outfile); + informProgress("wrote " + outfile + " " + (if (file != null) "" + file.getFile() + " " + file.getFile().exists() else "no file")); } var serialVUID: Option[Long] = None; |