Skip to content

Instantly share code, notes, and snippets.

@stephenh
Created August 5, 2011 22:13
Show Gist options
  • Save stephenh/1128652 to your computer and use it in GitHub Desktop.
Save stephenh/1128652 to your computer and use it in GitHub Desktop.
ylog-classpath for embedding
Public resources found in...
Translatable source found in...
Persistent unit cache dir set to: /home/stephen/exigence/scala-test/war/../gwt-unitCache
Looking for previously cached Compilation Units in /home/stephen/exigence/scala-test/war/../gwt-unitCache
Compiling module scalatest.ScalaTest
Starting UnitWriteThread.
gwt-unitCache-000001319BD927F8: Load complete
gwt-unitCache-000001319BDC2513: Load complete
gwt-unitCache-000001319BF6FDBA: Load complete
gwt-unitCache-000001319BFCEA3F: Load complete
Loaded 0 units from persistent store.
Looking for precompiled archives. To disable, use -Dgwt.usearchives=false
Loading archived module: jar:file:/home/stephen/other/google-web-toolkit/build/lib/gwt-user.jar!/com/google/gwt/user/User.gwtar
[WARN] Unable to read: jar:file:/home/stephen/other/google-web-toolkit/build/lib/gwt-user.jar!/com/google/gwt/user/User.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompiledClass; local class incompatible: stream classdesc serialVersionUID = -6689215535360503569, local class serialVersionUID = 6108868600490253418
Loading archived module: jar:file:/home/stephen/other/google-web-toolkit/build/lib/gwt-user.jar!/com/google/gwt/core/Core.gwtar
[WARN] Unable to read: jar:file:/home/stephen/other/google-web-toolkit/build/lib/gwt-user.jar!/com/google/gwt/core/Core.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompiledClass; local class incompatible: stream classdesc serialVersionUID = -6689215535360503569, local class serialVersionUID = 6108868600490253418
Loading archived module: jar:file:/home/stephen/other/google-web-toolkit/build/lib/gwt-user.jar!/com/google/gwt/regexp/RegExp.gwtar
[WARN] Unable to read: jar:file:/home/stephen/other/google-web-toolkit/build/lib/gwt-user.jar!/com/google/gwt/regexp/RegExp.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompiledClass; local class incompatible: stream classdesc serialVersionUID = -6689215535360503569, local class serialVersionUID = 6108868600490253418
Loading archived module: jar:file:/home/stephen/other/google-web-toolkit/build/lib/gwt-user.jar!/com/google/web/bindery/event/Event.gwtar
[WARN] Unable to read: jar:file:/home/stephen/other/google-web-toolkit/build/lib/gwt-user.jar!/com/google/web/bindery/event/Event.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.javac.CompiledClass; local class incompatible: stream classdesc serialVersionUID = -6689215535360503569, local class serialVersionUID = 6108868600490253418
Found 0 cached/archived units. Used 0 / 2434 units from cache.
Compiling 2434 scala + java files
SIG(XCPU) => dump compiler caches
Classpath built from (-bootclasspath = /tmp/gwt-scalac/bin -classpath = /tmp/gwt-scalac/bin -sourcepath = /tmp/gwt-scalac/source -Ylog-classpath = true -Ydebug = true -target = jribble -encoding = UTF-8 -javabootclasspath = /tmp/gwt-scalac/bin -d = /tmp/gwt-scalac/target)
Defaults: object Defaults {
scalaHome =
javaBootClassPath =
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
scalaLibDirFound = None
scalaLibFound =
scalaBootClassPath =
scalaPluginPath = misc/scala-devel/plugins
}
Calculated: object Calculated {
scalaHome =
javaBootClassPath = /tmp/gwt-scalac/bin
javaExtDirs =
/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext
/usr/java/packages/lib/ext
javaUserClassPath =
useJavaClassPath = false
scalaBootClassPath = /tmp/gwt-scalac/bin
scalaExtDirs =
userClassPath = /tmp/gwt-scalac/bin
sourcePath = /tmp/gwt-scalac/source
}
After java boot/extdirs classpath has 2 entries:
directory classpath: /tmp/gwt-scalac/bin
sourcepath: /tmp/gwt-scalac/source
scalac error Unknown: [search path for source files: /tmp/gwt-scalac/source]
scalac error Unknown: [search path for class files: /tmp/gwt-scalac/bin:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext/sunjce_provider.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext/sunpkcs11.jar:/tmp/gwt-scalac/source]
[ERROR] Unexpected internal compiler error
java.lang.Error: typeConstructor inapplicable for <none>
at scala.reflect.internal.SymbolTable.abort(SymbolTable.scala:32)
at scala.reflect.internal.Symbols$Symbol.typeConstructor(Symbols.scala:963)
at scala.reflect.internal.Definitions$definitions$.scala$reflect$internal$Definitions$definitions$$booltype(Definitions.scala:155)
at scala.reflect.internal.Definitions$definitions$.init(Definitions.scala:822)
at scala.tools.nsc.Global$Run.<init>(Global.scala:776)
at com.google.gwt.dev.scalac.NscScalaCompiler.invokeNsc(NscScalaCompiler.java:95)
at com.google.gwt.dev.scalac.NscScalaCompiler.doCompile(NscScalaCompiler.java:102)
at com.google.gwt.dev.scalac.NscScalaCompiler.compile(NscScalaCompiler.java:84)
at com.google.gwt.dev.scalac.ScalaGwtCompiler.stealUnits(ScalaGwtCompiler.java:57)
at com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile(CompilationStateBuilder.java:229)
at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:455)
at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:379)
at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:366)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:247)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
Shutting down PersistentUnitCache thread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment