n8han/conscript — Issue #31: Cannot run program "git" in win
Author: wuhaixing
Created: 2011-11-21 05:27:33+00:00
State: open

I behind a proxy in windows,setup git as msysgit
add proxy setting to cs.bat as following:
-Dhttp.proxyPort=proxyPort -Dhttp.proxyHost=proxyHost

when I try to cs n8han/giter8,got the error:

java.lang.ExceptionInInitializerError

Caused by: java.io.IOException: Cannot run program "git": CreateProcess error=2,
at java.lang.ProcessBuilder.start(Unknown Source)
at conscript.Credentials$$anonfun$gitConfig$2.apply(credentials.scala:17)
at conscript.Credentials$$anonfun$gitConfig$2.apply(credentials.scala:16)
at scala.Option.getOrElse(Option.scala:108)
at conscript.Credentials$class.gitConfig(credentials.scala:16)
at conscript.Github$.gitConfig(github.scala:9)
at conscript.Credentials$class.credentials(credentials.scala:8)
at conscript.Github$.credentials(github.scala:9)
at conscript.Credentials$class.withCredentials(credentials.scala:5)
at conscript.Github$.withCredentials(github.scala:9)
at conscript.Github$.(github.scala:28)
at conscript.Github$.(github.scala)