Reputation: 13
Any idea if it's possible to use the Play framework, or akka, within a completely offline, non-internet connected environment? I tried running, and it's connecting to maven central, etc...
Thoughts?
Upvotes: 1
Views: 956
Reputation: 802
You need to have Internet connection whenever you update your Play project such that the built tool (sbt/play/activator) can download all dependencies for the first time.
Since Play 2.3, dependencies/libraries locally go to ~/.ivy2/local and the cache of downloaded dependencies/libraries is under ~/.ivy2/cache.
Play 2.3 (and above) uses the default ivy cache and repository, in the .ivy2 folder in the users home directory. When you update (and hence compile or run) a Play 2.3.x project, the dependencies go to ~/.ivy2/cache.
Upvotes: 1
Reputation: 4763
As long as you have all the dependencies you need for a successful build then you can do the following to stop the update check etc:
In plugins.sbt :
offline := true
Upvotes: 4