in src/main/java/org/apache/sling/kickstart/app/KickstartStarter.java [303:320]
private boolean doStart(List<String> argumentList) {
// prevent duplicate start
if ( this.started) {
info("Apache Sling has already been started", new Exception("Where did this come from"));
return true;
}
info("Starting Apache Sling in " + slingHome, null);
this.started = true;
System.out.println("Start Command: '" + command + "'");
try {
Main.main(argumentList.toArray(new String[]{}));
} catch(Error | RuntimeException e) {
error("Launching Sling Feature failed", e);
return false;
}
return true;
}