Processor.CL, Processor.FileLine
Reporter.SetLocation
Report.Location
Modifier and Type | Field and Description |
---|---|
static String |
BNDCNF |
static String |
BNDFILE |
static String |
SHA_256 |
Map<String,Container> |
unreferencedClasspathEntries |
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, MANIFEST_NAME, MAVEN_RELEASE, META_PERSISTENCE, METAPACKAGES, METATYPE, 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
Constructor and Description |
---|
Project(Workspace workspace,
File buildDir) |
Project(Workspace workspace,
File unused,
File buildFile) |
Modifier and Type | Method and Description |
---|---|
String |
_help(String[] args) |
String |
_ide(String[] args) |
String |
_p_allsourcepath(String[] args) |
String |
_p_bootclasspath(String[] args) |
String |
_p_buildpath(String[] args) |
String |
_p_dependson(String[] args) |
String |
_p_output(String[] args) |
String |
_p_sourcepath(String[] args) |
String |
_p_testpath(String[] args) |
String |
_project(String[] args) |
String |
_repo(String[] args) |
String |
_repos(String[] args) |
void |
action(String command) |
void |
action(String command,
Object... args) |
void |
addClasspath(File f)
bnd maintains a class path that is set by the environment, i.e.
|
void |
baseline()
Do a baseline for this project
|
File[] |
build() |
File[] |
build(boolean underTest)
This is the external method that will pre-build any dependencies if it is
out of date.
|
File[] |
buildLocal(boolean underTest)
Build without doing any dependency checking.
|
void |
bump() |
void |
bump(String mask)
Bump the version of this project.
|
void |
clean() |
void |
clearClasspath() |
void |
compile(boolean test) |
void |
copy(RepositoryPlugin source,
Instructions filter,
RepositoryPlugin destination) |
void |
copy(RepositoryPlugin source,
String filter,
RepositoryPlugin destination)
Copy a repository to another repository
|
void |
deploy()
Deploy the current project to a repository
|
void |
deploy(File file)
Deploy the file (which must be a bundle) into the repository.
|
void |
deploy(String name,
File file)
Deploy the file (which must be a bundle) into the repository.
|
void |
doMavenPom(Strategy strategyx,
List<Container> result,
String action)
The user selected pom in a path.
|
void |
export(String runFilePath,
boolean keep,
File output) |
void |
exportRunbundles(String runFilePath,
File outputDir) |
void |
fillActions(Map<String,Action> all) |
Map<String,Action> |
getActions() |
Collection<File> |
getAllsourcepath() |
Collection<Container> |
getBootclasspath() |
Collection<String> |
getBsns() |
ProjectBuilder |
getBuilder(ProjectBuilder parent)
Return a new builder that is nicely setup for this project.
|
File[] |
getBuildFiles()
This method must only be called when it is sure that the project has been
build before in the same session.
|
File[] |
getBuildFiles(boolean buildIfAbsent) |
Collection<Container> |
getBuildpath() |
Container |
getBundle(String bsn,
String range,
Strategy strategy,
Map<String,String> attrs)
Get a bundle from one of the plugin repositories.
|
List<Container> |
getBundles(Strategy strategyx,
String spec,
String source)
Analyze the header and return a list of files that should be on the
build, test or some other path.
|
List<Container> |
getBundlesWildcard(String bsnPattern,
String range,
Strategy strategyx,
Map<String,String> attrs)
Get all bundles matching a wildcard expression.
|
int |
getChanged() |
Collection<Container> |
getClasspath() |
Packages |
getContained()
Get the contained packages calculated from all builders from the last
build
|
Container |
getDeliverable(String bsn,
Map<String,String> attrs)
Answer the container associated with a given bsn.
|
Collection<Container> |
getDeliverables()
Returns containers for the deliverables of this project.
|
Collection<Project> |
getDependson() |
Packages |
getExports()
Get the exported packages form all builders calculated from the last
build
|
File[] |
getFiles()
Return the files
|
Packages |
getImports()
Get the imported packages from all builders calculated from the last
build
|
Parameters |
getInstallRepositories() |
protected Object[] |
getMacroDomains()
This should be overridden by subclasses to add extra macro command
domains on the search list.
|
String |
getName() |
File |
getOutput() |
File |
getOutputFile(String bsn) |
File |
getOutputFile(String bsn,
String version)
Calculate the file for a JAR.
|
Version |
getPackageInfo(String packageName) |
ProjectLauncher |
getProjectLauncher()
Get a launcher.
|
ProjectTester |
getProjectTester() |
boolean |
getRunBuilds() |
Collection<Container> |
getRunbundles() |
Collection<Container> |
getRunFw()
Return the run framework
|
boolean |
getRunKeep() |
Collection<Container> |
getRunpath() |
Collection<String> |
getRunProgramArgs() |
Map<String,String> |
getRunProperties() |
File |
getRunStorage() |
Collection<String> |
getRunVM() |
Collection<File> |
getSourcePath() |
File |
getSrc()
Deprecated.
|
File |
getSrcOutput() |
Builder |
getSubBuilder(File bndFile)
Return a builder associated with the give bnd file or null.
|
ProjectBuilder |
getSubBuilder(String string)
Return a build that maps to the sub file.
|
Collection<? extends Builder> |
getSubBuilders()
Deprecated.
As of 3.4. Replace with
try (ProjectBuilder pb = getBuilder(null)) { for (Builder b : pb.getSubBuilders()) { ... } } |
File |
getTarget() |
File |
getTargetDir() |
File |
getTestOutput() |
Collection<Container> |
getTestpath() |
File |
getTestSrc() |
static Project |
getUnparented(File propertiesFile) |
Jar |
getValidJar(File f)
This methods attempts to turn any jar into a valid jar.
|
Jar |
getValidJar(Jar jar,
String id) |
Jar |
getValidJar(URL url) |
Version |
getVersion(String bsn) |
Map<String,Version> |
getVersions() |
Workspace |
getWorkspace() |
boolean |
isCnf() |
boolean |
isNoBundles()
Answer if this project does not have any output
|
boolean |
isStale()
Check if this project needs building.
|
boolean |
isValid() |
void |
junit()
Run JUnit
|
protected Strategy |
overrideStrategy(Map<String,String> attrs,
Strategy useStrategy) |
Jar |
pack(String profile)
Caller must close this JAR
|
protected aQute.bnd.build.Project.RepoFilter |
parseRepoFilter(Map<String,String> attrs) |
void |
postRelease()
Actions to perform after a full workspace release.
|
void |
prepare()
Set up all the paths
|
void |
preRelease()
Actions to perform before a full workspace release.
|
void |
propertiesChanged() |
boolean |
refresh()
Refresh if we are based on stale data.
|
void |
refreshAll() |
void |
release() |
void |
release(boolean test) |
void |
release(String name)
Release.
|
void |
release(String name,
boolean test)
Release
|
File |
release(String jarName,
InputStream jarStream) |
File |
release(String name,
String jarName,
InputStream jarStream)
Release
|
URI |
releaseURI(String jarName,
InputStream jarStream) |
URI |
releaseURI(String name,
String jarName,
InputStream jarStream) |
void |
remove() |
void |
report(Map<String,Object> table)
Report detailed info from this project
|
protected void |
report(Map<String,Object> table,
boolean isProject) |
void |
run() |
void |
runLocal() |
File |
saveBuild(Jar jar) |
void |
script(String type,
String script) |
void |
script(String type,
String script,
Object... args) |
void |
setChanged() |
void |
setDelayRunDependencies(boolean x)
Make this project delay the calculation of the run dependencies.
|
void |
setPackageInfo(String packageName,
Version newVersion) |
void |
test() |
void |
test(File reportDir,
List<String> tests) |
void |
test(List<String> tests) |
protected Container |
toContainer(String bsn,
String range,
Map<String,String> attrs,
File result,
DownloadBlocker db) |
String |
toString()
Printout of the status of this processor for toString()
|
void |
verifyDependencies(boolean test)
Method to verify that the paths are correct, ie no missing dependencies
|
_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, 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, quote, read, removeBasicPlugin, removeClose, removeDuplicateMarker, replaceAll, replaceExtension, report, set, setBase, setExceptions, setFileMustExist, setForceLocal, setParent, setPedantic, setProperties, setProperties, setProperties, setProperties, setProperty, setTrace, setTypeSpecificPlugins, signal, since, split, split, split, toFullHeaderPattern, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final String BNDFILE
public static final String BNDCNF
public static final String SHA_256
public Project(Workspace workspace, File unused, File buildFile) throws Exception
Exception
public static Project getUnparented(File propertiesFile) throws Exception
Exception
public boolean isValid()
public ProjectBuilder getBuilder(ProjectBuilder parent) throws Exception
parent
- The project builder to use as parent, use this project if
nullException
public int getChanged()
public void setChanged()
public Workspace getWorkspace()
public String toString()
Processor
@Deprecated public File getSrc() throws Exception
getSourcePath()
Exception
public File getSrcOutput()
public File getTestSrc()
public File getTestOutput()
public File getTargetDir()
public List<Container> getBundles(Strategy strategyx, String spec, String source) throws Exception
strategyx
- STRATEGY_LOWEST or STRATEGY_HIGHESTspec
- The headerException
public List<Container> getBundlesWildcard(String bsnPattern, String range, Strategy strategyx, Map<String,String> attrs) throws Exception
bsnPattern
- A bsn wildcard, e.g. "osgi*" or just "*".range
- A range to narrow the versions of bundles found, or null to
return any version.strategyx
- The version selection strategy, which may be 'HIGHEST'
or 'LOWEST' only -- 'EXACT' is not permitted.attrs
- Additional search attributes.Exception
public void doMavenPom(Strategy strategyx, List<Container> result, String action) throws Exception
strategyx
- the strategy to use.result
- The list of result containersException
- anything goes wrongpublic Collection<Project> getDependson() throws Exception
Exception
public Collection<Container> getBuildpath() throws Exception
Exception
public Collection<Container> getTestpath() throws Exception
Exception
public Collection<Container> getRunpath() throws Exception
Exception
public Collection<Container> getRunbundles() throws Exception
Exception
public Collection<Container> getRunFw() throws Exception
Exception
public boolean getRunBuilds()
public Collection<File> getSourcePath() throws Exception
Exception
public Collection<File> getAllsourcepath() throws Exception
Exception
public Collection<Container> getBootclasspath() throws Exception
Exception
protected Object[] getMacroDomains()
Processor
getMacroDomains
in class Processor
public File release(String jarName, InputStream jarStream) throws Exception
Exception
public URI releaseURI(String jarName, InputStream jarStream) throws Exception
Exception
public File release(String name, String jarName, InputStream jarStream) throws Exception
name
- The repository namejarName
- jarStream
- Exception
public URI releaseURI(String name, String jarName, InputStream jarStream) throws Exception
Exception
public void release(String name, boolean test) throws Exception
name
- The respository nametest
- Run testcasesException
public Container getBundle(String bsn, String range, Strategy strategy, Map<String,String> attrs) throws Exception
bsn
- The bundle symbolic namerange
- The version rangestrategy
- set to LOWEST or HIGHESTException
- when something goes wrongprotected Strategy overrideStrategy(Map<String,String> attrs, Strategy useStrategy)
attrs
- useStrategy
- protected aQute.bnd.build.Project.RepoFilter parseRepoFilter(Map<String,String> attrs)
protected Container toContainer(String bsn, String range, Map<String,String> attrs, File result, DownloadBlocker db)
bsn
- range
- attrs
- result
- public void deploy(String name, File file) throws Exception
name
- The repository namefile
- bundleException
public void deploy(File file) throws Exception
file
- bundleException
public void deploy() throws Exception
Exception
public File[] build(boolean underTest) throws Exception
underTest
- Exception
public Parameters getInstallRepositories()
public File[] getFiles()
public boolean isStale() throws Exception
Exception
public File[] getBuildFiles() throws Exception
Exception
public File[] buildLocal(boolean underTest) throws Exception
underTest
- Exception
public boolean isNoBundles()
public File getOutputFile(String bsn, String version) throws Exception
Exception
public boolean refresh()
public boolean isCnf()
public void propertiesChanged()
propertiesChanged
in class Processor
public String getName()
public void export(String runFilePath, boolean keep, File output) throws Exception
Exception
public void exportRunbundles(String runFilePath, File outputDir) throws Exception
Exception
public void release(String name) throws Exception
name
- The repository nameException
public Jar getValidJar(File f) throws Exception
Exception
public void bump(String mask) throws Exception
mask
- the mask for bumping, see Macro._version(String[])
Exception
public void refreshAll()
public void script(String type, String script, Object... args) throws Exception
Exception
public Collection<Container> getDeliverables() throws Exception
Exception
public Builder getSubBuilder(File bndFile) throws Exception
bndFile
- A file pointing to a bnd file.Exception
public ProjectBuilder getSubBuilder(String string) throws Exception
string
- Exception
public Container getDeliverable(String bsn, Map<String,String> attrs) throws Exception
Exception
@Deprecated public Collection<? extends Builder> getSubBuilders() throws Exception
try (ProjectBuilder pb = getBuilder(null)) { for (Builder b : pb.getSubBuilders()) { ... } }
Exception
public Collection<String> getRunVM()
public Collection<String> getRunProgramArgs()
public ProjectLauncher getProjectLauncher() throws Exception
Exception
public ProjectTester getProjectTester() throws Exception
Exception
public void setDelayRunDependencies(boolean x)
public void addClasspath(File f)
public void clearClasspath()
public Collection<Container> getClasspath()
public Jar pack(String profile) throws Exception
profile
- Exception
public void verifyDependencies(boolean test) throws Exception
test
- for test cases, also adds -testpathException
public void report(Map<String,Object> table) throws Exception
protected void report(Map<String,Object> table, boolean isProject) throws Exception
Exception
public String _ide(String[] args) throws IOException
IOException
public Collection<String> getBsns() throws Exception
Exception
public Packages getExports()
public Packages getImports()
public Packages getContained()
public boolean getRunKeep()
public void setPackageInfo(String packageName, Version newVersion) throws Exception
Exception
public void preRelease()
public void postRelease()
public void copy(RepositoryPlugin source, String filter, RepositoryPlugin destination) throws Exception
Exception
public void copy(RepositoryPlugin source, Instructions filter, RepositoryPlugin destination) throws Exception
Exception
Copyright © 2021 aQute SARL. All rights reserved.