Playframework 玩离线工作

Playframework 玩离线工作,playframework,playframework-2.0,Playframework,Playframework 2.0,我想脱机启动我的play应用程序。我只能通过ssh通过本地网络访问,服务器位于防火墙后面。我曾尝试在plugins.sbt中设置脱机:=true,但没有帮助。Play仍在尝试连接远程回购: [error] Server access Error: Connection timed out url=http://repo.typesafe.com/typesafe/ivy-releases/org.scala-lang/scala-compiler/2.10.2/ivys/ivy.xml 我知道

我想脱机启动我的play应用程序。我只能通过ssh通过本地网络访问,服务器位于防火墙后面。我曾尝试在plugins.sbt中设置脱机:=true,但没有帮助。Play仍在尝试连接远程回购:

[error] Server access Error: Connection timed out url=http://repo.typesafe.com/typesafe/ivy-releases/org.scala-lang/scala-compiler/2.10.2/ivys/ivy.xml

我知道,“连接超时”是防火墙问题,但我无法更改设置…

使用
play dist
命令准备应用程序的独立版本,然后在脱机服务器上使用它。它将获取所有必需的依赖项,因此不再需要连接到外部回购

详情请浏览