Package aQute.bnd.main
Class BaselineCommands
java.lang.Object
aQute.bnd.main.BaselineCommands
Implements commands to maintain the Package versions db.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface
(package private) class
(package private) static interface
Print out the packages from spec jars and check in which ees they appear. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Baseline
(package private) final bnd
(package private) final DiffPluginImpl
private static final org.slf4j.Logger
(package private) final Collection<String>
(package private) static TransformerFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Comparevoid
Create a schema of a set of jars outling the packages and their versions.private void
baseline
(BaselineCommands.baseLineOptions opts, Jar newer, Jar older, Instructions packages) protected void
doDiff
(Diff diff, StringBuilder sb) void
doExportPackage
(Baseline.Info[] infos, PrintStream out) protected void
doPackageDiff
(Diff diff) protected String
getShortDelta
(Delta delta) private Tag
getTag
(Baseline.Info info) private void
traverseTag
(StringBuilder sb, Diff diff, String indent)
-
Field Details
-
logger
private static final org.slf4j.Logger logger -
transformerFactory
-
bnd
-
baseline
-
differ
-
SKIP_HEADERS
-
-
Constructor Details
-
BaselineCommands
BaselineCommands(bnd bnd) throws IOException - Throws:
IOException
-
-
Method Details
-
_baseline
Compare- Throws:
Exception
-
baseline
private void baseline(BaselineCommands.baseLineOptions opts, Jar newer, Jar older, Instructions packages) throws FileNotFoundException, UnsupportedEncodingException, IOException, Exception -
doPackageDiff
-
doDiff
-
getShortDelta
-
_schema
Create a schema of a set of jars outling the packages and their versions. This will create a list of packages with multiple versions, link to their specifications, and the deltas between versions.bnd package schema <file.jar>*
- Parameters:
opts
-- Throws:
Exception
-
getTag
-
traverseTag
-
doExportPackage
- Parameters:
infos
-out
-- Throws:
IOException
-