stbischof commented on a change in pull request #18:
URL:
https://github.com/apache/sling-org-apache-sling-feature-launcher/pull/18#discussion_r594482358
##########
File path: src/main/java/org/apache/sling/feature/launcher/impl/Main.java
##########
@@ -312,8 +359,15 @@ public static void main(final String[] args) {
// check if launcher has already been created
final LauncherConfig launcherConfig = new LauncherConfig();
- parseArgs(launcherConfig, args);
-
+ Options options= parseArgs(launcherConfig, args);
+
+ if(launcherConfig.getFeatureFiles().isEmpty()) {
+ Main.LOG().warn("Missing Feature-File(s). Please set an
Feature-File to run.");
+
Review comment:
my last commit wasn't correct, because the Exception was catched before.
Sorry!
I think it would be better this way.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]