 Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.

Generate, analyze, merge, capture, or compare export specifications and libraries.

Usage
  generate option... classpath...
  analyze  option... libraries...
  merge    option... libraries...
  capture  option... libraries...
  compare  option... baseline1 baseline2

Parameters
  operation              The operation to perform:
                           generate  Generate export specification from classes.
                           analyze   Analyze libraries.
                           merge     Merge libraries.
                           capture   Capture a baseline for future comparison.
                           compare   Compare baselines.
  classpath              Directories or jars to scan for classes and annotations
                         from which to generate an export specification.
  libraries              Libraries to analyze, merge, or capture: as extension
                         jar or library paths; as extension ids or library ids
                         or names optionally prefixed by "library:" or
                         "extension" and enclosed in square brackets; or as
                         "installation".
  baseline               The path to a captured baseline file.

Options
  -bootclasspath*        Jar or directory paths providing boot class path.
                         If omitted, boot class path of running JDK is used.
  -dependencies classes* Dependency classes and/or libraries to supply
                         missing dependencies for the classes or libraries to
                         be processed. An extension jar is assumed to be
                         present for its libraries, a plain jar for its classes.
  -help                  Print this text.
  -middlewarehome path   The root directory of the middleware installation.
                         Required for extension or library id resolution,
                         -mwh is a synonym.
  -[no]output type       Output file types, to create or suppress:
                           issues    Issues detected during execution. Default
                                     name is exports.log.
                           exported  Exported signatures in scope. Default name
                                     is exported-signatures.lis.
                           concealed Concealed signatures in scope. Default name
                                     is concealed-signatures.lis.
                           problems  Problem types in exported signatures.
                                     Default name is problem-types.lis.
                           exports   Export specification of scope. Default name
                                     is lib-exports.lis.
                           comments  Remediation comments from scope. Default
                                     name is lib-comments.xml.
                           library   Library file describing scope and exports.
                                     Default name is lib-exports.library.
                           libraries Summary of processed libraries. Default
                                     name is libraries.lis
                           baseline  An exported API baseline. Default name is
                                     baseline.xsig.
                           added     API elements found by compare to have been
                                     added. Default name is added.lis.
                           removed   API elements found by compare to have been
                                     removed. Default name is removed.lis.
                         Writes all files appropriate to operation, by default.
  -outputdir path        Directory for output files. -d is a synonym.
  -[no]validate          Whether to validate libraries and export specifications
                         against schemas. Enabled by default.
  @file                  Include options and parameters from file.

* Separate multiple values by commas, or specify option multiple times.

Notes
  Schema validation, when enabled, is done on all export specifications and
  manifest libraries. It is not yet applied to extension libraries.

  Defining aliases along the lines of the following may be convenient:
    alias analyze="java -jar javatools-exports-standalone.jar analyze"

  For each output type, an option composed of the type name and "file", e.g.
  -exportsfile, overrides the location and name of the created file.

Examples
  If the current directory is the middleware home and test.library has an id of
  "oracle.wls.test", these commands will equivalently analyze test.library:
    analyze -mwh . -d temp wlserver/plugins/jdeveloper/libraries/test.library
    analyze -mwh . -d temp [oracle.wls.test]

  The following command analyzes the installation, with the useful side effect
  that libraries.lis in the output directory will list all libraries discovered
  in the installation:
    analyze -mwh . -d temp installation

