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  ### 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]
