File: bnd.pod

package info (click to toggle)
bnd 5.0.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 44,128 kB
  • sloc: java: 249,039; xml: 90,728; sh: 655; perl: 153; makefile: 96; python: 47; javascript: 9
file content (145 lines) | stat: -rw-r--r-- 5,729 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
=head1 NAME

bnd - Create and diagnose OSGi bundles.

=head1 SYNOPSIS

B<bnd> [S<I<general-options>>] [S<I<cmd>>] [S<I<cmd-options>>]

B<bnd> [S<I<general-options>>] E<lt>fileE<gt>.jar

B<bnd> [S<I<general-options>>] E<lt>fileE<gt>.bnd

=head1 DESCRIPTION

The bnd tool helps you create and diagnose OSGi bundles. The key functions are:

 * Show the manifest and JAR contents of a bundle
 * Wrap a JAR so that it becomes a bundle
 * Create a Bundle from a specification and a class path
 * Verify the validity of the manifest entries

=head1 GENERAL OPTIONS

=over

=item --failok

Same as the property --failok. The current run will create a JAR file even if there were errors.

=item --exceptions

Will print the exception when the software has ran into a bad exception and bails out. Normally only a message is printed. For debugging or diagnostic reasons, the exception stack trace can be very helpful.

=item  -f, --full

Do full 

=item -p, --project <string>

Identify another project

=item -t, --test

Build for test

=item -o, --output <string>

Specify the output file path. The default is output.jar in the current directory

=back

=head1 COMMANDS

=over

Available commands:
  action            - Execute an action on a repo, or if no name is give, list
                      the actions
  add               - Add a workspace, or a project or a plugin to the workspace
  baseline          - Compare a newer bundle to a baselined bundle and provide
                      versioning advice
  bash              - Generate autocompletion file for bash
  bnd               - The swiss army tool for OSGi
  bootstrap         - Interactive gogo shell
  bsn2url           - From a set of bsns, create a list of urls if found in the repo
  build             - Build a project. This will create the jars defined in the
                      bnd.bnd and sub-builders.
  buildx            - Build project, is deprecated but here for backward
                      compatibility
  bump              - Bumps the version of a project
  changes           - Show the changes in this release of bnd
  clean             - Clean a project
  compile           - Compile a project or the workspace
  convert           - Converter to different formats
  copy              -
  create            - Create jar, used to support backward compatible java jar
                      commands
  debug             - Show a lot of info about the project you're in
  defaults          -
  deliverables      - Show all deliverables from this workspace. with their
                      current version and path.
  diff              - Diff jars
  digest            - Digests a number of files
  do                - Execute a file based on its extension. Supported
                      extensions are: bnd (build), bndrun (run), and jar (print)
  eclipse           - Show info about the current directory's eclipse project
  ees               - Show the Execution Environments of a JAR
  enroute           - OSGi enRoute commands to maintain bnd workspaces (create
                      workspace, add project, etc)
  export            -
  extract           - Extract files from a JAR file, equivalent jar command
                      x[vf] (syntax supported)
  find              - Go through the exports and/or imports and match the given
                      exports/imports globs. If they match, print the file,
                      package and version.
  flatten           - Flatten a bundle by expanding all entries on the
                      Bundle-ClassPath
  grep              - Grep the manifest of bundles/jar files.
  info              - Show key project variables
  junit             - Test a project with plain JUnit
  macro             - Show macro value
  maven             - Maven bundle command
  nexus             -
  package           - Package a bnd or bndrun file into a single jar that
                      executes with java -jar <>.jar
  plugins           -
  print             - Printout the JAR
  profile           - Profile management. A profile is a JAR that only contains
                      packages and capabilities
  project           - Execute a Project action, or if no parms given, show
                      information about the project
  release           - Release this project
  remote            -
  remove            - Remove a project or a plugin from the workspace
  repo              - Manage the repositories
  resolve           -
  run               - Run a project in the OSGi launcher
  runtests          - Run OSGi tests and create report
  schema            - Highly specialized function to create an overview of
                      package deltas in ees
  select            - Helps finding information in a set of JARs by filtering on
                      manifest data and printing out selected information.
  settings          - Set bnd/jpm global variables
  source            - Merge a binary jar with its sources. It is possible to
                      specify source path
  sync              - Execute a Project action, or if no parms given, show
                      information about the project
  syntax            - Access the internal bnd database of keywords and options
  test              - Test a project according to an OSGi test
  type              - List files int a JAR file, equivalent jar command t[vf]
                      (syntax supported)
  verify            - Verify jars
  version           - Show version information about bnd
  view              - View a resource from a JAR file.
  wrap              - Wrap a jar
  xref              - Show a cross references for all classes in a set of jars.

=back

=head1 SEE ALSO

L<https://github.com/bndtools/bnd>