Skip to content

Instantly share code, notes, and snippets.

@retronym
Created June 24, 2014 20:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save retronym/763a5c8afa806b691db4 to your computer and use it in GitHub Desktop.
Save retronym/763a5c8afa806b691db4 to your computer and use it in GitHub Desktop.
war
/code cd war
/code/war
/code/war subl build.sbt
/code/war mkdir project
/code/war subl project/build.properties
/code/war subl project/plugins.sbt
/code/war tail build.sbt project/build.properties project/plugins.sbt
==> build.sbt <==
scalaVersion := "2.10.3"
seq(webSettings :_*)
libraryDependencies += "org.eclipse.jetty" % "jetty-webapp" % "9.1.0.v20131115" % "container"
libraryDependencies += "org.eclipse.jetty" % "jetty-plus" % "9.1.0.v20131115" % "container"
libraryDependencies += "javax.servlet" % "servlet-api" % "2.5" % "provided"
==> project/build.properties <==
sbt.version=0.13.5
==> project/plugins.sbt <==
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "0.5.0")
/code/war sbt package
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=384m; support was removed in 8.0
[info] Loading global plugins from /Users/jason/.sbt/0.13/plugins
[info] Loading project definition from /Users/jason/code/war/project
[info] Updating {file:/Users/jason/code/war/project/}war-build...
[info] Resolving org.fusesource.jansi#jansi;1.4 ...
[info] downloading http://repo1.maven.org/maven2/com/earldouglas/xsbt-web-plugin_2.10_0.13/0.5.0/xsbt-web-plugin-0.5.0.jar ...
[info] [SUCCESSFUL ] com.earldouglas#xsbt-web-plugin;0.5.0!xsbt-web-plugin.jar (826ms)
[info] downloading http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-webapp/9.1.0.v20131115/jetty-webapp-9.1.0.v20131115.jar ...
[info] [SUCCESSFUL ] org.eclipse.jetty#jetty-webapp;9.1.0.v20131115!jetty-webapp.jar (573ms)
[info] downloading http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-xml/9.1.0.v20131115/jetty-xml-9.1.0.v20131115.jar ...
[info] [SUCCESSFUL ] org.eclipse.jetty#jetty-xml;9.1.0.v20131115!jetty-xml.jar (470ms)
[info] downloading http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-servlet/9.1.0.v20131115/jetty-servlet-9.1.0.v20131115.jar ...
[info] [SUCCESSFUL ] org.eclipse.jetty#jetty-servlet;9.1.0.v20131115!jetty-servlet.jar (609ms)
[info] downloading http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-util/9.1.0.v20131115/jetty-util-9.1.0.v20131115.jar ...
[info] [SUCCESSFUL ] org.eclipse.jetty#jetty-util;9.1.0.v20131115!jetty-util.jar (948ms)
[info] downloading http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-security/9.1.0.v20131115/jetty-security-9.1.0.v20131115.jar ...
[info] [SUCCESSFUL ] org.eclipse.jetty#jetty-security;9.1.0.v20131115!jetty-security.jar (511ms)
[info] downloading http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-server/9.1.0.v20131115/jetty-server-9.1.0.v20131115.jar ...
[info] [SUCCESSFUL ] org.eclipse.jetty#jetty-server;9.1.0.v20131115!jetty-server.jar (859ms)
[info] downloading http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-http/9.1.0.v20131115/jetty-http-9.1.0.v20131115.jar ...
[info] [SUCCESSFUL ] org.eclipse.jetty#jetty-http;9.1.0.v20131115!jetty-http.jar (526ms)
[info] downloading http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-io/9.1.0.v20131115/jetty-io-9.1.0.v20131115.jar ...
[info] [SUCCESSFUL ] org.eclipse.jetty#jetty-io;9.1.0.v20131115!jetty-io.jar (586ms)
[info] downloading http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-jndi/9.1.0.v20131115/jetty-jndi-9.1.0.v20131115.jar ...
[info] [SUCCESSFUL ] org.eclipse.jetty#jetty-jndi;9.1.0.v20131115!jetty-jndi.jar (479ms)
[info] Done updating.
[info] Set current project to xwp-template (in build file:/Users/jason/code/war/)
[info] Updating {file:/Users/jason/code/war/}war...
[info] Resolving org.eclipse.jetty#jetty-jndi;9.1.0.v20131115 ...
[info] downloading http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-plus/9.1.0.v20131115/jetty-plus-9.1.0.v20131115.jar ...
[info] [SUCCESSFUL ] org.eclipse.jetty#jetty-plus;9.1.0.v20131115!jetty-plus.jar (591ms)
[info] Done updating.
[info] Packaging /Users/jason/code/war/target/scala-2.10/xwp-template_2.10-0.1.0-SNAPSHOT.war ...
[info] Done packaging.
[success] Total time: 1 s, completed Jun 24, 2014 10:23:31 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment