When trying to run the new play 2.0 console (typing \'play\' in cmd) on windows from project folder (as instructed by framework web tutorial).
i receive :
Are you connected to the internet when you type the command play
?
Ivy is a dependency manager, and it creates a local repository for dependencies used to build a project.
I was connected via a proxy and it did not have any user name or password. I edited the last line of the build.bat file in play/framework folder to :
java -Dhttp.proxyHost=EnterHostNameHere -Dhttp.proxyPort=EnterPortNumberHere -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M %DEBUG_PARAM% -Dfile.encoding=UTF8 -Dplay.version="%PLAY_VERSION%" -Dsbt.ivy.home="%~dp0..\repository" -Dplay.home="%~dp0." -Dsbt.boot.properties="file:///%p%sbt/sbt.boot.properties" -jar "%~dp0sbt\sbt-launch.jar" %*
Hope this works..! :)
I had the same problem, I resolved it by modifying the last line of build.bat
file in play/framework
like this :
java -Dhttp.proxyUser=MyProxyAccount -Dhttp.proxyPassword=MyProxyPwd -Dhttp.proxyHost=MyProxyIp -Dhttp.proxyPort=MyProxyPort -Xms512M -Xmx1024M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256M %DEBUG_PARAM% -Dfile.encoding=UTF8 -Dplay.version="%PLAY_VERSION%" -Dsbt.ivy.home="%~dp0..\repository" -Dplay.home="%~dp0." -Dsbt.boot.properties="file:///%p%sbt/sbt.boot.properties" -jar "%~dp0sbt\sbt-launch.jar" %*
Hope this help.