#pragma section-numbers off [[TableOfContents]] = 概要 = ["Scala"]で作成されたWeb Framework = 公式サイト = http://liftweb.net/ http://github.com/dpp/liftweb/ = 関連サイト = http://groups.google.com/group/the-lift-book [http://wiki.liftweb.net/index.php/Main_Page LiftWiki] = Hello World 作成 = [http://liftweb.net/docs/getting_started/mod_master.html Starting with Lift]を参考にして最初のアプリを作ると良いかと思います。 {{{ mvn archetype:create -U \ -DarchetypeGroupId=net.liftweb \ -DarchetypeArtifactId=lift-archetype-blank \ -DarchetypeVersion=1.0 \ -DremoteRepositories=http://scala-tools.org/repo-releases \ -DgroupId=test.hoge.example \ -DartifactId=helloworld }}} {{{ cd helloworld mvn jetty:run }}} {{{http://localhost:8080/}}} にアクセスして、「Welcome to your project!」な画面が表示されれば成功です。 とりあえず静的な HTML を表示する場合は、{{{src/main/webapp}}}に入れて、{{{http://localhost:8080/hello.html}}} でアクセスすると見える。(jettyを再起動しないと見えない?) {{{src/main/scala/bootstrap/liftweb/Boot.scala}}}を編集するとメニューに出すことも可能。Boot.scala は起動時にしか読まれないので、jettyの再起動が必須。 = sbt = [http://code.google.com/p/simple-build-tool/wiki/WebApplicationExample WebApplicationExample - simple-build-tool - Project Hosting on Google Code] [http://blog.takeda-soft.jp/blog/show/369 Lift 2.0-scala280-SNAPSHOT/sbt0.7.1 | ブログ.武田ソフト.jp] = 設定 = = 利用方法 = = 参考サイト = ---- CategoryProgramLanguage