GitHub user aloklal99 opened a pull request:

    https://github.com/apache/kafka/pull/13

    Added changes so that bin/*.sh files can work with CYGWIN under windows,...

    ### Background
    The script files to run Kafka under Windows don't work as is.  One needs to 
hand tweak them since their location is not `bin` but `bin/windows`.  Further, 
the script files under `bin/windows` are not a complete replica of those under 
`bin`.  To be sure, this isn't a complaint.  To the contrary most projects 
now-a-days don't bother to support running on Windows or do so very late.  Just 
that because of these limitation it might be more prudent to make the script 
files under `bin` itself run under windows rather than trying to make the files 
under `bin/windows` work or to make them complete.
    
    ### Change Summary
    Most common unix-like shell on windows is the bash shell which is a part of 
the cygwin project.  Out of the box the scripts don't work mostly due to 
peculiarities of the directory paths and class path separators.  This change 
set makes a focused change to a single file under `bin` so that all of the 
script files under `bin` would work as is on windows platform when using bash 
shell of Cygwin distribution.
    
    ### Motivation
    Acceptance of this change would enable a vast body of developers that use 
(or have to use) Windows as their development/testing/production platform to 
use Kafka's with ease.  More importantly by making the running of examples 
smoothly on Windoes+Cygwin-bash it would make the process of evaluation of 
Kafka simpler and smoother and potentially make for a favorable evaluation.  
For, it would show commitment of the Kafka team to espouse deployments on 
Windows (albeit only under cygwin).  Further, as the number of people whom use 
Kafka on Windows increases, one would attract people who can eventually fix the 
script files under `bin/Windows` itself so that need to run under Cygwin would 
also go away, too.
    
    ### Testing details
    The change have been tested under `GNU bash, version 4.1.11(2)-release 
(x86_64-unknown-cygwin)` running on Windows 7 Enterprise.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/aloklal99/kafka 0.8

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/13.patch

----
commit a36c943a297ce9bdef33b058fa92a251d2c2042d
Author: U-CORP\allal <al...@d-sjc-00542908.corp.ebay.com>
Date:   2014-01-18T02:49:17Z

    Added changes so that bin/*.sh files can work with CYGWIN under windows, too

----

Reply via email to