You could also follow SBT or Maven's instructions for installing under Windows (http://www.scala-sbt.org/release/docs/Getting-Started/Setup.html) and use that to build from cmd.exe or powershell. We no longer provide a sbt.bat file because we had to stop bundling binary artifacts (such as the SBT jar) with our repository. I think that we added a .sh script that downloads the SBT jar if it's not present; maybe someone could port this to Windows.
I spent a bit of time getting the Spark scripts to work properly under Cygwin, but I didn't add Cygwin support for PySpark (in a nutshell, problems can arise if Java uses windows paths but the Python uses Cygwin paths. In shell scripts, we can use cygpath to fix this, but I think I ran across some problems that would have required me to reimplement parts of Cygpath in Python. I'm not a very experienced Cygwin / powershell user, though, so maybe there's a clean solution that I overlooked.). PySpark works fine under non-Cygwin Windows shells, though. Aside from PySpark, I think all of the other *.sh scripts work under Cygwin. On Wed, Feb 5, 2014 at 7:15 AM, goi cto <[email protected]> wrote: > Cool, got it to work just fine with Git Bash. > Thanks! > > > On Wed, Feb 5, 2014 at 5:10 PM, Haris Osmanagic <[email protected] > > wrote: > >> Did you try it with Cygwin? >> >> >> On Wed, Feb 5, 2014 at 4:08 PM, goi cto <[email protected]> wrote: >> >>> So what is the equivalent of building it in Git >>> >>> sbt\sbt assembly >>> >>> ? >>> >>> >>> On Wed, Feb 5, 2014 at 5:06 PM, Stevo Slavić <[email protected]> wrote: >>> >>>> I'm using it through Git Bash and GitHub's Git Shell. >>>> >>>> >>>> On Wed, Feb 5, 2014 at 3:33 PM, goi cto <[email protected]> wrote: >>>> >>>>> Hi, >>>>> >>>>> Spark 0.8.1 had built in support for windows and sbt directory >>>>> contains sbt.bat as well as sbt-launch-0.11.3-2.jar. >>>>> >>>>> Spark 0.9.0 does not have these files. - How should we run it on >>>>> windows? >>>>> >>>>> -- >>>>> Eran | CTO >>>>> >>>> >>>> >>> >>> >>> -- >>> Eran | CTO >>> >> >> > > > -- > Eran | CTO >
