Skip to content
This repository has been archived by the owner on Jul 9, 2018. It is now read-only.

compilation problems with scala 2.8.0 #147

Closed
holtzermann17 opened this issue Jul 28, 2010 · 3 comments
Closed

compilation problems with scala 2.8.0 #147

holtzermann17 opened this issue Jul 28, 2010 · 3 comments

Comments

@holtzermann17
Copy link

Can we get some more specific information about what fails and what works? See

http://groups.google.com/group/etherpad-open-source-discuss/browse_thread/thread/c69a86203e27b0d7

@sesam
Copy link
Contributor

sesam commented Sep 2, 2010

This issue could perhaps start with adding some warning about untested scala versions, including a link to some kind of living documentation (doc.etherpad.org somewhere?) on which scala versions are workable.

Another Scala version problem; a short thread
http://groups.google.com/group/etherpad-open-source-discuss/t/a74309c69885b1a3
which ended "Fixed it by downgrading to 2.7.4 Should have checked the forum first."

@JohnMcLear
Copy link
Member

/usr/local/etherpad/infrastructure/net.appjet.bodylock/bodylock.scala:46: error: inferred type arguments [scala.collection.Map[String,String]{def empty: scala.collection.Map[String,String]{def empty: scala.collection.Map[String,String]{def companion: scala.collection.generic.GenericCompanion[Iterable[Any]]}; def companion: scala.collection.generic.GenericCompanion[Iterable[Any]]}; def companion: scala.collection.generic.GenericCompanion[Iterable[Any]{def companion: scala.collection.generic.GenericCompanion[Iterable[Any]]}]}] do not conform to method getOrElse's type parameter bounds [B >: scala.collection.mutable.SynchronizedMap[String,String]]
val code = BodyLock.map.getOrElse(MapString, String).getOrElse(elt.getFileName, "").split("\n"); // 0-indexed.
^
/usr/local/etherpad/infrastructure/net.appjet.bodylock/bodylock.scala:64: error: inferred type arguments [scala.collection.Map[String,String]{def empty: scala.collection.Map[String,String]{def empty: scala.collection.Map[String,String]{def companion: scala.collection.generic.GenericCompanion[Iterable[Any]]}; def companion: scala.collection.generic.GenericCompanion[Iterable[Any]]}; def companion: scala.collection.generic.GenericCompanion[Iterable[Any]{def companion: scala.collection.generic.GenericCompanion[Iterable[Any]]}]}] do not conform to method getOrElse's type parameter bounds [B >: scala.collection.mutable.SynchronizedMap[String,String]]
val code = BodyLock.map.getOrElse(MapString, String).getOrElse(cause.sourceName(), "").split("\n"); // 0-indexed.
^
/usr/local/etherpad/infrastructure/net.appjet.bodylock/bodylock.scala:150: error: not found: type byte
def executableFromBytes(bytes: Array[byte], className: String) =
^
three errors found
/usr/local/etherpad/infrastructure/ace/bin/make:22: error: missing arguments for method collect in trait Iterator;
follow this method with _' if you want to treat it as a partially applied function "@|[a-zA-Z0-9]+|[^@a-zA-Z0-9]{1,3}").r.findAllIn(input).collect.toArray; ^ /usr/local/etherpad/infrastructure/ace/bin/make:46: error: missing arguments for method collect in trait Iterator; follow this method with' if you want to treat it as a partially applied function
}).collect:
*);
^
/usr/local/etherpad/infrastructure/ace/bin/make:49: error: value mkString is not a member of Array[Nothing]
val afterReplace = toks.map(encode(_)).mkString.replaceAll(
^
three errors found
cp: cannot stat `/usr/local/etherpad/infrastructure/build/appjet.jar': No such file or directory

@ijuma
Copy link

ijuma commented Oct 11, 2010

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants