-sources BOOLEAN
Builder
-
Example:
-sources=true
-
Values:
true,false
-
Pattern:
true|false|TRUE|FALSE
The -sources
instruction tells bnd to include the source code (if available on the -sourcepath
) in the bundle under the OSGI-OPT/src
directory. This is useful for distributing source code along with your binary bundle, making it easier for others to debug or understand your code.
When enabled, bnd will collect the relevant source files and package them in the appropriate location within the bundle.
TODO Needs review - AI Generated content