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/compile/ScalaInstance.scala b/compile/ScalaInstance.scala | |
index 9f13b1b..4c7da29 100644 | |
--- a/compile/ScalaInstance.scala | |
+++ b/compile/ScalaInstance.scala | |
@@ -7,8 +7,12 @@ package xsbt | |
* for the compiler itself. | |
* The 'version' field is the version used to obtain the Scala classes. This is typically the version for the maven repository. | |
* The 'actualVersion' field should be used to uniquely identify the compiler. It is obtained from the compiler.properties file.*/ | |
-final class ScalaInstance(val version: String, val loader: ClassLoader, val libraryJar: File, val compilerJar: File, val extraJars: Seq[File]) extends NotNull | |
+final class ScalaInstance(val version: String, val parentLoader: ClassLoader, val libraryJar: File, val compilerJar: File, val extraJars: Seq[File]) extends NotNull |
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
import xsbt.ScalaInstance | |
import java.net.{URL, URLClassLoader} | |
var jniLoader: ClassLoader = null | |
override def getScalaInstance(version: String): ScalaInstance = { | |
localScalaInstances.find(_.version == version) getOrElse { | |
val si = ScalaInstance(version, info.launcher) | |
if (jniLoader == null) { | |
val list = List( |
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
import xsbt.ScalaInstance | |
import java.net.{URL, URLClassLoader} | |
var jniLoader: ClassLoader = null | |
override def getScalaInstance(version: String): ScalaInstance = { | |
localScalaInstances.find(_.version == version) getOrElse { | |
val si = ScalaInstance(version, info.launcher) | |
if (jniLoader == null) { | |
val list = List( |
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
// code.h | |
// -*- Mode: ObjC; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- | |
#include <string> | |
class CQR_Encode; | |
@interface Code : UIView { | |
std::string _uri; |
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
name := "web" | |
version := "1.0" | |
scalaVersion := "2.9.0" | |
seq(webSettings :_*) | |
libraryDependencies ++= Seq( | |
"org.scalatra" %% "scalatra" % "2.0.0-SNAPSHOT", |
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
import sbt._ | |
import Keys._ | |
import com.github.siasia.WebPlugin.webSettings | |
object Me extends Build { | |
lazy val me = Project("me", file("."), settings = | |
Seq(name := "web", | |
version := "1.0", | |
scalaVersion := "2.9.0") ++ | |
webSettings ++ |
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
FROM ubuntu:15.10 | |
RUN \ | |
apt-get update && \ | |
apt-get install --no-install-recommends -y openjdk-8-jre-headless && \ | |
apt-get install --no-install-recommends -y gcc-4.9 && \ | |
apt-get install --no-install-recommends -y g++-4.9 && \ | |
apt-get install --no-install-recommends -y wget && \ | |
apt-get install --no-install-recommends -y unzip && \ | |
apt-get install --no-install-recommends -y openjdk-8-jdk && \ | |
apt-get install --no-install-recommends -y git && \ |
OlderNewer