You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by da...@apache.org on 2018/11/07 11:37:33 UTC
[sling-org-apache-sling-feature-extension-apiregions] 09/13: Update
README.md
This is an automated email from the ASF dual-hosted git repository.
davidb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-extension-apiregions.git
commit 576ceeafc0bde826db7225d58cb81b087376d799
Author: David Bosschaert <bo...@adobe.com>
AuthorDate: Mon Nov 5 14:12:57 2018 +0000
Update README.md
---
README.md | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 98f055f..fe9e9ea 100644
--- a/README.md
+++ b/README.md
@@ -19,6 +19,10 @@ PostProcessHandlers are called when a feature contains an `api-regions` section.
`BundleMappingHandler` - This handler creates a mapping file `idbsnver.properties` that maps the Artifact ID to a bundle symbolic name and version. A tilde `~` is used in the value of the map to separate BSN and version.
`BundleArtifactFeatureHandler` - This handler creates 3 mapping files:
- `bundles.properties`: maps bundles to the original feature they were in. A bundle could be from more then one feature.
- `features.properties`: maps features to regions. A feature can be in more than one region.
- `regions.properties`: maps regions to packages. A region can expose more than one package.
\ No newline at end of file
+* `bundles.properties`: maps bundles to the original feature they were in. A bundle could be from more then one feature.
+* `features.properties`: maps features to regions. A feature can be in more than one region.
+* `regions.properties`: maps regions to packages. A region can expose more than one package.
+
+The location of the files created by the `BundleArtifactFeatureHandler` handler is stored in a system property with name `apiregions.` + filename. So to obtain the file name of the `bundles.properties` file, make the following call:
+
+ System.getProperty("apiregions.bundles.properties")
\ No newline at end of file