Install bnd on the command line

BJ Hargrave edited this page Aug 22, 2017 · 5 revisions

This page describes how to use bnd from the command line. 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
3.4.0.201707252008

Otherwise you have to download bnd and start it with Java. You should download bnd from Maven Central (select the jar artifact for the latest version) or from Cloudbees.

Once you've downloaded, you can run this file from the command line:

C:/> java -jar biz.aQute.bnd.jar version
3.4.0.201707252008

You could place this in a .bat file like:

@java -jar biz.aQute.bnd.jar %1 %2 %3 %4 %4 %6 %7 %8 %9
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.