martinpaljak / GlobalPlatformPro

🌐 🔐 Manage applets and keys on JavaCard-s like a pro
https://javacard.pro/globalplatform
GNU Lesser General Public License v3.0
713 stars 212 forks source link

zsh: command not found: gp #302

Closed haoyu871029 closed 2 years ago

haoyu871029 commented 2 years ago

Describe the bug

I use macOS terminal and follow the download steps:

  1. git clone https://github.com/martinpaljak/GlobalPlatformPro
  2. cd GlobalPlatformPro
  3. mvn package (build success)
  4. ant the result of the command "ant" is "Buildfile: build.xml does not exist! Build failed" and I try to input "gp" but getting the result "zsh: command not found: gp"

Which step was done wrong or missed?

thank you!

martinpaljak commented 2 years ago

Latest README does not describe this. You should be using tool/target/gp.jar and thus java -jar tool/target/target gp.jar