Modifier and Type | Class and Description |
---|---|
(package private) static interface |
bnd.ActionOptions
List actions of the repositories if they implement Actionable and allow
them to be executed
|
(package private) static interface |
bnd.AddOptions
Add a project, workspace, or plugin
|
(package private) static class |
bnd.Alg |
static class |
bnd.All |
(package private) static interface |
bnd.bndOptions |
(package private) static interface |
bnd.BootstrapOptions
start a local framework
|
(package private) static interface |
bnd.Bsn2UrlOptions
From a set of bsns, create a list of urls
|
(package private) static interface |
bnd.buildoptions |
(package private) static interface |
bnd.buildxOptions |
(package private) static interface |
bnd.bumpoptions |
(package private) static interface |
bnd.ChangesOptions
Show the changes in the releases
|
(package private) static interface |
bnd.cleanOptions |
(package private) static interface |
bnd.CompileOptions |
(package private) static interface |
bnd.convertOptions
Convert files
|
(package private) static interface |
bnd.CopyOptions |
(package private) static interface |
bnd.createOptions
Options for the jar create command.
|
(package private) static interface |
bnd.debugOptions |
(package private) static interface |
bnd.deliverableOptions
List all deliverables for this workspace.
|
(package private) static interface |
bnd.dooptions |
(package private) static interface |
bnd.eclipseOptions |
(package private) static interface |
bnd.EEOptions |
(package private) static interface |
bnd.ExportOptions
Export a bndrun file
|
(package private) static interface |
bnd.extractOptions
Extract a file from the JAR
|
(package private) static interface |
bnd.FindOptions
Find a package in the current project or a set of jars
|
(package private) static interface |
bnd.FlattenOptions
Flatten a jar
|
(package private) static interface |
bnd.grepOptions
Grep in jars
|
(package private) static interface |
bnd.hashOptions |
(package private) static interface |
bnd.infoOptions
Show some key info of the project
|
(package private) static interface |
bnd.macroOptions |
(package private) static interface |
bnd.MergeOptions
Merge n JARs into a new JAR
|
(package private) static interface |
bnd.packageOptions |
(package private) static interface |
bnd.ParallelBuildOptions |
(package private) static interface |
bnd.patchOptions
Patch
|
(package private) static interface |
bnd.PerProject |
(package private) static interface |
bnd.printOptions |
static interface |
bnd.ProfileOptions
Profiles subcmd
|
(package private) static interface |
bnd.projectOptions
Project command, executes actions.
|
(package private) static interface |
bnd.releaseOptions |
(package private) static interface |
bnd.RemoveOptions |
(package private) static interface |
bnd.runOptions |
(package private) static interface |
bnd.runtestsOptions |
(package private) static interface |
bnd.selectOptions
Create a list of file names that match manifest headers bnd select -h
Bundle-SymbolicName --where (...) *
|
(package private) static interface |
bnd.settingOptions
Handle the global settings
|
(package private) static interface |
bnd.sourceOptions |
(package private) static interface |
bnd.syntaxOptions |
(package private) static interface |
bnd.testOptions |
(package private) static interface |
bnd.typeOptions
List the contents of the JAR
|
(package private) static interface |
bnd.verifyOptions |
static interface |
bnd.versionOptions |
(package private) static interface |
bnd.viewOptions |
(package private) static interface |
bnd.wrapOptions |
(package private) static interface |
bnd.xrefOptions |
Processor.CL, Processor.FileLine
Reporter.SetLocation
Report.Location
Modifier and Type | Field and Description |
---|---|
(package private) static int |
API |
(package private) static java.util.regex.Pattern |
ASSIGNMENT |
(package private) static java.util.regex.Pattern |
BND_COMMAND_P |
(package private) static java.util.regex.Pattern |
BUG_P |
(package private) static int |
BUILD_FORCE |
(package private) static int |
BUILD_POM |
(package private) static int |
BUILD_SOURCES
Buildx
|
(package private) static int |
CAPABILITIES |
(package private) static java.util.regex.Pattern |
COMMAND |
(package private) static int |
COMPONENT |
private static java.lang.String |
DEFAULT_LOG_LEVEL_KEY |
(package private) static java.util.regex.Pattern |
EMAIL_P |
(package private) java.io.PrintStream |
err |
(package private) static int |
HEX |
(package private) static int |
IMPEXP |
(package private) static java.util.regex.Pattern |
JARCOMMANDS |
(package private) Justif |
justif |
(package private) static java.util.regex.Pattern |
LINE_P |
(package private) static int |
LIST |
private static org.slf4j.Logger |
logger |
(package private) static int |
MANIFEST |
(package private) BndMessages |
messages |
(package private) static int |
METATYPE |
private static java.lang.ThreadLocal<java.lang.Boolean> |
noExit |
java.io.PrintStream |
out |
private char[] |
password |
(package private) Settings |
settings |
(package private) static int |
USEDBY |
(package private) static int |
USES |
(package private) static int |
VERIFY
Print out a JAR
|
private Workspace |
ws |
LIST_SPLITTER, log
AUGMENT, AUGMENT_CAPABILITY_DIRECTIVE, AUGMENT_RANGE_ATTRIBUTE, AUGMENT_REQUIREMENT_DIRECTIVE, BASELINE, BASELINEREPO, BLUEPRINT_TIMEOUT_ATTRIBUTE, BLUEPRINT_WAIT_FOR_DEPENDENCIES_ATTRIBUTE, BND_ADDXMLTOTEST, BND_LASTMODIFIED, BNDDRIVER, BNDDRIVER_ANT, BNDDRIVER_BND, BNDDRIVER_ECLIPSE, BNDDRIVER_GRADLE, BNDDRIVER_GRADLE_NATIVE, BNDDRIVER_INTELLIJ, BNDDRIVER_MAVEN, BNDDRIVER_OSMORC, BNDDRIVER_SBT, BUILDFILES, BUILDPACKAGES, BUILDPATH, BUILDREPO, BUMPPOLICY, BUNDLE_ACTIVATIONPOLICY, BUNDLE_ACTIVATOR, BUNDLE_BLUEPRINT, BUNDLE_CATEGORY, BUNDLE_CLASSPATH, BUNDLE_CONTACTADDRESS, BUNDLE_CONTRIBUTORS, BUNDLE_COPYRIGHT, BUNDLE_DESCRIPTION, BUNDLE_DEVELOPERS, BUNDLE_DOCURL, BUNDLE_ICON, BUNDLE_LICENSE, BUNDLE_LOCALIZATION, BUNDLE_MANIFESTVERSION, BUNDLE_NAME, BUNDLE_NATIVECODE, BUNDLE_REQUIREDEXECUTIONENVIRONMENT, BUNDLE_SCM, BUNDLE_SPECIFIC_HEADERS, BUNDLE_SYMBOLIC_NAME_ATTRIBUTE, BUNDLE_SYMBOLICNAME, BUNDLE_UPDATELOCATION, BUNDLE_VENDOR, BUNDLE_VERSION, BUNDLE_VERSION_ATTRIBUTE, CACHEDIR, CARDINALITY_DIRECTIVE, CHECK, CLASSPATH, COMMAND_DIRECTIVE, COMPILER_SOURCE, COMPILER_TARGET, COMPONENT_ACTIVATE, COMPONENT_CONFIGURATION_POLICY, COMPONENT_DEACTIVATE, COMPONENT_DESCRIPTORS, COMPONENT_DESIGNATE, COMPONENT_DESIGNATEFACTORY, COMPONENT_DYNAMIC, COMPONENT_ENABLED, COMPONENT_FACTORY, COMPONENT_GREEDY, COMPONENT_IMMEDIATE, COMPONENT_IMPLEMENTATION, COMPONENT_MODIFIED, COMPONENT_MULTIPLE, COMPONENT_NAME, COMPONENT_NAMESPACE, COMPONENT_OPTIONAL, COMPONENT_PROPERTIES, COMPONENT_PROVIDE, COMPONENT_SERVICEFACTORY, COMPONENT_VERSION, componentDirectives, CONDITIONAL_PACKAGE, CONDITIONALPACKAGE, CONDUIT, CONNECTION_SETTINGS, CONSUMER_POLICY, CONTRACT, CREATED_BY, CURRENT_PACKAGE, CURRENT_USES, CURRENT_VERSION, DEBUG, DEFAULT_BAR_EXTENSION, DEFAULT_BND_EXTENSION, DEFAULT_BNDRUN_EXTENSION, DEFAULT_CHARSET, DEFAULT_DO_NOT_COPY, DEFAULT_JAR_EXTENSION, DEFAULT_LAUNCHER_BSN, DEFAULT_PREPROCESSS_MATCHERS, DEFAULT_PROP_BIN_DIR, DEFAULT_PROP_SRC_DIR, DEFAULT_PROP_TARGET_DIR, DEFAULT_PROP_TESTBIN_DIR, DEFAULT_PROP_TESTSRC_DIR, DEFAULT_TESTER_BSN, DEPENDSON, DEPLOY, DEPLOYREPO, DESCRIPTION_ATTRIBUTE, DIFFIGNORE, DIFFPACKAGES, DIGESTS, directives, DISTRO, DONOTCOPY, DSANNOTATIONS, DSANNOTATIONS_OPTIONS, DUPLICATE_MARKER, DYNAMICIMPORT_PACKAGE, EEPROFILE, EEPROFILE_AUTO_ATTRIBUTE, EFFECTIVE_DIRECTIVE, EMBEDDED_REPO, EMPTY, EMPTY_HEADER, EXCLUDE_DIRECTIVE, EXPERIMENTS, EXPORT, EXPORT_CONTENTS, EXPORT_PACKAGE, EXPORT_SERVICE, EXPORTTYPE, EXTENSION, EXTENSION_DIRECTIVE, FAIL_OK, FILTER_DIRECTIVE, FIXUPMESSAGES, FIXUPMESSAGES_IS_DIRECTIVE, FIXUPMESSAGES_IS_ERROR, FIXUPMESSAGES_IS_IGNORE, FIXUPMESSAGES_IS_WARNING, FIXUPMESSAGES_REPLACE_DIRECTIVE, FIXUPMESSAGES_RESTRICT_DIRECTIVE, FRAGMENT_ATTACHMENT_DIRECTIVE, FRAGMENT_HOST, FROM_DIRECTIVE, GESTALT, GESTALT_BATCH, GESTALT_CI, GESTALT_INTERACTIVE, GESTALT_OFFLINE, GESTALT_SHELL, GROUPID, headers, IGNORE_PACKAGE, IGNORE_STANDALONE, IMPORT_DIRECTIVE, IMPORT_PACKAGE, IMPORT_PRIVATE, IMPORT_REFERENCE, IMPORT_SERVICE, importDirectives, INCLUDE, INCLUDE_DIRECTIVE, INCLUDE_RESOURCE, INCLUDERESOURCE, INIT, INTERNAL_EXPORTED_DIRECTIVE, INTERNAL_SOURCE_DIRECTIVE, INVALIDFILENAMES, JAVA, JAVA_DEBUG, JAVAAGENT, JAVAC, JAVAC_PROFILE, JAVAC_SOURCE, JAVAC_TARGET, JIDENTIFIER, KEYSTORE_LOCATION_DIRECTIVE, KEYSTORE_PASSWORD_DIRECTIVE, KEYSTORE_PROVIDER_DIRECTIVE, LANGUAGE_ATTRIBUTE, LAUNCHER_PLUGIN, LIB_DIRECTIVE, LINK_ATTRIBUTE, LITERAL_ATTRIBUTE, MAKE, MANDATORY_DIRECTIVE, MANIFEST_NAME, MAVEN_RELEASE, META_PERSISTENCE, METAPACKAGES, METATYPE_ANNOTATIONS, METATYPE_ANNOTATIONS_OPTIONS, NAME_ATTRIBUTE, NAMESECTION, NAMESPACE_STEM, NO_IMPORT_DIRECTIVE, NOANNOTATIONS, NOBUILDINCACHE, NOBUNDLES, NODEFAULTVERSION, NOEE, NOEXTRAHEADERS, NOJUNIT, NOJUNITOSGI, NOMANIFEST, NONE, NOUSES, OPTIONAL, options, OSNAME_ATTRIBUTE, OSVERSION_ATTRIBUTE, OUTPUT, OUTPUTMASK, PACKAGE, PACKAGE_JPM, PACKAGEINFOTYPE, PATH_DIRECTIVE, PEDANTIC, PLUGIN, PLUGINPATH, PLUGINPATH_SHA1_ATTR, PLUGINPATH_URL_ATTR, POM, PREPROCESSMATCHERS, PRESENCE_DIRECTIVE, PRIVATE_DIRECTIVE, PRIVATE_PACKAGE, PRIVATEPACKAGE, PROCESSOR_ATTRIBUTE, PROFILE, PROVIDE_CAPABILITY, PROVIDE_DIRECTIVE, PROVIDER_POLICY, PROVIDER_TYPE_DIRECTIVE, RELEASEREPO, REMOVE_ATTRIBUTE_DIRECTIVE, REMOVEHEADERS, REPORTNEWER, REPOSITORIES, REQUIRE_BND, REQUIRE_BUNDLE, REQUIRE_CAPABILITY, RESOLUTION, RESOLUTION_DIRECTIVE, RESOLUTION_DYNAMIC, RESOLVE, RESOURCEONLY, RUNBLACKLIST, RUNBUILDS, RUNBUNDLES, RUNEE, RUNENV, RUNFRAMEWORK, RUNFRAMEWORK_NONE, RUNFRAMEWORK_SERVICES, RUNFW, RUNJDB, RUNKEEP, RUNNOREFERENCES, RUNPATH, RUNPATH_LAUNCHER_DIRECTIVE, RUNPATH_MAIN_DIRECTIVE, RUNPROGRAMARGS, RUNPROPERTIES, RUNPROVIDEDCAPABILITIES, RUNREMOTE, RUNREPOS, RUNREQUIRE, RUNREQUIRES, RUNSTORAGE, RUNSYSTEMCAPABILITIES, RUNSYSTEMPACKAGES, RUNTIMEOUT, RUNTRACE, RUNVM, SAVEMANIFEST, SELECTION_FILTER_ATTRIBUTE, SERVICE_COMPONENT, SET_COMPONENT_DIRECTIVES, SET_COMPONENT_DIRECTIVES_1_1, SET_COMPONENT_DIRECTIVES_1_2, SIGN, SIGN_PASSWORD_DIRECTIVE, SIGNATURE_TEST, SINGLETON_DIRECTIVE, SIZE_ATTRIBUTE, SNAPSHOT, SOURCEPATH, SOURCES, SPECIFICATION_VERSION, SPLIT_PACKAGE_DIRECTIVE, STANDALONE, STRICT, SUB, SYSTEMPROPERTIES, TESTCASES, TESTCONTINUOUS, TESTER, TESTER_PLUGIN, TESTPACKAGES, TESTPATH, TESTREPORT, TESTSOURCES, TESTSUITES, TESTUNRESOLVED, TOOL, TSTAMP, UNDERTEST, UPTO, USES_DIRECTIVE, USES_USES, VALID_PROPERTY_TYPES, VERBOSE, VERSION_ATTR_HASH, VERSION_ATTR_LATEST, VERSION_ATTR_PROJECT, VERSION_ATTR_SNAPSHOT, VERSION_ATTRIBUTE, VERSION_FILTER, VISIBILITY_DIRECTIVE, WAB, WABLIB, WORKINGSET, WORKINGSET_MEMBER
Modifier and Type | Method and Description |
---|---|
void |
__merge(bnd.MergeOptions options) |
void |
__par(bnd.ParallelBuildOptions options)
Lets see if we can build in parallel
|
void |
_action(bnd.ActionOptions opts) |
void |
_add(bnd.AddOptions opts) |
void |
_baseline(BaselineCommands.baseLineOptions opts)
Baseline
|
void |
_bash(Options options) |
void |
_bnd(bnd.bndOptions options)
Main command.
|
void |
_bootstrap(bnd.BootstrapOptions options) |
void |
_bsn2url(bnd.Bsn2UrlOptions opts) |
void |
_build(bnd.buildoptions opts) |
void |
_buildx(bnd.buildxOptions options) |
void |
_bump(bnd.bumpoptions options)
Bump a version number
|
void |
_changes(bnd.ChangesOptions options) |
void |
_clean(bnd.cleanOptions opts) |
void |
_compile(bnd.CompileOptions opts) |
void |
_convert(bnd.convertOptions opts) |
void |
_copy(bnd.CopyOptions options) |
void |
_create(bnd.createOptions options)
Create jar file
|
void |
_debug(bnd.debugOptions options)
Printout all the variables in scope.
|
void |
_defaults(Options o)
Show all the defaults in bnd
|
void |
_deliverables(bnd.deliverableOptions options) |
void |
_diff(DiffCommand.diffOptions opts)
Diff two jar files
|
void |
_digest(bnd.hashOptions o)
hash a file
|
void |
_do(bnd.dooptions options)
The do command interprets files and does a default action for each file
|
void |
_eclipse(bnd.eclipseOptions options) |
void |
_ees(bnd.EEOptions options)
Show the class versions used in a JAR
|
void |
_enroute(EnrouteOptions opts)
Run enroute commands
|
void |
_export(bnd.ExportOptions opts) |
void |
_extract(bnd.extractOptions opts) |
void |
_find(bnd.FindOptions options) |
void |
_flatten(bnd.FlattenOptions opts) |
void |
_grep(bnd.grepOptions opts) |
void |
_info(bnd.infoOptions options) |
void |
_junit(bnd.testOptions opts) |
void |
_macro(bnd.macroOptions options)
Show the value of a macro
|
void |
_maven(Options options)
Maven command
|
void |
_package(bnd.packageOptions opts)
Package a bnd or bndrun file for packaging.
|
void |
_plugins(bnd.projectOptions opts)
Show the loaded workspace plugins
|
void |
_print(bnd.printOptions options) |
void |
_profile(bnd.ProfileOptions options) |
void |
_project(bnd.projectOptions options) |
void |
_release(bnd.releaseOptions options)
Release the project
|
void |
_remove(bnd.RemoveOptions opts) |
void |
_repo(RepoCommand.repoOptions opts)
Manage the repo.
|
void |
_run(bnd.runOptions opts) |
void |
_runtests(bnd.runtestsOptions opts)
Run the tests from a prepared bnd file.
|
void |
_schema(BaselineCommands.schemaOptions opts)
Create a schema of package deltas and versions
|
void |
_select(bnd.selectOptions opts) |
void |
_settings(bnd.settingOptions opts) |
void |
_source(bnd.sourceOptions opts)
Merge a bundle with its source.
|
void |
_sync(bnd.projectOptions options)
Force a cache update of the workspace
|
void |
_syntax(bnd.syntaxOptions opts) |
void |
_test(bnd.testOptions opts) |
void |
_type(bnd.typeOptions opts) |
void |
_verify(bnd.verifyOptions opts)
Verify jars.
|
void |
_version(bnd.versionOptions o)
Show the version of this bnd
|
void |
_view(bnd.viewOptions options)
View files from JARs We parse the commandline and print each file on it.
|
void |
_wrap(bnd.wrapOptions options)
Wrap a jar to a bundle.
|
void |
_xref(bnd.xrefOptions options)
Cross reference every class in the jar file to the files it references
|
private void |
add(Jar jar,
java.io.File base,
java.lang.String path,
boolean report)
Helper for the jar create function, adds files to the jar
|
private void |
addAll(Jar output,
Jar sub,
java.lang.String prefix,
java.util.List<java.lang.String> bundleClassPath) |
void |
build(java.lang.String dest,
boolean force,
java.lang.String path) |
private void |
doCoverage(Tag report,
org.w3c.dom.Document doc,
javax.xml.xpath.XPath xpath) |
private void |
doHtmlReport(Tag report,
java.io.File file,
org.w3c.dom.Document doc,
javax.xml.xpath.XPath xpath) |
private void |
doPerReport(Tag report,
java.io.File file)
Calculate the coverage if there is coverage info in the test file.
|
private void |
doPrint(Jar jar,
int options,
bnd.printOptions po) |
private void |
doRun(java.util.List<java.lang.String> args,
boolean verify,
java.lang.String project) |
private java.lang.String |
escapeUnicode(java.lang.String s) |
private static void |
exitWithCode(int code) |
(package private) Jar |
getJar(java.lang.String s)
Central routine to get a JAR with error checking
|
private java.lang.String |
getJarFileNameFrom(java.lang.String name) |
Project |
getProject() |
Project |
getProject(java.lang.String where) |
private java.io.File |
getPropertiesFile(java.io.File properties,
java.io.File file,
java.lang.String stem) |
Workspace |
getWorkspace(java.io.File workspaceDir) |
Workspace |
getWorkspace(java.lang.String where) |
private boolean |
isIn(java.lang.String[] bundleSpecificHeaders,
java.lang.String key) |
private void |
list(java.util.Collection<java.lang.String> keys,
java.util.Map<java.lang.String,java.lang.String> map) |
static void |
main(java.lang.String[] args) |
(package private) static void |
mainNoExit(java.lang.String[] args)
For testing
|
private char |
nibble(int i) |
(package private) java.lang.String |
pad(int i) |
void |
patch(bnd.patchOptions opts) |
void |
perProject(bnd.projectOptions opts,
bnd.PerProject run) |
private void |
prebuild(java.util.List<java.lang.String> set,
java.util.List<java.lang.String> order,
java.util.List<Builder> builders,
java.lang.String s) |
private void |
print(java.util.Formatter f,
Syntax sx,
java.lang.String indent) |
private void |
print(java.lang.String msg,
java.util.Map<?,? extends java.util.Map<?,?>> ports) |
private void |
printComponents(java.io.PrintStream out,
Jar jar)
Print the components in this JAR.
|
(package private) void |
printManifest(java.util.jar.Manifest manifest) |
private void |
printMetatype(java.io.PrintStream out,
Jar jar)
Print the metatypes in this JAR.
|
(package private) <T extends java.lang.Comparable<? super T>> |
printMultiMap(java.util.Map<T,? extends java.util.Collection<?>> map) |
private void |
printxref(MultiMap<?,?> map,
java.lang.String direction) |
private void |
report(Justif justif,
java.lang.String string,
Processor processor) |
private void |
rewrite(java.util.List<java.lang.String> args)
Rewrite the command line to mimic the jar command
|
private void |
rewriteJarCmd(java.util.List<java.lang.String> args) |
private int |
runtTest(java.io.File testFile,
Workspace ws,
java.io.File reportDir,
Tag summary)
Help function to run the tests
|
void |
start(java.lang.String[] args) |
private java.lang.String |
tos(boolean hex,
byte[] data)
Set the private key in the settings for this machine
|
private boolean |
verifyDependencies(Project project,
boolean implies,
boolean test) |
(package private) java.lang.String |
vertical(int padding,
java.util.Collection<?> used) |
_basedir, _fileuri, _findfile, _frange, _native_capability, _propertiesdir, _propertiesname, _random, _thisfile, _uri, addBasicPlugin, addClose, addExtensions, addIncluded, addProperties, addProperties, append, appendPath, begin, beginHandleErrors, check, clear, close, concat, customize, doAttrbutes, doIncludeFile, doIncludeFile, endHandleErrors, error, error, exception, exists, findHeader, findHeader, findHeader, forceRefresh, formatArrays, get, get, getBase, getBaseURI, getClass, getDuration, getErrors, getExecutor, getFile, getFile, getFlattenedProperties, getFlattenedProperties, getHeader, getHeader, getHeader, getHeader, getIncluded, getInfo, getInfo, getJarFromName, getLine, getLoader, getLocation, getLogger, getMacroDomains, getManifestAsProperties, getMergedParameters, getParent, getPlugin, getPlugins, getPlugins, getProperties, getPropertiesFile, getProperty, getProperty, getProperty, getPropertyKeys, getReplacer, getScheduledExecutor, getSettings, getTop, getUnprocessedProperty, getWarnings, is, isDuplicate, isExceptions, isFailOk, isMissingPlugin, isOk, isPedantic, isPerfect, isTrace, isTrue, iterator, join, join, join, join, join, keySet, lastModified, loadPlugins, loadProperties, makePrintable, merge, mergeLocalProperties, mergeProperties, mergeProperties, mergeProperties, mergeProperties, newHashMap, newList, newList, newMap, newMap, newSet, newSet, normalize, normalize, parseHeader, parseHeader, printClause, printClauses, printClauses, printExceptionSummary, printStackTrace, progress, progress, propertiesChanged, quote, read, refresh, removeBasicPlugin, removeClose, removeDuplicateMarker, replaceAll, replaceExtension, report, report, set, setBase, setExceptions, setFileMustExist, setForceLocal, setParent, setPedantic, setProperties, setProperties, setProperties, setProperties, setProperty, setTrace, setTypeSpecificPlugins, signal, since, split, split, split, toFullHeaderPattern, toString, trace, unsetProperty, updateModified, use, warning
copyFrom, domain, domain, domain, domain, domain, getBundleActivator, getBundleCategory, getBundleClasspath, getBundleClassPath, getBundleContactAddress, getBundleCopyright, getBundleDescription, getBundleDocURL, getBundleName, getBundleNative, getBundleRequiredExecutionEnvironment, getBundleSymbolicName, getBundleVendor, getBundleVersion, getDynamicImportPackage, getExportContents, getExportPackage, getFragmentHost, getIcon, getImportPackage, getIncludeResource, getParameters, getParameters, getParameters, getParameters, getPrivatePackage, getProvideCapability, getRequireBundle, getRequireCapability, getRunblacklist, getRunee, isSources, setAugment, setBundleActivator, setBundleClasspath, setBundleRequiredExecutionEnvironment, setBundleSymbolicName, setBundleVersion, setBundleVersion, setConditionalPackage, setExportPackage, setFailOk, setImportPackage, setIncludeResource, setPrivatePackage, setRunblacklist, setRunee, setRunfw, setRunRequires, setSources, setTranslation, translate, translate
private static final org.slf4j.Logger logger
static java.util.regex.Pattern ASSIGNMENT
Settings settings
final java.io.PrintStream err
public final java.io.PrintStream out
Justif justif
BndMessages messages
private Workspace ws
private char[] password
private static final java.lang.ThreadLocal<java.lang.Boolean> noExit
private static final java.lang.String DEFAULT_LOG_LEVEL_KEY
static java.util.regex.Pattern JARCOMMANDS
static java.util.regex.Pattern COMMAND
static java.util.regex.Pattern EMAIL_P
static final int BUILD_SOURCES
static final int BUILD_POM
static final int BUILD_FORCE
static final int VERIFY
static final int MANIFEST
static final int LIST
static final int IMPEXP
static final int USES
static final int USEDBY
static final int COMPONENT
static final int METATYPE
static final int API
static final int CAPABILITIES
static final int HEX
static java.util.regex.Pattern BUG_P
static java.util.regex.Pattern BND_COMMAND_P
static java.util.regex.Pattern LINE_P
public bnd(Workspace ws)
public bnd()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
static void mainNoExit(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void start(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
private void rewrite(java.util.List<java.lang.String> args) throws java.lang.Exception
args
- java.lang.Exception
private void rewriteJarCmd(java.util.List<java.lang.String> args)
public void _bnd(bnd.bndOptions options) throws java.lang.Exception
options
- java.lang.Exception
public void _create(bnd.createOptions options) throws java.lang.Exception
jar c[v0M]f jarfile [-C dir] inputfiles [-Joption] jar c[v0]mf manifest jarfile [-C dir] inputfiles [-Joption] jar c[v0M] [-C dir] inputfiles [-Joption] jar c[v0]m manifest [-C dir] inputfiles [-Joption]
options
- java.lang.Exception
private void add(Jar jar, java.io.File base, java.lang.String path, boolean report) throws java.io.IOException
jar
- base
- path
- report
- java.io.IOException
public void _extract(bnd.extractOptions opts) throws java.lang.Exception
java.lang.Exception
public void _type(bnd.typeOptions opts) throws java.lang.Exception
java.lang.Exception
public void _do(bnd.dooptions options) throws java.lang.Exception
java.lang.Exception
public void build(java.lang.String dest, boolean force, java.lang.String path) throws java.io.IOException, java.lang.Exception
java.io.IOException
java.lang.Exception
public void _project(bnd.projectOptions options) throws java.lang.Exception
java.lang.Exception
public void _bump(bnd.bumpoptions options) throws java.lang.Exception
java.lang.Exception
public void perProject(bnd.projectOptions opts, bnd.PerProject run) throws java.lang.Exception
java.lang.Exception
public void _build(bnd.buildoptions opts) throws java.lang.Exception
java.lang.Exception
public void _compile(bnd.CompileOptions opts) throws java.lang.Exception
java.lang.Exception
public void _test(bnd.testOptions opts) throws java.lang.Exception
java.lang.Exception
public void _junit(bnd.testOptions opts) throws java.lang.Exception
java.lang.Exception
private boolean verifyDependencies(Project project, boolean implies, boolean test) throws java.lang.Exception
java.lang.Exception
public void _run(bnd.runOptions opts) throws java.lang.Exception
java.lang.Exception
private void doRun(java.util.List<java.lang.String> args, boolean verify, java.lang.String project) throws java.lang.Exception
java.lang.Exception
public void _clean(bnd.cleanOptions opts) throws java.lang.Exception
java.lang.Exception
public void _syntax(bnd.syntaxOptions opts) throws java.lang.Exception
java.lang.Exception
private void print(java.util.Formatter f, Syntax sx, java.lang.String indent)
public void _package(bnd.packageOptions opts) throws java.lang.Exception
java.lang.Exception
public void _deliverables(bnd.deliverableOptions options) throws java.lang.Exception
java.lang.Exception
public void _macro(bnd.macroOptions options) throws java.lang.Exception
java.lang.Exception
public void _release(bnd.releaseOptions options) throws java.lang.Exception
java.lang.Exception
public void _xref(bnd.xrefOptions options) throws java.io.IOException, java.lang.Exception
java.io.IOException
java.lang.Exception
private void printxref(MultiMap<?,?> map, java.lang.String direction)
public void _eclipse(bnd.eclipseOptions options) throws java.lang.Exception
java.lang.Exception
public void _buildx(bnd.buildxOptions options) throws java.lang.Exception
java.lang.Exception
private void prebuild(java.util.List<java.lang.String> set, java.util.List<java.lang.String> order, java.util.List<Builder> builders, java.lang.String s) throws java.io.IOException
java.io.IOException
public void _view(bnd.viewOptions options) throws java.lang.Exception
java.lang.Exception
public void _wrap(bnd.wrapOptions options) throws java.lang.Exception
java.lang.Exception
private java.io.File getPropertiesFile(java.io.File properties, java.io.File file, java.lang.String stem)
public void _debug(bnd.debugOptions options) throws java.lang.Exception
java.lang.Exception
private void report(Justif justif, java.lang.String string, Processor processor) throws java.lang.Exception
java.lang.Exception
public void _repo(RepoCommand.repoOptions opts) throws java.lang.Exception
out.println(" bnd repo [--repo|-r ('maven'| <dir>)]*"); out.println(" repos # list the repositories"); out.println(" list # list all content (not always possible)"); out.println(" get <bsn> <version> <file>? # get an artifact"); out.println(" put <file>+ # put in artifacts"); out.println(" help");
java.lang.Exception
public void _enroute(EnrouteOptions opts) throws java.lang.Exception
java.lang.Exception
public void _print(bnd.printOptions options) throws java.lang.Exception
java.lang.Exception
private void doPrint(Jar jar, int options, bnd.printOptions po) throws java.util.zip.ZipException, java.io.IOException, java.lang.Exception
java.util.zip.ZipException
java.io.IOException
java.lang.Exception
void printManifest(java.util.jar.Manifest manifest)
manifest
- private final char nibble(int i)
private final java.lang.String escapeUnicode(java.lang.String s)
private void printComponents(java.io.PrintStream out, Jar jar) throws java.lang.Exception
jar
- java.lang.Exception
private void printMetatype(java.io.PrintStream out, Jar jar) throws java.lang.Exception
jar
- java.lang.Exception
<T extends java.lang.Comparable<? super T>> void printMultiMap(java.util.Map<T,? extends java.util.Collection<?>> map)
java.lang.String vertical(int padding, java.util.Collection<?> used)
java.lang.String pad(int i)
private void print(java.lang.String msg, java.util.Map<?,? extends java.util.Map<?,?>> ports)
msg
- ports
- public void patch(bnd.patchOptions opts) throws java.lang.Exception
java.lang.Exception
public void _runtests(bnd.runtestsOptions opts) throws java.lang.Exception
java.lang.Exception
private int runtTest(java.io.File testFile, Workspace ws, java.io.File reportDir, Tag summary) throws java.lang.Exception
java.lang.Exception
private void doPerReport(Tag report, java.io.File file) throws java.lang.Exception
java.lang.Exception
private void doCoverage(Tag report, org.w3c.dom.Document doc, javax.xml.xpath.XPath xpath) throws javax.xml.xpath.XPathExpressionException
javax.xml.xpath.XPathExpressionException
private void doHtmlReport(Tag report, java.io.File file, org.w3c.dom.Document doc, javax.xml.xpath.XPath xpath) throws java.lang.Exception
java.lang.Exception
public void _verify(bnd.verifyOptions opts) throws java.lang.Exception
java.lang.Exception
public void _source(bnd.sourceOptions opts) throws java.lang.Exception
java.lang.Exception
public void _diff(DiffCommand.diffOptions opts) throws java.lang.Exception
java.lang.Exception
public void _baseline(BaselineCommands.baseLineOptions opts) throws java.lang.Exception
java.lang.Exception
public void _schema(BaselineCommands.schemaOptions opts) throws java.lang.Exception
java.lang.Exception
public Project getProject() throws java.lang.Exception
java.lang.Exception
public Workspace getWorkspace(java.io.File workspaceDir) throws java.lang.Exception
java.lang.Exception
public Project getProject(java.lang.String where) throws java.lang.Exception
java.lang.Exception
public Workspace getWorkspace(java.lang.String where) throws java.lang.Exception
java.lang.Exception
public void _convert(bnd.convertOptions opts) throws java.io.IOException
java.io.IOException
public void _select(bnd.selectOptions opts) throws java.lang.Exception
java.lang.Exception
Jar getJar(java.lang.String s)
s
- public void _version(bnd.versionOptions o) throws java.io.IOException
java.io.IOException
public void _info(bnd.infoOptions options) throws java.lang.Exception
java.lang.Exception
public void _grep(bnd.grepOptions opts) throws java.lang.Exception
java.lang.Exception
public void _settings(bnd.settingOptions opts) throws java.lang.Exception
java.lang.Exception
private java.lang.String tos(boolean hex, byte[] data)
hex
- data
- java.lang.Exception
private void list(java.util.Collection<java.lang.String> keys, java.util.Map<java.lang.String,java.lang.String> map)
public void _digest(bnd.hashOptions o) throws java.security.NoSuchAlgorithmException, java.lang.Exception
java.lang.Exception
java.security.NoSuchAlgorithmException
public void _maven(Options options) throws java.lang.Exception
java.lang.Exception
public void _bash(Options options) throws java.lang.Exception
java.lang.Exception
public void _action(bnd.ActionOptions opts) throws java.lang.Exception
java.lang.Exception
public void _changes(bnd.ChangesOptions options)
public void _find(bnd.FindOptions options) throws java.lang.Exception
java.lang.Exception
public void __merge(bnd.MergeOptions options) throws java.lang.Exception
java.lang.Exception
public void _ees(bnd.EEOptions options) throws java.lang.Exception
java.lang.Exception
public void __par(bnd.ParallelBuildOptions options) throws java.lang.Exception
java.lang.Exception
public void _sync(bnd.projectOptions options) throws java.lang.Exception
java.lang.Exception
public void _bsn2url(bnd.Bsn2UrlOptions opts) throws java.lang.Exception
java.lang.Exception
public void _plugins(bnd.projectOptions opts) throws java.lang.Exception
java.lang.Exception
public void _bootstrap(bnd.BootstrapOptions options) throws java.lang.Exception
java.lang.Exception
public void _defaults(Options o)
public void _copy(bnd.CopyOptions options) throws java.lang.Exception
java.lang.Exception
private boolean isIn(java.lang.String[] bundleSpecificHeaders, java.lang.String key)
private java.lang.String getJarFileNameFrom(java.lang.String name)
public void _add(bnd.AddOptions opts) throws java.lang.Exception
java.lang.Exception
public void _remove(bnd.RemoveOptions opts) throws java.lang.Exception
java.lang.Exception
public void _profile(bnd.ProfileOptions options) throws java.lang.Exception
java.lang.Exception
public void _export(bnd.ExportOptions opts) throws java.lang.Exception
java.lang.Exception
public void _flatten(bnd.FlattenOptions opts) throws java.lang.Exception
java.lang.Exception
private void addAll(Jar output, Jar sub, java.lang.String prefix, java.util.List<java.lang.String> bundleClassPath)
private static void exitWithCode(int code)