开发者

use sbt for generate a webapp with icefaces

I'm new to sbt and I will generate a web application with jsf 2.0 mojarra and icefaces, but i don't know how to build the buil开发者_开发知识库d.sbt. I try things like this:

libraryDependencies += "org.icefaces" % "icefaces" % "2.0.2"
libraryDependencies += "net.java" % "jsf-api" % "2.1.2"
libraryDependencies += "net.java" % "jsf-impl" % "2.1.2"

Maybe is this horrible wrong and sbt can't find the module:

module not found: com.sun.faces#jsf-impl:2.1.1-b04/ivys/ivy.xml


resolvers += "java.net maven 2 repo" at "http://download.java.net/maven/2" 

libraryDependencies += "org.icefaces" % "icefaces" % "2.0.2"

libraryDependencies += "com.sun.faces" % "jsf-api" % "2.1.2"

libraryDependencies += "com.sun.faces" % "jsf-impl" % "2.1.2"

This will only work with sbt 0.10+. Make sure you keep the blank lines between expressions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜