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
| <Configure id="webAppCtx" class="org.mortbay.jetty.webapp.WebAppContext"> | |
| <New class="org.mortbay.jetty.plus.naming.EnvEntry"> | |
| <Arg><Ref id="webAppCtx"/></Arg> | |
| <Arg>bean/MyBeanFactory</Arg> | |
| <Arg> | |
| <New class="javax.naming.Reference"> | |
| <Arg>com.mycompany.MyBean</Arg> | |
| <Arg>com.mycompany.MyBeanFactory</Arg> | |
| <Arg /> | |
| <Call name="add" id="reference"> |
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 ProguardPlugin._ | |
| object TestBuild extends Build { | |
| lazy val rootSettings = Seq( | |
| proguardOptions ++= Seq( | |
| keepMain("Test"))) | |
| lazy val root = Project("root", file(".")) dependsOn(sub) settings(proguardSettings ++ rootSettings :_*) | |
| lazy val sub = Project("sub", file("sub")) | |
| } |
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._ | |
| object TestBuild extends Build { | |
| lazy val scalaSsh = file("../scala-ssh-shell") toURI | |
| lazy val root = Project("root", file(".")) dependsOn(scalaSsh) | |
| } |
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 classpath._ | |
| import Keys._ | |
| import com.github.siasia._ | |
| import WebPlugin._ | |
| object TestBuild extends Build { | |
| lazy val natives = SettingKey[Seq[File]]("natives") | |
| lazy val nativeLoader = AttributeKey[ClassLoader]("native-loader") |
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
| seq(webSettings :_*) | |
| libraryDependencies ++= Seq( | |
| "javax.servlet" % "servlet-api" % "2.5" % "provided", | |
| "org.mortbay.jetty" % "jetty" % "6.1.22" % "container" | |
| ) |
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
| seq(webSettings:_*) | |
| libraryDependencies ++= Seq( | |
| "net.liftweb" %% "lift-webkit" % "2.3" % "compile", | |
| "org.eclipse.jetty" % "jetty-webapp" % "7.3.0.v20110203" % "jetty", | |
| "org.slf4j" % "slf4j-api" % "1.6.1" % "jetty", | |
| "ch.qos.logback" % "logback-classic" % "0.9.26" % "jetty" | |
| ) | |
| ivyXML := <dependencies> <dependency org="net.liftweb" name="lift-webkit_2.8.1" rev="2.3"> <exclude module="slf4j-api"/> </dependency> </dependencies> |
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
| seq(webSettings :_*) | |
| scalaVersion := "2.8.1" | |
| libraryDependencies ++= Seq( | |
| "net.liftweb" %% "lift-webkit" % "2.3" % "compile", | |
| "org.eclipse.jetty" % "jetty-webapp" % "7.3.0.v20110203" % "jetty", | |
| "ch.qos.logback" % "logback-classic" % "0.9.26" | |
| ) |
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
| seq(scriptedSettings :_*) | |
| scriptedBufferLog := false | |
| organization := "com.example" | |
| name := "depending-plugin" | |
| version := "0.1-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
| seq(WebPlugin.webSettings :_*) | |
| scalaVersion := "2.8.1" | |
| libraryDependencies ++= Seq( | |
| "net.liftweb" %% "lift-webkit" % "2.3" % "compile", | |
| "net.liftweb" %% "lift-mapper" % "2.3" % "compile", | |
| "org.mortbay.jetty" % "jetty" % "6.1.22" % "jetty,test", | |
| "ch.qos.logback" % "logback-classic" % "0.9.26", | |
| "junit" % "junit" % "4.5" % "test", |