This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mac-grek:scalagwt-sample grek (sync-showcase)$ ant | |
Buildfile: /Users/grek/scalagwt/scalagwt-sample/build.xml | |
scalac: | |
[scalac] Compiling 0 scala and 10 java source files to /Users/grek/scalagwt/scalagwt-sample/war/WEB-INF/jribble | |
[javac] /Users/grek/scalagwt/scalagwt-sample/build.xml:58: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds | |
gwtc: | |
[java] Public resources found in... | |
[java] Unexpected entry in classpath; /System/Library/Java/Extensions/libAppleScriptEngine.jnilib is neither a directory nor an archive (.jar or .zip) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[scalacfork] /Users/grek/scalagwt/scalagwt-library/build/jdk2ikvm/library/scala/Tuple2.scala:22: error: not found: value AnyRef | |
[scalacfork] case class Tuple2[@specialized(Int, Long, Double, Char, Boolean, AnyRef) +T1, @specialized(Int, Long, Double, Char, Boolean, AnyRef) +T2](_1: T1, _2: T2) | |
[scalacfork] ^ | |
[scalacfork] /Users/grek/scalagwt/scalagwt-library/build/jdk2ikvm/library/scala/Tuple2.scala:22: error: not found: value AnyRef | |
[scalacfork] case class Tuple2[@specialized(Int, Long, Double, Char, Boolean, AnyRef) +T1, @specialized(Int, Long, Double, Char, Boolean, AnyRef) +T2](_1: T1, _2: T2) | |
[scalacfork] ^ | |
[scalacfork] /Users/grek/scalagwt/scalagwt-library/build/jdk2ikvm/library/scala/Function1.scala:35: error: object AnyRef is not a member of package scala | |
[scalacfork] Note: type AnyRef exists, but it has no compani |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[error] assertion failed: originalOwner is not kept in presentation compiler runs. (Symbols.scala:1498) | |
[error] scala.Predef$.assert(Predef.scala:160) | |
[error] scala.reflect.internal.Symbols$Symbol.originalEnclosingMethod(Symbols.scala:1498) | |
[error] scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator.outerName$1(GenJVM.scala:780) | |
[error] scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator$$anonfun$addInnerClasses$4.apply(GenJVM.scala:813) | |
[error] scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator$$anonfun$addInnerClasses$4.apply(GenJVM.scala:807) | |
[error] scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59) | |
[error] scala.collection.immutable.List.foreach(List.scala:76) | |
[error] scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator.addInnerClasses(GenJVM.scala:807) | |
[error] scala.tools.nsc.backend.jvm.GenJVM$BytecodeGenerator.emitClass(GenJVM.scala:296) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# This is very hacky remedy to following error people using sbt | |
# and 2.10.0-M1 release of Scala are going to see: | |
# | |
# API.scala:261: error: type mismatch; | |
# found : API.this.global.tpnme.NameType | |
# (which expands to) API.this.global.TypeName | |
# required: String | |
# sym.isLocalClass || sym.isAnonymousClass || sym.fullName.endsWith(LocalChild) | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[warn] :::::::::::::::::::::::::::::::::::::::::::::: | |
[warn] :: UNRESOLVED DEPENDENCIES :: | |
[warn] :::::::::::::::::::::::::::::::::::::::::::::: | |
[warn] :: com.typesafe.sbtscalariform#sbt-scalariform;0.1.4: not found | |
[warn] :::::::::::::::::::::::::::::::::::::::::::::: | |
[warn] | |
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes. | |
[warn] com.typesafe.sbtscalariform:sbt-scalariform:0.1.4 (sbtVersion=0.11.1, scalaVersion=2.9.1) | |
[warn] | |
[error] {file:/Users/grek/.sbt/plugins/}default-020a2a/*:update: sbt.ResolveException: unresolved dependency: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lib-jribble: | |
[mkdir] Created dir: /Users/grek/scalagwt/scalagwt-library/build/gwt/library | |
[scalacfork] Compiling 522 files to /Users/grek/scalagwt/scalagwt-library/build/gwt/library | |
[scalacfork] /Users/grek/scalagwt/scalagwt-library/build/jdk2ikvm/library/scala/collection/TraversableLike.scala:317: error: type mismatch; | |
[scalacfork] found : Option[scala.collection.mutable.Builder[(K, Repr),scala.collection.immutable.Map[K,Repr]]] | |
[scalacfork] required: Option[b.type] | |
[scalacfork] for ((k, v) <- m) | |
[scalacfork] ^ | |
[scalacfork] /Users/grek/scalagwt/scalagwt-library/build/jdk2ikvm/library/scala/collection/immutable/MapLike.scala:135: error: type mismatch; | |
[scalacfork] found : Option[scala.collection.mutable.Builder[(A, C),That]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SCALA=~/scalagwt/scalagwt-scala | |
GWT=~/scalagwt/scalagwt-gwt | |
SAMPLE=~/scalagwt/scalagwt-sample | |
SLIB=~/scalagwt/scalagwt-library | |
#compiler and library | |
cp $SCALA/build/pack/lib/scala-compiler.jar $SCALA/build/pack/lib/scala-library.jar $SAMPLE/lib/scala | |
#plugins | |
cp $SCALA/build/quick/misc/scala-devel/plugins/*.jar $SAMPLE/lib/scala | |
#gwt library |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Prepare sample repo | |
git init | |
echo "Foo" > README.txt | |
git add README.txt | |
git commit -m"Initial commit" | |
echo "Foo2" > README.txt | |
git add README.txt | |
git commit -m"Changed README" | |
git checkout -b otherbranch | |
echo "Foo3" > README.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tsf-wpa-1-7098:org.scala-ide.build grek$ sh build-ide-local-virtualized.sh | |
git hash: ef52a59 | |
Version tag is local | |
[INFO] Scanning for projects... | |
[WARNING] No explicit target runtime environment configuration. Build is platform dependent. | |
[WARNING] No explicit target runtime environment configuration. Build is platform dependent. | |
[WARNING] No explicit target runtime environment configuration. Build is platform dependent. | |
[WARNING] No explicit target runtime environment configuration. Build is platform dependent. | |
[WARNING] No explicit target runtime environment configuration. Build is platform dependent. | |
[WARNING] No explicit target runtime environment configuration. Build is platform dependent. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build.xml b/build.xml | |
index 9dff966..9c41a2c 100644 | |
--- a/build.xml | |
+++ b/build.xml | |
@@ -124,7 +124,7 @@ | |
<exec executable="cp"> | |
<arg value="-Rp"/> | |
<arg value="${scala-src.dir}/library/"/> | |
- <arg value="${build.dir}/pre-jdk2ikvm/library/"/> | |
+ <arg value="${build.dir}/pre-jdk2ikvm/"/> |