implicit.ly

Scala software, hot off the presses

sbt-stax-plugin 0.1.2

Fixed:

  • Scenario where multiple users wanted to deploy the same application for which they were not the direct owner.

Integration for SBT that lets you deploy apps to the awesome stax.net cloud

Usage

Define the plugin information in your Plugins.scala

class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
    val stax = "eu.getintheloop" % "sbt-stax-plugin" % "1.0"
    // repos
    val staxReleases = "stax-release-repo" 
      at "http://mvn.stax.net/content/repositories/public"
  }

Add the stax plugin to your SBT project

class LiftTravelProject(info: ProjectInfo) 
      extends DefaultWebProject(info) 
      with stax.StaxPlugin {
        ....
        // stax
        override def staxApplicationId = "whatever"
        override def staxUsername = "youruser"
        // leave out and you'll be prompted at deploy time
        // override def staxPassword = "password"
      }

Now your all configured and good to go, just run the deploy action in SBT console:

stax-deploy

Filed under  //   Scala 2.7.7   eu.getintheloop   sbt-stax-plugin  

sbt-stax-plugin 0.1.1

Initial release:

  • Supporting the "deploy" method for getting your file onto stax.net cloud

Known issues:

  • Currently, we only support WAR files, not EAR.

Integration for SBT that lets you deploy apps to the awesome stax.net cloud

Usage

Define the plugin information in your Plugins.scala

class Plugins(info: ProjectInfo) extends PluginDefinition(info) {
    val stax = "eu.getintheloop" % "sbt-stax-plugin" % "1.0"
    // repos
    val staxReleases = "stax-release-repo" 
      at "http://mvn.stax.net/content/repositories/public"
  }

Add the stax plugin to your SBT project

class LiftTravelProject(info: ProjectInfo) 
      extends DefaultWebProject(info) 
      with stax.StaxPlugin {
        ....
        // stax
        override def staxApplicationId = "whatever"
        override def staxUsername = "youruser"
        // leave out and you'll be prompted at deploy time
        // override def staxPassword = "password"
      }

Now your all configured and good to go, just run the deploy action in SBT console:

stax-deploy

Filed under  //   Scala 2.7.7   eu.getintheloop   sbt-stax-plugin