JAVA Playframework(1)2.4.x Reinstalled on MAC
Welcome back to Playframework. I used that 3 years or 4 years ago for 3 years when I was in Digby. That is good days in Austin, USA.
I need to read this because one of my old project is using playframework 2.4.6, sbt.version=0.13.8
https://www.playframework.com/documentation/2.4.x/Installing
Install the right version of SBT tool
https://www.scala-sbt.org/download.html
https://bintray.com/sbt/native-packages/sbt/0.13.8
Download the sbt file and unzip in working directory, add to PATH.
Run this in my Playfromework project
> sbt sbtVersion
[info] 0.13.8
Build my older project
> sbt clean update compile
Run the Project
> sbt run
Import the project into Eclipse
https://github.com/sbt/sbteclipse
> sbt eclipse
Build the binary of the Project
> sbt package
Generate the binary zip file
> sbt dist
Run tests
> sbt test
Run a single test
> sbt "testOnly unitTest.TimingTest"
Reference:
https://www.playframework.com/
Welcome back to Playframework. I used that 3 years or 4 years ago for 3 years when I was in Digby. That is good days in Austin, USA.
I need to read this because one of my old project is using playframework 2.4.6, sbt.version=0.13.8
https://www.playframework.com/documentation/2.4.x/Installing
Install the right version of SBT tool
https://www.scala-sbt.org/download.html
https://bintray.com/sbt/native-packages/sbt/0.13.8
Download the sbt file and unzip in working directory, add to PATH.
Run this in my Playfromework project
> sbt sbtVersion
[info] 0.13.8
Build my older project
> sbt clean update compile
Run the Project
> sbt run
Import the project into Eclipse
https://github.com/sbt/sbteclipse
> sbt eclipse
Build the binary of the Project
> sbt package
Generate the binary zip file
> sbt dist
Run tests
> sbt test
Run a single test
> sbt "testOnly unitTest.TimingTest"
Reference:
https://www.playframework.com/
Play框架2.4.x重装与项目构建

本文档详细介绍了如何在MAC环境下重新安装并配置Play框架2.4.x,包括设置正确的SBT工具版本,下载并解压sbt文件,将其添加到PATH中。通过使用sbt命令进行项目清理、更新、编译、运行、打包、生成二进制文件和测试等操作。此外,还提供了将项目导入Eclipse的方法。
198

被折叠的 条评论
为什么被折叠?



