开发者

use sbt for generate a webapp with icefaces

开发者 https://www.devze.com 2023-03-28 07:07 出处:网络
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:

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

精彩评论

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