public class BndHelper extends java.lang.Object
Utilities for working with bnd.
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static void |
buildAndClose(aQute.bnd.osgi.Builder b, java.io.File target)Build the bnd configuration present in the given builder and write the bundle to the target file. |
|
public static aQute.bnd.osgi.Builder |
createBuilder()Create a default builder. |
|
public static aQute.libg.tuple.Pair<java.lang.String, java.util.List<java.lang.String>> |
getSymbolicNameAndPackageImports(java.io.File bundle)Creates a aQute.libg.tuple.Pair with the {
|
|
public static boolean |
wrap(java.io.File source, java.util.Collection<java.io.File> classpath, java.io.File target, java.util.Map<java.lang.String, java.lang.String> properties, boolean removeSignature)Wrap a Jar as it is, only changing the manifest. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Build the bnd configuration present in the given builder and write the bundle to the target file.
b - the buildertarget - the target fileCreate a default builder.
Creates a aQute.libg.tuple.Pair with the {
bundle - java.io.File which is an OSGi bundleWrap a Jar as it is, only changing the manifest.
source - the source jarclasspath - the class pathtarget - the target fileproperties - the bnd properties