`
floys1987
  • 浏览: 14674 次
  • 性别: Icon_minigender_1
  • 来自: 天津
社区版块
存档分类
最新评论

maven build lift application(Scala)

阅读更多
Develop Environment

Linux + openjdk1.6

Install the maven

type command:

$: mvn archetype:generate \

-DarchetypeGroupId=net.liftweb \

-DarchetypeArtifactId=lift-archetype-basic \

-DarchetypeVersion=2.0-scala280-SNAPSHOT \

-DarchetypeRepository=http://scala-tools.org/repo-snapshots \

-DremoteRepositories=http://scala-tools.org/repo-snapshots \

-DgroupId=com.sgl \

-DartifactId=third

It will build a lift application, and Download the need libraries.

mvn install # Build the project

mvn clean # Clean the target

mvn jetty:run #Deploy the application

And then

$: firefox http://localhost:8080

u will look your first Lift web application

And use eclipse to develop,

U can

$: mvn eclipse:eclipse -DdownloadJavadocs=true

(练练英语^_^)(大部分是我appspot上的原文)floys1987.appspot.com
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics