Class bnd

java.lang.Object
aQute.bnd.osgi.Domain
aQute.bnd.osgi.Processor
aQute.bnd.main.bnd
All Implemented Interfaces:
aQute.bnd.osgi.Constants, aQute.bnd.service.Registry, aQute.service.reporter.Report, aQute.service.reporter.Reporter, Closeable, AutoCloseable, Iterable<String>

public class bnd extends aQute.bnd.osgi.Processor
Utility to make bundles. @version $Revision: 1.14 $
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    Profiles subcmd
    static interface 
     

    Nested classes/interfaces inherited from class aQute.bnd.osgi.Processor

    aQute.bnd.osgi.Processor.CL, aQute.bnd.osgi.Processor.FileLine

    Nested classes/interfaces inherited from interface aQute.service.reporter.Report

    aQute.service.reporter.Report.Location

    Nested classes/interfaces inherited from interface aQute.service.reporter.Reporter

    aQute.service.reporter.Reporter.SetLocation
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class aQute.bnd.osgi.Processor

    LIST_SPLITTER, log

    Fields inherited from interface aQute.bnd.osgi.Constants

    ACCESS_ATTRIBUTE, AUGMENT, AUGMENT_CAPABILITY_DIRECTIVE, AUGMENT_RANGE_ATTRIBUTE, AUGMENT_REQUIREMENT_DIRECTIVE, AUTOMATIC_MODULE_NAME, BASELINE, BASELINEREPO, BLUEPRINT_TIMEOUT_ATTRIBUTE, BLUEPRINT_WAIT_FOR_DEPENDENCIES_ATTRIBUTE, BND_ADDXMLTOTEST, BND_LASTMODIFIED, BND_USE_ATTRIBUTES, BNDDRIVER, BNDDRIVER_ANT, BNDDRIVER_BND, BNDDRIVER_ECLIPSE, BNDDRIVER_GRADLE, BNDDRIVER_GRADLE_NATIVE, BNDDRIVER_INTELLIJ, BNDDRIVER_MAVEN, BNDDRIVER_OSMORC, BNDDRIVER_SBT, BSN_SOURCE_SUFFIX, BUILDERIGNORE, BUILDFILES, 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, BUNDLEANNOTATIONS, CARDINALITY_DIRECTIVE, CDIANNOTATIONS, CHECK, CLASS_ATTRIBUTE, CLASSPATH, COMMAND_DIRECTIVE, COMPONENT_ACTIVATE, COMPONENT_CONFIGURATION_POLICY, COMPONENT_DEACTIVATE, COMPONENT_DESCRIPTORS, COMPONENT_DESIGNATE, COMPONENT_DESIGNATEFACTORY, COMPONENT_DIRECTIVES, COMPONENT_DIRECTIVES_1_1, COMPONENT_DIRECTIVES_1_2, 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, COMPRESSION, CONDITIONAL_PACKAGE, CONDITIONALPACKAGE, CONDUIT, CONNECTION_LOG, CONNECTION_SETTINGS, CONSUMER_POLICY, CONTRACT, CREATED_BY, CURRENT_BUNDLESYMBOLICNAME, CURRENT_BUNDLEVERSION, CURRENT_PACKAGE, CURRENT_USES, CURRENT_VERSION, 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, DEFINE_CONTRACT, DEPENDSON, DEPLOY, DEPLOYREPO, DESCRIPTION_ATTRIBUTE, DIFFIGNORE, DIFFPACKAGES, DIGESTS, directives, DISTRO, DONOTCOPY, DSANNOTATIONS, DSANNOTATIONS_OPTIONS, DUPLICATE_MARKER, DYNAMICIMPORT_PACKAGE, EE_ATTRIBUTE, EEPROFILE, EEPROFILE_AUTO_ATTRIBUTE, EFFECTIVE_DIRECTIVE, EMBEDDED_REPO, EMPTY_HEADER, EXCLUDE_DIRECTIVE, EXECUTABLE, EXPORT, EXPORT_APIGUARDIAN, EXPORT_BSN, EXPORT_CONTENTS, EXPORT_NAME, EXPORT_PACKAGE, EXPORT_SERVICE, EXPORT_TYPE, EXPORT_VERSION, EXPORTS_ATTRIBUTE, 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, GENERATE, GESTALT, GESTALT_BATCH, GESTALT_CI, GESTALT_INTERACTIVE, GESTALT_OFFLINE, GESTALT_SHELL, GROUPID, headers, IDENTITY_INITIAL_RESOURCE, IDENTITY_SYSTEM_RESOURCE, IGNORE_ATTRIBUTE, IGNORE_PACKAGE, IGNORE_STANDALONE, IMPORT_DIRECTIVE, IMPORT_PACKAGE, IMPORT_PRIVATE, IMPORT_REFERENCE, IMPORT_SERVICE, importDirectives, INCLUDE, INCLUDE_DIRECTIVE, INCLUDE_RESOURCE, INCLUDEPACKAGE, INCLUDERESOURCE, INIT, INTERNAL_BUNDLESYMBOLICNAME_DIRECTIVE, INTERNAL_BUNDLEVERSION_DIRECTIVE, INTERNAL_EXPORT_TO_MODULES_DIRECTIVE, INTERNAL_EXPORTED_DIRECTIVE, INTERNAL_MODULE_DIRECTIVE, INTERNAL_MODULE_VERSION_DIRECTIVE, INTERNAL_OPEN_TO_MODULES_DIRECTIVE, INTERNAL_PREFIX, INTERNAL_SOURCE_DIRECTIVE, INVALIDFILENAMES, JAVA, JAVA_DEBUG, JAVAAGENT, JAVAC, JAVAC_ENCODING, JAVAC_PROFILE, JAVAC_SOURCE, JAVAC_TARGET, JIDENTIFIER, JPMS_MODULE_INFO, JPMS_MODULE_INFO_OPTIONS, KEYSTORE_LOCATION_DIRECTIVE, KEYSTORE_PASSWORD_DIRECTIVE, KEYSTORE_PROVIDER_DIRECTIVE, LANGUAGE_ATTRIBUTE, LAUNCH_ACTIVATION_EAGER, LAUNCH_ACTIVATORS, LAUNCH_RUNBUNDLES_ATTRS, LAUNCH_STARTLEVEL_DEFAULT, LAUNCH_TRACE, LAUNCHER_PLUGIN, LIB_DIRECTIVE, LIBRARY, LINK_ATTRIBUTE, LITERAL_ATTRIBUTE, MAIN_CLASS, MAKE, MANDATORY_DIRECTIVE, MANIFEST, MANIFEST_NAME, MAVEN_DEPENDENCIES, MAVEN_RELEASE, MAVEN_SCOPE, META_PERSISTENCE, METAPACKAGES, METATYPE, METATYPE_ANNOTATIONS, METATYPE_ANNOTATIONS_OPTIONS, MIME_TYPE_BUNDLE, MIME_TYPE_JAR, MODULE_INFO_CLASS, MODULES_ATTRIBUTE, NAME_ATTRIBUTE, NAMESECTION, NAMESPACE_STEM, NO_IMPORT_DIRECTIVE, NOANNOTATIONS, NOBUILDINCACHE, NOBUNDLES, NOCLASSFORNAME, NODEFAULTVERSION, NOEE, NOEXTRAHEADERS, NOIMPORTJAVA, NOJUNIT, NOJUNITOSGI, NOMANIFEST, NONE, NOT_A_BUNDLE_S, NOUSES, OPTIONAL, options, OSGI_SYNTAX_HEADERS, OSNAME_ATTRIBUTE, OSVERSION_ATTRIBUTE, OUTPUT, OUTPUTMASK, 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, REMOTEWORKSPACE, REMOVE_ATTRIBUTE_DIRECTIVE, REMOVEHEADERS, REPORTNEWER, REPOSITORIES, REPRODUCIBLE, REQUIRE_BND, REQUIRE_BUNDLE, REQUIRE_CAPABILITY, RESOLUTION, RESOLUTION_DIRECTIVE, RESOLUTION_DYNAMIC, RESOLVE, RESOLVE_EFFECTIVE, RESOLVE_EXCLUDESYSTEM, RESOLVE_PREFERENCES, RESOLVEDEBUG, RESOURCEONLY, RUNBLACKLIST, RUNBUILDS, RUNBUNDLES, RUNBUNDLES_STARTLEVEL_ATTRIBUTE, RUNEE, RUNENV, RUNFRAMEWORK, RUNFRAMEWORK_NONE, RUNFRAMEWORK_SERVICES, RUNFRAMEWORKRESTART, RUNFW, RUNJDB, RUNKEEP, RUNNOREFERENCES, RUNOPTIONS, RUNOPTIONS_EAGER, RUNPATH, RUNPROGRAMARGS, RUNPROPERTIES, RUNPROVIDEDCAPABILITIES, RUNREMOTE, RUNREPOS, RUNREQUIRES, RUNSTARTLEVEL, RUNSTARTLEVEL_BEGIN, RUNSTARTLEVEL_ORDER, RUNSTARTLEVEL_STEP, RUNSTORAGE, RUNSYSTEMCAPABILITIES, RUNSYSTEMPACKAGES, RUNTIMEOUT, RUNTRACE, RUNVM, SAVEMANIFEST, SELECTION_FILTER_ATTRIBUTE, SERVICE_COMPONENT, SERVICELOADER_NAMESPACE, SERVICELOADER_REGISTER_DIRECTIVE, SIGN, SIGN_PASSWORD_DIRECTIVE, SIGNATURE_TEST, SINGLETON_DIRECTIVE, SIZE_ATTRIBUTE, SNAPSHOT, SOURCEPATH, SOURCES, SPECIFICATION_VERSION, SPLIT_PACKAGE_DIRECTIVE, STALECHECK, STANDALONE, STATIC_ATTRIBUTE, STRICT, SUB, SUBSTITUTE_ATTRIBUTE, SYSTEMPROPERTIES, TESTCASES, TESTCONTINUOUS, TESTER, TESTER_PLUGIN, TESTPACKAGES, TESTPATH, TESTSOURCES, TESTTERMINATE, TESTUNRESOLVED, TOOL, TRANSITIVE_ATTRIBUTE, TSTAMP, UNDERTEST, UPTO, USES_DIRECTIVE, USES_USES, VALID_PROPERTY_TYPES, VERSION_ATTR_HASH, VERSION_ATTR_LATEST, VERSION_ATTR_PROJECT, VERSION_ATTR_SNAPSHOT, VERSION_ATTRIBUTE, VERSION_FILTER, VERSIONDEFAULTS, VISIBILITY_DIRECTIVE, WAB, WABLIB, WORKINGSET, WORKINGSET_MEMBER
  • Constructor Summary

    Constructors
    Constructor
    Description
    bnd()
     
    bnd(aQute.bnd.build.Workspace ws)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    __merge(aQute.bnd.main.bnd.MergeOptions options)
     
    void
    __par(aQute.bnd.main.bnd.ParallelBuildOptions options)
    Lets see if we can build in parallel
    void
    _action(aQute.bnd.main.bnd.ActionOptions opts)
     
    void
    _add(aQute.bnd.main.bnd.AddOptions opts)
     
    void
    _baseline(aQute.bnd.main.BaselineCommands.baseLineOptions opts)
    Baseline
    void
    _bash(aQute.lib.getopt.Options options)
     
    void
    _bnd(aQute.bnd.main.bnd.bndOptions options)
    Main command.
    void
    _bootstrap(aQute.bnd.main.bnd.BootstrapOptions options)
     
    void
    _bsn2url(aQute.bnd.main.bnd.Bsn2UrlOptions opts)
     
    void
    _build(aQute.bnd.main.bnd.buildoptions opts)
     
    void
    _buildtool(aQute.bnd.main.bnd.BuildtoolOptions options)
     
    void
    _buildx(aQute.bnd.main.bnd.buildxOptions options)
     
    void
    _bump(aQute.bnd.main.bnd.bumpoptions options)
    Bump a version number
    void
    _changes(aQute.bnd.main.bnd.ChangesOptions options)
     
    void
    _classpath(aQute.bnd.main.bnd.ClasspathOptions options)
     
    void
    _classtoresource(aQute.lib.getopt.Options options)
     
    void
    _clean(aQute.bnd.main.bnd.cleanOptions opts)
     
    void
    _collect(aQute.bnd.main.bnd.CollectOptions options)
     
    void
    _com(aQute.bnd.main.CommunicationCommands.CommunicationOptions options)
     
    void
    _compile(aQute.bnd.main.bnd.CompileOptions opts)
     
    void
    _convert(aQute.bnd.main.bnd.convertOptions opts)
     
    void
    _copy(aQute.bnd.main.bnd.CopyOptions options)
     
    void
    _create(aQute.bnd.main.bnd.createOptions options)
    Create jar file
    void
    _debug(aQute.bnd.main.bnd.debugOptions options)
    Printout all the variables in scope.
    void
    _defaults(aQute.lib.getopt.Options o)
    Show all the defaults in bnd
    void
    _deliverables(aQute.bnd.main.bnd.deliverableOptions options)
     
    void
    _dependencies(aQute.bnd.main.bnd.DependencyOptions opts)
     
    void
    _diff(aQute.bnd.main.DiffCommand.diffOptions opts)
    Diff two jar files
    void
    _digest(aQute.bnd.main.bnd.hashOptions o)
    hash a file
    void
    _do(aQute.bnd.main.bnd.dooptions options)
    The do command interprets files and does a default action for each file
    void
    _eclipse(aQute.bnd.main.bnd.eclipseOptions options)
     
    void
    _ees(aQute.bnd.main.bnd.EEOptions options)
    Show the class versions used in a JAR
    void
    _export(aQute.bnd.main.bnd.ExportOptions options)
     
    void
    _extract(aQute.bnd.main.bnd.extractOptions opts)
     
    void
    _find(aQute.bnd.main.bnd.FindOptions options)
     
    void
    _flatten(aQute.bnd.main.bnd.FlattenOptions opts)
     
    void
    _generate(aQute.bnd.main.bnd.GenerateOptions options)
     
    void
    _graph(aQute.bnd.main.GraphCommand.GraphOptions options)
     
    void
    _grep(aQute.bnd.main.bnd.grepOptions opts)
     
    void
    _index(aQute.bnd.main.IndexCommand.indexOptions options)
    Index command
    void
    _info(aQute.bnd.main.bnd.infoOptions options)
     
    void
    _junit(aQute.bnd.main.bnd.testOptions opts)
     
    void
    _macro(aQute.bnd.main.bnd.macroOptions options)
    Show the value of a macro
    void
    _maven(aQute.lib.getopt.Options options)
    Maven command
    void
    _package(aQute.bnd.main.bnd.packageOptions opts)
    Package a bnd or bndrun file for packaging.
    void
    _packagetoresource(aQute.lib.getopt.Options options)
     
    void
    _plugins(aQute.bnd.main.bnd.projectOptions opts)
    Show the loaded workspace plugins
    void
    _print(aQute.bnd.main.bnd.printOptions options)
     
    void
     
    void
    _project(aQute.bnd.main.bnd.projectOptions options)
     
    void
    _properties(aQute.bnd.main.bnd.PropertiesOptions options)
    Print out all the properties
    void
    _release(aQute.bnd.main.bnd.releaseOptions options)
    Release the project
    void
    _remove(aQute.bnd.main.bnd.RemoveOptions opts)
     
    void
    _repo(aQute.bnd.main.RepoCommand.repoOptions opts)
    Manage the repo.
    void
    _run(aQute.bnd.main.bnd.runOptions opts)
     
    void
    _runtests(aQute.bnd.main.bnd.runtestsOptions opts)
    Run the tests from a prepared bnd file.
    void
    _schema(aQute.bnd.main.BaselineCommands.schemaOptions opts)
    Create a schema of package deltas and versions
    void
    _select(aQute.bnd.main.bnd.selectOptions opts)
     
    void
    _settings(aQute.bnd.main.bnd.settingOptions opts)
     
    void
    _source(aQute.bnd.main.bnd.sourceOptions opts)
    Merge a bundle with its source.
    void
    _sync(aQute.bnd.main.bnd.projectOptions options)
    Force a cache update of the workspace
    void
    _syntax(aQute.bnd.main.bnd.syntaxOptions opts)
     
    void
    _test(aQute.bnd.main.bnd.testOptions opts)
     
    void
    _type(aQute.bnd.main.bnd.typeOptions opts)
     
    void
    _verify(aQute.bnd.main.bnd.verifyOptions opts)
    Verify jars.
    void
    Show the version of this bnd
    void
    _view(aQute.bnd.main.bnd.viewOptions options)
    View files from JARs We parse the commandline and print each file on it.
    void
    _wrap(aQute.bnd.main.bnd.wrapOptions options)
    Wrap a jar to a bundle.
    void
     
    void
    _xref(aQute.bnd.main.XRefCommand.xrefOptions options)
     
    void
    build(String dest, boolean force, String path)
     
    aQute.bnd.build.Project
     
    aQute.bnd.build.Project
     
    aQute.bnd.build.Workspace
     
    aQute.bnd.build.Workspace
    getWorkspace(File workspaceDir)
     
    aQute.bnd.build.Workspace
     
    protected aQute.bnd.main.bnd.HandledProjectWorkspaceOptions
    handleOptions(aQute.bnd.main.bnd.ProjectWorkspaceOptions options, String... defaultIncludes)
     
    static void
    main(String[] args)
     
    void
    patch(aQute.bnd.main.bnd.patchOptions opts)
     
    void
    perProject(aQute.bnd.main.bnd.ProjectWorkspaceOptions opts, aQute.bnd.main.bnd.PerProject run)
     
    void
    perProject(aQute.bnd.main.bnd.ProjectWorkspaceOptions opts, aQute.bnd.main.bnd.PerProject run, boolean manageDeps)
     
    void
    progress(String format, Object... args)
    Progress is not a logging function.
    void
    start(String[] args)
     

    Methods inherited from class aQute.bnd.osgi.Processor

    _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, decorated, decorated, doAttrbutes, doIncludeFile, doIncludeFile, endHandleErrors, error, error, exception, exists, findHeader, findHeader, findHeader, forceRefresh, formatArrays, get, get, getBase, getBaseURI, getChecksum, getClass, getDuration, getErrors, getExecutor, getFile, getFile, getFlattenedProperties, getFlattenedProperties, getHeader, getHeader, getHeader, getHeader, getIncluded, getInfo, getInfo, getInstructions, getJarFromName, getJavaExecutable, getLine, getLoader, getLocation, getLogger, getMacroDomains, getManifestAsProperties, getMergedParameters, getParameters, getParent, getPlugin, getPlugins, getPlugins, getProfile, getPromiseFactory, getProperties, getPropertiesFile, getProperty, getProperty, getProperty, getPropertyKeys, getReplacer, getScheduledExecutor, getSelfAndAncestors, getSettings, getTop, getUnexpandedProperty, getUnprocessedProperty, getWarnings, is, isDuplicate, isExceptions, isFailOk, isInteractive, isMissingPlugin, isOk, isPedantic, isPerfect, isTrace, isTrue, iterator, join, join, join, join, join, join, keySet, lastModified, 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, propertiesChanged, quote, read, refresh, removeBasicPlugin, removeClose, removeDuplicateMarker, replaceAll, replaceExtension, report, report, set, setBase, setExceptions, setFileMustExist, setForceLocal, setLocation, setParent, setPedantic, setProperties, setProperties, setProperties, setProperties, setPropertiesFile, setProperty, setTrace, setTypeSpecificPlugins, signal, since, split, split, split, spliterator, system, system, toFullHeaderPattern, toString, trace, unsetProperty, updateModified, use, warning

    Methods inherited from class aQute.bnd.osgi.Domain

    copyFrom, domain, domain, 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, normalizeKey, setAugment, setBundleActivator, setBundleClasspath, setBundleRequiredExecutionEnvironment, setBundleSymbolicName, setBundleVersion, setBundleVersion, setConditionalPackage, setExportContents, setExportPackage, setFailOk, setImportPackage, setIncludePackage, setIncludeResource, setPrivatePackage, setRunblacklist, setRunee, setRunfw, setRunRequires, setSources, setTranslation, translate, translate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.lang.Iterable

    forEach
  • Field Details

  • Constructor Details

    • bnd

      public bnd(aQute.bnd.build.Workspace ws)
    • bnd

      public bnd()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception
    • start

      public void start(String[] args) throws Exception
      Throws:
      Exception
    • _bnd

      public void _bnd(aQute.bnd.main.bnd.bndOptions options) throws Exception
      Main command. This has options the bnd base options and will then run another command.
      Parameters:
      options -
      Throws:
      Exception
    • _create

      public void _create(aQute.bnd.main.bnd.createOptions options) throws Exception
      Create jar file
        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]
       
      Parameters:
      options -
      Throws:
      Exception
    • _extract

      public void _extract(aQute.bnd.main.bnd.extractOptions opts) throws Exception
      Throws:
      Exception
    • _type

      public void _type(aQute.bnd.main.bnd.typeOptions opts) throws Exception
      Throws:
      Exception
    • _do

      public void _do(aQute.bnd.main.bnd.dooptions options) throws Exception
      The do command interprets files and does a default action for each file
      Throws:
      Exception
    • build

      public void build(String dest, boolean force, String path) throws IOException, Exception
      Throws:
      IOException
      Exception
    • _project

      public void _project(aQute.bnd.main.bnd.projectOptions options) throws Exception
      Throws:
      Exception
    • _bump

      public void _bump(aQute.bnd.main.bnd.bumpoptions options) throws Exception
      Bump a version number
      Throws:
      Exception
    • perProject

      public void perProject(aQute.bnd.main.bnd.ProjectWorkspaceOptions opts, aQute.bnd.main.bnd.PerProject run) throws Exception
      Throws:
      Exception
    • perProject

      public void perProject(aQute.bnd.main.bnd.ProjectWorkspaceOptions opts, aQute.bnd.main.bnd.PerProject run, boolean manageDeps) throws Exception
      Throws:
      Exception
    • _build

      public void _build(aQute.bnd.main.bnd.buildoptions opts) throws Exception
      Throws:
      Exception
    • _compile

      public void _compile(aQute.bnd.main.bnd.CompileOptions opts) throws Exception
      Throws:
      Exception
    • _test

      public void _test(aQute.bnd.main.bnd.testOptions opts) throws Exception
      Throws:
      Exception
    • _junit

      public void _junit(aQute.bnd.main.bnd.testOptions opts) throws Exception
      Throws:
      Exception
    • _run

      public void _run(aQute.bnd.main.bnd.runOptions opts) throws Exception
      Throws:
      Exception
    • _clean

      public void _clean(aQute.bnd.main.bnd.cleanOptions opts) throws Exception
      Throws:
      Exception
    • _syntax

      public void _syntax(aQute.bnd.main.bnd.syntaxOptions opts) throws Exception
      Throws:
      Exception
    • _package

      public void _package(aQute.bnd.main.bnd.packageOptions opts) throws Exception
      Package a bnd or bndrun file for packaging.
      Throws:
      Exception
    • _deliverables

      public void _deliverables(aQute.bnd.main.bnd.deliverableOptions options) throws Exception
      Throws:
      Exception
    • _macro

      public void _macro(aQute.bnd.main.bnd.macroOptions options) throws Exception
      Show the value of a macro
      Throws:
      Exception
    • _release

      public void _release(aQute.bnd.main.bnd.releaseOptions options) throws Exception
      Release the project
      Throws:
      Exception
    • _xref

      public void _xref(aQute.bnd.main.XRefCommand.xrefOptions options) throws IOException, Exception
      Throws:
      IOException
      Exception
    • _eclipse

      public void _eclipse(aQute.bnd.main.bnd.eclipseOptions options) throws Exception
      Throws:
      Exception
    • _buildx

      public void _buildx(aQute.bnd.main.bnd.buildxOptions options) throws Exception
      Throws:
      Exception
    • _view

      public void _view(aQute.bnd.main.bnd.viewOptions options) throws Exception
      View files from JARs We parse the commandline and print each file on it.
      Throws:
      Exception
    • _wrap

      public void _wrap(aQute.bnd.main.bnd.wrapOptions options) throws Exception
      Wrap a jar to a bundle.
      Throws:
      Exception
    • _debug

      public void _debug(aQute.bnd.main.bnd.debugOptions options) throws Exception
      Printout all the variables in scope.
      Throws:
      Exception
    • _repo

      public void _repo(aQute.bnd.main.RepoCommand.repoOptions opts) throws Exception
      Manage the repo.
        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");
       
      Throws:
      Exception
    • _print

      public void _print(aQute.bnd.main.bnd.printOptions options) throws Exception
      Throws:
      Exception
    • patch

      public void patch(aQute.bnd.main.bnd.patchOptions opts) throws Exception
      Throws:
      Exception
    • _runtests

      public void _runtests(aQute.bnd.main.bnd.runtestsOptions opts) throws Exception
      Run the tests from a prepared bnd file.
      Throws:
      Exception
    • _verify

      public void _verify(aQute.bnd.main.bnd.verifyOptions opts) throws Exception
      Verify jars.
      Throws:
      Exception
    • _source

      public void _source(aQute.bnd.main.bnd.sourceOptions opts) throws Exception
      Merge a bundle with its source.
      Throws:
      Exception
    • _diff

      public void _diff(aQute.bnd.main.DiffCommand.diffOptions opts) throws Exception
      Diff two jar files
      Throws:
      Exception
    • _baseline

      public void _baseline(aQute.bnd.main.BaselineCommands.baseLineOptions opts) throws Exception
      Baseline
      Throws:
      Exception
    • _schema

      public void _schema(aQute.bnd.main.BaselineCommands.schemaOptions opts) throws Exception
      Create a schema of package deltas and versions
      Throws:
      Exception
    • getProject

      public aQute.bnd.build.Project getProject() throws Exception
      Throws:
      Exception
    • getWorkspace

      public aQute.bnd.build.Workspace getWorkspace(File workspaceDir) throws Exception
      Throws:
      Exception
    • getProject

      public aQute.bnd.build.Project getProject(String where) throws Exception
      Throws:
      Exception
    • getWorkspace

      public aQute.bnd.build.Workspace getWorkspace(String where) throws Exception
      Throws:
      Exception
    • _convert

      public void _convert(aQute.bnd.main.bnd.convertOptions opts) throws IOException
      Throws:
      IOException
    • _select

      public void _select(aQute.bnd.main.bnd.selectOptions opts) throws Exception
      Throws:
      Exception
    • _version

      public void _version(bnd.versionOptions o) throws IOException
      Show the version of this bnd
      Throws:
      IOException
    • _info

      public void _info(aQute.bnd.main.bnd.infoOptions options) throws Exception
      Throws:
      Exception
    • _grep

      public void _grep(aQute.bnd.main.bnd.grepOptions opts) throws Exception
      Throws:
      Exception
    • _settings

      public void _settings(aQute.bnd.main.bnd.settingOptions opts) throws Exception
      Throws:
      Exception
    • _digest

      public void _digest(aQute.bnd.main.bnd.hashOptions o) throws NoSuchAlgorithmException, Exception
      hash a file
      Throws:
      Exception
      NoSuchAlgorithmException
    • _maven

      public void _maven(aQute.lib.getopt.Options options) throws Exception
      Maven command
      Throws:
      Exception
    • _bash

      public void _bash(aQute.lib.getopt.Options options) throws Exception
      Throws:
      Exception
    • _action

      public void _action(aQute.bnd.main.bnd.ActionOptions opts) throws Exception
      Throws:
      Exception
    • _changes

      public void _changes(aQute.bnd.main.bnd.ChangesOptions options)
    • _find

      public void _find(aQute.bnd.main.bnd.FindOptions options) throws Exception
      Throws:
      Exception
    • __merge

      public void __merge(aQute.bnd.main.bnd.MergeOptions options) throws Exception
      Throws:
      Exception
    • _ees

      public void _ees(aQute.bnd.main.bnd.EEOptions options) throws Exception
      Show the class versions used in a JAR
      Throws:
      Exception
    • __par

      public void __par(aQute.bnd.main.bnd.ParallelBuildOptions options) throws Exception
      Lets see if we can build in parallel
      Throws:
      Exception
    • _sync

      public void _sync(aQute.bnd.main.bnd.projectOptions options) throws Exception
      Force a cache update of the workspace
      Throws:
      Exception
    • _bsn2url

      public void _bsn2url(aQute.bnd.main.bnd.Bsn2UrlOptions opts) throws Exception
      Throws:
      Exception
    • _plugins

      public void _plugins(aQute.bnd.main.bnd.projectOptions opts) throws Exception
      Show the loaded workspace plugins
      Throws:
      Exception
    • _dependencies

      public void _dependencies(aQute.bnd.main.bnd.DependencyOptions opts) throws Exception
      Throws:
      Exception
    • _bootstrap

      public void _bootstrap(aQute.bnd.main.bnd.BootstrapOptions options) throws Exception
      Throws:
      Exception
    • _defaults

      public void _defaults(aQute.lib.getopt.Options o)
      Show all the defaults in bnd
    • _copy

      public void _copy(aQute.bnd.main.bnd.CopyOptions options) throws Exception
      Throws:
      Exception
    • _add

      public void _add(aQute.bnd.main.bnd.AddOptions opts) throws Exception
      Throws:
      Exception
    • _remove

      public void _remove(aQute.bnd.main.bnd.RemoveOptions opts) throws Exception
      Throws:
      Exception
    • _profile

      public void _profile(bnd.ProfileOptions options) throws Exception
      Throws:
      Exception
    • _export

      public void _export(aQute.bnd.main.bnd.ExportOptions options) throws Exception
      Throws:
      Exception
    • handleOptions

      protected aQute.bnd.main.bnd.HandledProjectWorkspaceOptions handleOptions(aQute.bnd.main.bnd.ProjectWorkspaceOptions options, String... defaultIncludes) throws Exception
      Throws:
      Exception
    • _flatten

      public void _flatten(aQute.bnd.main.bnd.FlattenOptions opts) throws Exception
      Throws:
      Exception
    • _collect

      public void _collect(aQute.bnd.main.bnd.CollectOptions options) throws Exception
      Throws:
      Exception
    • _classtoresource

      public void _classtoresource(aQute.lib.getopt.Options options) throws IOException
      Throws:
      IOException
    • _packagetoresource

      public void _packagetoresource(aQute.lib.getopt.Options options) throws IOException
      Throws:
      IOException
    • _index

      public void _index(aQute.bnd.main.IndexCommand.indexOptions options) throws Exception
      Index command
      Throws:
      Exception
    • _com

      public void _com(aQute.bnd.main.CommunicationCommands.CommunicationOptions options) throws Exception
      Throws:
      Exception
    • _graph

      public void _graph(aQute.bnd.main.GraphCommand.GraphOptions options) throws Exception
      Throws:
      Exception
    • getWorkspace

      public aQute.bnd.build.Workspace getWorkspace()
    • _properties

      public void _properties(aQute.bnd.main.bnd.PropertiesOptions options) throws Exception
      Print out all the properties
      Throws:
      Exception
    • _xmlrepodiff

      public void _xmlrepodiff(XmlRepoDiffCommand.XmlRepoDiffOptions options) throws Exception
      Throws:
      Exception
    • _generate

      public void _generate(aQute.bnd.main.bnd.GenerateOptions options) throws Exception
      Throws:
      Exception
    • _classpath

      public void _classpath(aQute.bnd.main.bnd.ClasspathOptions options) throws Exception
      Throws:
      Exception
    • _buildtool

      public void _buildtool(aQute.bnd.main.bnd.BuildtoolOptions options) throws Exception
      Throws:
      Exception
    • progress

      public void progress(String format, Object... args)
      Progress is not a logging function. It is used to trace progress for the command line. To trace, use a logger.
      Overrides:
      progress in class aQute.bnd.osgi.Processor