[2.2-scala] Play ignores local repository

50 views
Skip to first unread message

pram...@gmail.com

unread,
May 2, 2014, 10:39:38 AM5/2/14
to play-fr...@googlegroups.com
I'm trying to use Play framework built from source on an example code so that I can learn by running it through debugger. However Play ignores the local repository and always tries to connect to Typesafe repository and errors out like:

C:\home\tutorial\elasticsearch\realtime-search>\home\source\playframework-2.2.x\play
[error] Server access Error: Connection timed out: connect url=http://repo.typesafe.com/typesafe/ivy-releases/com.typesafe.play/sbt-plugin/scala_2.10/sbt_0.13/2.2-SNAPSHOT/ivys/ivy.xml

My settings
-- plugins.sbt
// Comment to get more information during initialization
logLevel := Level.Warn
// The Typesafe repository 
  resolvers += Resolver.url("Local repository", url("file:///c:/home/source/playframework-2.2.x/repository/local/")) (Resolver.ivyStylePatterns)
 addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2-SNAPSHOT")

 -- build.properties
sbt.version=0.13.0
 
I verified that SBT (0.13.2) does not have this problem

C:\home\tutorial\elasticsearch\realtime-search>sbt clean
[info] Loading project definition from C:\home\tutorial\elasticsearch\realtime-search\project
[info] Set current project to realtime-search (in build file:/C:/home/tutorial/elasticsearch/realtime-search/)
[success] Total time: 1 s, completed May 2, 2014 9:44:25 AM

Is this a bug in Play?

pram...@gmail.com

unread,
May 2, 2014, 1:02:04 PM5/2/14
to play-fr...@googlegroups.com
Please disregard.
Play seems to check TypeSafe repository before checking the local system. I am working behind proxy firewall and I just had to wait for the timeouts to pass. Removing the TypeSafe repositories from framework\sbt\play.boot.properties and sbt.boot.properties did not change the behavior.


Reply all
Reply to author
Forward
0 new messages