nicoloboschi opened a new pull request, #17243:
URL: https://github.com/apache/pulsar/pull/17243

   Fixes #16688
   
   TL; DR - now Pulsar shell works on Windows
   ![Screen Shot 2022-08-23 at 6 02 50 
PM](https://user-images.githubusercontent.com/23314389/186206825-b644054a-8729-4a79-902f-a6ac598d6929.png)
   
   
   ### Motivation
   Currently pulsar shell is only runnable on Unix system because the entry 
point script is written in bash.
   
   ### Modifications
   
   1. Provided a new `pulsar-shell.cmd` file (written in Windows Command Prompt 
language) that starts the pulsar shell process
   
   It implements the exact same configurations from the current pulsar-shell, 
even the java8 detection. The only thing not implemented is the on-the-fly 
compile. Actually, the batch script only work if you unzip the distro tarball. 
Running it from the codebase (so without the `lib` dir) is not supported (and 
it's okay since currently it's not even possible develop Pulsar on a Win 
machine)
   
   2. Added (and upgraded) the jna lib to make the jline command prompt display 
colors correctly
   
   3. Added zip distribution to pulsar-shell (distribution/shell). The idea is 
to distribute both and suggest to download the .zip for Windows user
   
   - [x] `doc-not-needed` 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to