2010年12月13日月曜日

SBTでLiftを扱う。(Scala 2.8.0、Lift2.2)

正直下記リンク参照です。

http://www.assembla.com/wiki/show/liftweb/USING_sbt


There is an example Lift SBT prototype for the current release that you can clone from GitHub instead of following the steps below.
There is also a SBT prototype for version 2.2 which uses Scala 2.8.0

あと、Scala 2.8で2.2-SNAPSHOTを取ってくる時は下記に注意です。
For Scala 2.8 projects use 2.2-SNAPSHOT, change lift-archetype-basic to lift-archetype-basic_2.8.0, and follow the 2.2 jar naming convention described below


修正したもの。

mvn archetype:generate -U \
   -DarchetypeGroupId=net.liftweb \
   -DarchetypeArtifactId=lift-archetype-basic_2.8.0 \
   -DarchetypeVersion=2.2-SNAPSHOT \
   -DarchetypeRepository=http://scala-tools.org/repo-snapshots \
   -DremoteRepositories=http://scala-tools.org/repo-snapshots \
   -DgroupId=your.group.id -DartifactId=projectName

0 件のコメント:

コメントを投稿