пятница, мая 27, 2011

Бизнес в России

http://www.forbes.ru/svoi-biznes-opinion/biznes-i-vlast/67883-pochemu-ya-zaregistriroval-svoi-startap-ne-v-rossii

среда, мая 04, 2011

Foursquare Rogue и Lift 2.3

Rogue это Lift/MongoDB query DSL. Последня версия 1.0.9 тянет за собой Lift 2.4-SNAPSHOT, а в ней еще не все красиво, поэтому если собираете проект на Lift 2.3 с Rogue 1.0.9, не забудьте отучить Rogue собирать за собой зависимости с помощью intransitive() в sbt. Как-то так:
import sbt._

class LiftProject(info: ProjectInfo) extends DefaultWebProject(info) {
  val liftVersion = "2.3"

  // uncomment the following if you want to use the snapshot repo
  // val scalatoolsSnapshot = ScalaToolsSnapshots

  // If you're using JRebel for Lift development, uncomment
  // this line
  // override def scanDirectories = Nil



  override def libraryDependencies = Set(
    "net.liftweb" %% "lift-webkit" % liftVersion % "compile" withSources(),
    "net.liftweb" %% "lift-record" % liftVersion % "compile" withSources(),
    "net.liftweb" %% "lift-proto" % liftVersion % "compile" withSources(),
    "net.liftweb" %% "lift-util" % liftVersion % "compile" withSources(),
    "net.liftweb" %% "lift-common" % liftVersion % "compile" withSources(),
    "net.liftweb" %% "lift-mongodb-record" % liftVersion % "compile" withSources(),

    "com.foursquare" %% "rogue" % "1.0.9" withSources() intransitive(),

    "org.mortbay.jetty" % "jetty" % "6.1.22" % "test->default",
    "junit" % "junit" % "4.5" % "test->default",
    "ch.qos.logback" % "logback-classic" % "0.9.26",
    "org.scala-tools.testing" %% "specs" % "1.6.7" % "test->default",
    "org.scalatest" % "scalatest" % "1.3" % "test->default",

    "com.h2database" % "h2" % "1.2.138"
  ) ++ super.libraryDependencies

  //override def dependencyPath = webappPath / "WEB-INF" / "lib"
}

Мой список блогов