You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2015/04/15 03:20:59 UTC

[jira] [Resolved] (SLING-4620) Slingstart plugin start goal exits even if launchpad.keep.running is set to true

     [ https://issues.apache.org/jira/browse/SLING-4620?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-4620.
-------------------------------------
    Resolution: Fixed

It turned out that the "start" command was missing in the command line arguments.
The plugin is now requiring Java 7 but therefore redirects the output to the console. IN addition it'S always using a control port now

> Slingstart plugin start goal exits even if launchpad.keep.running is set to true
> --------------------------------------------------------------------------------
>
>                 Key: SLING-4620
>                 URL: https://issues.apache.org/jira/browse/SLING-4620
>             Project: Sling
>          Issue Type: Bug
>          Components: Maven Plugins and Archetypes
>            Reporter: Radu Cotescu
>            Assignee: Carsten Ziegeler
>             Fix For: Slingstart Maven Plugin 1.1.0
>
>
> After adapting the Sightly Testing launchpad from SLING-4599 I noticed that the Maven execution of the Slingstart plugin exits even if the {{launchpad.keep.running}} property is set to {{true}}:
> {noformat}
> $ mvn slingstart:start -Dlaunchpad.keep.running=true
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Sling Scripting Sightly Integration Tests 1.0.5-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- slingstart-maven-plugin:1.0.5-SNAPSHOT:start (default-cli) @ org.apache.sling.scripting.sightly.testing ---
> [INFO] Starting Launchpad jackrabbit-8080...
> [INFO] Started Launchpad jackrabbit-8080 [jackrabbit, 8080]
> [INFO] Press CTRL-C to stop launchpad instance(s)...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 39.028 s
> [INFO] Finished at: 2015-04-14T18:07:42+03:00
> [INFO] Final Memory: 11M/160M
> [INFO] ------------------------------------------------------------------------
> {noformat}
> I noticed that the {{controlport}} file does not get created under {{target/jackrabbit-8080/sling/conf}}.
> The same issue can be reproduced at {{launchpad/builder}}:
> {noformat}
> $ mvn slingstart:start -Dlaunchpad.keep.running=true
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Apache Sling Launchpad Application Builder 8-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- slingstart-maven-plugin:1.0.5-SNAPSHOT:start (default-cli) @ org.apache.sling.launchpad ---
> [INFO] Starting Launchpad _-54984...
> [INFO] Started Launchpad _-54984 [null, 54984]
> [INFO] Press CTRL-C to stop launchpad instance(s)...
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7.933 s
> [INFO] Finished at: 2015-04-14T18:23:27+03:00
> [INFO] Final Memory: 11M/160M
> [INFO] ------------------------------------------------------------------------
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)