Package aQute.bnd.main
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
,java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Iterable<java.lang.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
bnd.ProfileOptions
Profiles subcmdstatic interface
bnd.versionOptions
-
Nested classes/interfaces inherited from class aQute.bnd.osgi.Processor
aQute.bnd.osgi.Processor.CL, aQute.bnd.osgi.Processor.FileLine
-
-
Field Summary
Fields Modifier and Type Field Description java.io.PrintStream
out
-
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_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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods 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 parallelvoid
_action(aQute.bnd.main.bnd.ActionOptions opts)
void
_add(aQute.bnd.main.bnd.AddOptions opts)
void
_baseline(aQute.bnd.main.BaselineCommands.baseLineOptions opts)
Baselinevoid
_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 numbervoid
_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 filevoid
_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 bndvoid
_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 filesvoid
_digest(aQute.bnd.main.bnd.hashOptions o)
hash a filevoid
_do(aQute.bnd.main.bnd.dooptions options)
The do command interprets files and does a default action for each filevoid
_eclipse(aQute.bnd.main.bnd.eclipseOptions options)
void
_ees(aQute.bnd.main.bnd.EEOptions options)
Show the class versions used in a JARvoid
_enroute(EnrouteOptions opts)
Run enroute commandsvoid
_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 commandvoid
_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 macrovoid
_maven(aQute.lib.getopt.Options options)
Maven commandvoid
_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 pluginsvoid
_print(aQute.bnd.main.bnd.printOptions options)
void
_profile(bnd.ProfileOptions options)
void
_project(aQute.bnd.main.bnd.projectOptions options)
void
_properties(aQute.bnd.main.bnd.PropertiesOptions options)
Print out all the propertiesvoid
_release(aQute.bnd.main.bnd.releaseOptions options)
Release the projectvoid
_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 versionsvoid
_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 workspacevoid
_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
_version(bnd.versionOptions o)
Show the version of this bndvoid
_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
_xmlrepodiff(XmlRepoDiffCommand.XmlRepoDiffOptions options)
void
_xref(aQute.bnd.main.XRefCommand.xrefOptions options)
void
build(java.lang.String dest, boolean force, java.lang.String path)
aQute.bnd.build.Project
getProject()
aQute.bnd.build.Project
getProject(java.lang.String where)
aQute.bnd.build.Workspace
getWorkspace()
aQute.bnd.build.Workspace
getWorkspace(java.io.File workspaceDir)
aQute.bnd.build.Workspace
getWorkspace(java.lang.String where)
protected aQute.bnd.main.bnd.HandledProjectWorkspaceOptions
handleOptions(aQute.bnd.main.bnd.ProjectWorkspaceOptions options, java.lang.String... defaultIncludes)
static void
main(java.lang.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(java.lang.String format, java.lang.Object... args)
Progress is not a logging function.void
start(java.lang.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
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
start
public void start(java.lang.String[] args) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_bnd
public void _bnd(aQute.bnd.main.bnd.bndOptions options) throws java.lang.Exception
Main command. This has options the bnd base options and will then run another command.- Parameters:
options
-- Throws:
java.lang.Exception
-
_create
public void _create(aQute.bnd.main.bnd.createOptions options) throws java.lang.Exception
Create jar filejar 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:
java.lang.Exception
-
_extract
public void _extract(aQute.bnd.main.bnd.extractOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_type
public void _type(aQute.bnd.main.bnd.typeOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_do
public void _do(aQute.bnd.main.bnd.dooptions options) throws java.lang.Exception
The do command interprets files and does a default action for each file- Throws:
java.lang.Exception
-
build
public void build(java.lang.String dest, boolean force, java.lang.String path) throws java.io.IOException, java.lang.Exception
- Throws:
java.io.IOException
java.lang.Exception
-
_project
public void _project(aQute.bnd.main.bnd.projectOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_bump
public void _bump(aQute.bnd.main.bnd.bumpoptions options) throws java.lang.Exception
Bump a version number- Throws:
java.lang.Exception
-
perProject
public void perProject(aQute.bnd.main.bnd.ProjectWorkspaceOptions opts, aQute.bnd.main.bnd.PerProject run) throws java.lang.Exception
- Throws:
java.lang.Exception
-
perProject
public void perProject(aQute.bnd.main.bnd.ProjectWorkspaceOptions opts, aQute.bnd.main.bnd.PerProject run, boolean manageDeps) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_build
public void _build(aQute.bnd.main.bnd.buildoptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_compile
public void _compile(aQute.bnd.main.bnd.CompileOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_test
public void _test(aQute.bnd.main.bnd.testOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_junit
public void _junit(aQute.bnd.main.bnd.testOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_run
public void _run(aQute.bnd.main.bnd.runOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_clean
public void _clean(aQute.bnd.main.bnd.cleanOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_syntax
public void _syntax(aQute.bnd.main.bnd.syntaxOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_package
public void _package(aQute.bnd.main.bnd.packageOptions opts) throws java.lang.Exception
Package a bnd or bndrun file for packaging.- Throws:
java.lang.Exception
-
_deliverables
public void _deliverables(aQute.bnd.main.bnd.deliverableOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_macro
public void _macro(aQute.bnd.main.bnd.macroOptions options) throws java.lang.Exception
Show the value of a macro- Throws:
java.lang.Exception
-
_release
public void _release(aQute.bnd.main.bnd.releaseOptions options) throws java.lang.Exception
Release the project- Throws:
java.lang.Exception
-
_xref
public void _xref(aQute.bnd.main.XRefCommand.xrefOptions options) throws java.io.IOException, java.lang.Exception
- Throws:
java.io.IOException
java.lang.Exception
-
_eclipse
public void _eclipse(aQute.bnd.main.bnd.eclipseOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_buildx
public void _buildx(aQute.bnd.main.bnd.buildxOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_view
public void _view(aQute.bnd.main.bnd.viewOptions options) throws java.lang.Exception
View files from JARs We parse the commandline and print each file on it.- Throws:
java.lang.Exception
-
_wrap
public void _wrap(aQute.bnd.main.bnd.wrapOptions options) throws java.lang.Exception
Wrap a jar to a bundle.- Throws:
java.lang.Exception
-
_debug
public void _debug(aQute.bnd.main.bnd.debugOptions options) throws java.lang.Exception
Printout all the variables in scope.- Throws:
java.lang.Exception
-
_repo
public void _repo(aQute.bnd.main.RepoCommand.repoOptions opts) throws java.lang.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:
java.lang.Exception
-
_enroute
public void _enroute(EnrouteOptions opts) throws java.lang.Exception
Run enroute commands- Throws:
java.lang.Exception
-
_print
public void _print(aQute.bnd.main.bnd.printOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
patch
public void patch(aQute.bnd.main.bnd.patchOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_runtests
public void _runtests(aQute.bnd.main.bnd.runtestsOptions opts) throws java.lang.Exception
Run the tests from a prepared bnd file.- Throws:
java.lang.Exception
-
_verify
public void _verify(aQute.bnd.main.bnd.verifyOptions opts) throws java.lang.Exception
Verify jars.- Throws:
java.lang.Exception
-
_source
public void _source(aQute.bnd.main.bnd.sourceOptions opts) throws java.lang.Exception
Merge a bundle with its source.- Throws:
java.lang.Exception
-
_diff
public void _diff(aQute.bnd.main.DiffCommand.diffOptions opts) throws java.lang.Exception
Diff two jar files- Throws:
java.lang.Exception
-
_baseline
public void _baseline(aQute.bnd.main.BaselineCommands.baseLineOptions opts) throws java.lang.Exception
Baseline- Throws:
java.lang.Exception
-
_schema
public void _schema(aQute.bnd.main.BaselineCommands.schemaOptions opts) throws java.lang.Exception
Create a schema of package deltas and versions- Throws:
java.lang.Exception
-
getProject
public aQute.bnd.build.Project getProject() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getWorkspace
public aQute.bnd.build.Workspace getWorkspace(java.io.File workspaceDir) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getProject
public aQute.bnd.build.Project getProject(java.lang.String where) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getWorkspace
public aQute.bnd.build.Workspace getWorkspace(java.lang.String where) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_convert
public void _convert(aQute.bnd.main.bnd.convertOptions opts) throws java.io.IOException
- Throws:
java.io.IOException
-
_select
public void _select(aQute.bnd.main.bnd.selectOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_version
public void _version(bnd.versionOptions o) throws java.io.IOException
Show the version of this bnd- Throws:
java.io.IOException
-
_info
public void _info(aQute.bnd.main.bnd.infoOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_grep
public void _grep(aQute.bnd.main.bnd.grepOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_settings
public void _settings(aQute.bnd.main.bnd.settingOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_digest
public void _digest(aQute.bnd.main.bnd.hashOptions o) throws java.security.NoSuchAlgorithmException, java.lang.Exception
hash a file- Throws:
java.lang.Exception
java.security.NoSuchAlgorithmException
-
_maven
public void _maven(aQute.lib.getopt.Options options) throws java.lang.Exception
Maven command- Throws:
java.lang.Exception
-
_bash
public void _bash(aQute.lib.getopt.Options options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_action
public void _action(aQute.bnd.main.bnd.ActionOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_changes
public void _changes(aQute.bnd.main.bnd.ChangesOptions options)
-
_find
public void _find(aQute.bnd.main.bnd.FindOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
__merge
public void __merge(aQute.bnd.main.bnd.MergeOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_ees
public void _ees(aQute.bnd.main.bnd.EEOptions options) throws java.lang.Exception
Show the class versions used in a JAR- Throws:
java.lang.Exception
-
__par
public void __par(aQute.bnd.main.bnd.ParallelBuildOptions options) throws java.lang.Exception
Lets see if we can build in parallel- Throws:
java.lang.Exception
-
_sync
public void _sync(aQute.bnd.main.bnd.projectOptions options) throws java.lang.Exception
Force a cache update of the workspace- Throws:
java.lang.Exception
-
_bsn2url
public void _bsn2url(aQute.bnd.main.bnd.Bsn2UrlOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_plugins
public void _plugins(aQute.bnd.main.bnd.projectOptions opts) throws java.lang.Exception
Show the loaded workspace plugins- Throws:
java.lang.Exception
-
_dependencies
public void _dependencies(aQute.bnd.main.bnd.DependencyOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_bootstrap
public void _bootstrap(aQute.bnd.main.bnd.BootstrapOptions options) throws java.lang.Exception
- Throws:
java.lang.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 java.lang.Exception
- Throws:
java.lang.Exception
-
_add
public void _add(aQute.bnd.main.bnd.AddOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_remove
public void _remove(aQute.bnd.main.bnd.RemoveOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_profile
public void _profile(bnd.ProfileOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_export
public void _export(aQute.bnd.main.bnd.ExportOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
handleOptions
protected aQute.bnd.main.bnd.HandledProjectWorkspaceOptions handleOptions(aQute.bnd.main.bnd.ProjectWorkspaceOptions options, java.lang.String... defaultIncludes) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_flatten
public void _flatten(aQute.bnd.main.bnd.FlattenOptions opts) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_collect
public void _collect(aQute.bnd.main.bnd.CollectOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_classtoresource
public void _classtoresource(aQute.lib.getopt.Options options) throws java.io.IOException
- Throws:
java.io.IOException
-
_packagetoresource
public void _packagetoresource(aQute.lib.getopt.Options options) throws java.io.IOException
- Throws:
java.io.IOException
-
_index
public void _index(aQute.bnd.main.IndexCommand.indexOptions options) throws java.lang.Exception
Index command- Throws:
java.lang.Exception
-
_com
public void _com(aQute.bnd.main.CommunicationCommands.CommunicationOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_graph
public void _graph(aQute.bnd.main.GraphCommand.GraphOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getWorkspace
public aQute.bnd.build.Workspace getWorkspace()
-
_properties
public void _properties(aQute.bnd.main.bnd.PropertiesOptions options) throws java.lang.Exception
Print out all the properties- Throws:
java.lang.Exception
-
_xmlrepodiff
public void _xmlrepodiff(XmlRepoDiffCommand.XmlRepoDiffOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_generate
public void _generate(aQute.bnd.main.bnd.GenerateOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_classpath
public void _classpath(aQute.bnd.main.bnd.ClasspathOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
_buildtool
public void _buildtool(aQute.bnd.main.bnd.BuildtoolOptions options) throws java.lang.Exception
- Throws:
java.lang.Exception
-
progress
public void progress(java.lang.String format, java.lang.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 classaQute.bnd.osgi.Processor
-
-