Groovy Documentation

org.standardout.gradle.plugin.platform.internal.util.bnd
[Java] Class BndHelper

java.lang.Object
  org.standardout.gradle.plugin.platform.internal.util.bnd.BndHelper

public class BndHelper

Utilities for working with bnd.

Authors:
Simon Templer


Method Summary
static void buildAndClose(Builder b, java.io.File target)

Build the bnd configuration present in the given builder and write the bundle to the target file.

static Builder createBuilder()

Create a default builder.

static void wrap(java.io.File source, java.util.Collection classpath, java.io.File target, java.util.Map properties)

Wrap a Jar as it is, only changing the manifest.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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()
 

Method Detail

buildAndClose

public static void buildAndClose(Builder b, java.io.File target)
Build the bnd configuration present in the given builder and write the bundle to the target file.
throws:
Exception if creating the bundle fails
Parameters:
b - the builder
target - the target file


createBuilder

public static Builder createBuilder()
Create a default builder.


wrap

public static void wrap(java.io.File source, java.util.Collection classpath, java.io.File target, java.util.Map properties)
Wrap a Jar as it is, only changing the manifest.
throws:
Exception if wrapping the Jar fails
Parameters:
source - the source jar
classpath - the class path
target - the target file
properties - the bnd properties


 

Groovy Documentation