-
-
Notifications
You must be signed in to change notification settings - Fork 302
Install bnd on the command line
Peter Kriens edited this page Jul 3, 2019
·
7 revisions
This page describes how to install bnd to be used from the command line.
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
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
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