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 2019/04/29 07:17:22 UTC

[sling-org-apache-sling-feature-launcher] branch master updated: Some documentation for the launcher.

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-launcher.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c2ed0d  Some documentation for the launcher.
0c2ed0d is described below

commit 0c2ed0d1dab94eb1a4804b6d02a29f3d1dfbce5e
Author: David Bosschaert <bo...@adobe.com>
AuthorDate: Mon Apr 29 08:17:05 2019 +0100

    Some documentation for the launcher.
---
 readme.md | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/readme.md b/readme.md
index c22d06a..e10880a 100644
--- a/readme.md
+++ b/readme.md
@@ -12,4 +12,27 @@ The launcher can be executed as follows:
 java org.apache.sling.feature.launcher.impl.Main
 ```
 
+or via the Java Main class of the jar file:
+```
+java -jar org.apache.sling.feature.launcher-1.0.0.jar
+```
+
+The launcher creates a local cache, by default in a subdirectory called `launcher`. If you want to run the launcher with a clean start, delete this directory before invoking the launcher.
+
+The following command line options are supported:
+```
+$ rm -rf launcher && java -jar org.apache.sling.feature.launcher-1.0.0.jar -h
+usage: launcher
+ -C <arg>    Set artifact clash override
+ -c <arg>    Set cache dir
+ -D <arg>    Set framework properties
+ -f <arg>    Set feature files
+ -fv <arg>   Set felix framework version
+ -p <arg>    Set home dir
+ -u <arg>    Set repository url
+ -V <arg>    Set variable value
+ -v          Verbose
+```
+
+
 For further documentation see: https://github.com/apache/sling-org-apache-sling-feature/blob/master/readme.md