[
https://issues.apache.org/jira/browse/SLING-9993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17247660#comment-17247660
]
Carsten Ziegeler commented on SLING-9993:
-----------------------------------------
Not sure, I would like to keep the launcher simple with respect to the
classpath. This can be easily done with a script, adding all jars from the
"ext" folder to the classpath before starting the launcher.
> Allow configuring extensions using the CLI
> ------------------------------------------
>
> Key: SLING-9993
> URL: https://issues.apache.org/jira/browse/SLING-9993
> Project: Sling
> Issue Type: New Feature
> Components: Feature Model
> Reporter: Robert Munteanu
> Priority: Major
> Fix For: Feature Model Launcher 1.1.16
>
>
> When switching from using just the launcher to using the launcher +
> extensions the launch command becomes more convoluted. Compare:
> {noformat}
> $ java -jar target/dependency/org.apache.sling.feature.launcher.jar
> {noformat}
> with
> {noformat}
> $ java -cp
> target/dependency/org.apache.sling.feature.launcher.jar:target/dependency/some.extension.jar
> org.apache.sling.feature.launcher.impl.Main
> {noformat}
> It would be very useful to be able to specify extensions as CLI arguments,
> e.g.
> {noformat}
> $ java -jar target/dependency/org.apache.sling.feature.launcher.jar -e
> target/dependency/some.extension.jar
> {noformat}
> or maybe an extension directory
> {noformat}
> $ java -jar target/dependency/org.apache.sling.feature.launcher.jar -ed
> target/dependency/extensions
> {noformat}
> We could even go as far as automatically loading extensions from a
> {{LAUNCHER_HOME/ext}} directory ( with proper logging, of course ).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)