Install bnd on the command line - bndtools/bnd GitHub Wiki
This page describes how to install bnd to be used from the command line.
JPM
Install JPM. This is a command line command manager for OS X, Windows, and Linux. We can install bnd from the command line:
$ jpm install https://repo1.maven.org/maven2/biz/aQute/bnd/biz.aQute.bnd/4.2.0/biz.aQute.bnd-4.2.0.jar
Depending on the installation, it might be necessary to use sudo
. You can now run bnd
$ bnd version
4.2.0.201907252008
OS X
If you run on macOS, you can use brew to install bnd:
$ brew install bnd
After this, you can run bnd from the command line
$ bnd version
4.2.0.201907252008
Basic Jar
Otherwise you have to download bnd and start it with Java. You should download bnd from Maven Central or from OSSRH Snapshot Repository (select the latest version).
Once you've downloaded, you can run this file from the command line:
C:/> java -jar biz.aQute.bnd.jar version
4.2.0.201907252008
You could place this in a .bat file like:
@java -jar biz.aQute.bnd.jar %1 %2 %3 %4 %4 %6 %7 %8 %9