On another note: Kickstart was modeled after Sling Starter and so both 
launching it with no commands or with ’start’ command does the same thing. To 
but it into the background it must be done so by the caller like appending ‘&’.

Does anyone know how to put the launch into the Background from the execution 
of the JAR file so that ‘java -jar <Kickstart jar>.jar start’ does run in the 
background automatically?

I could imagine that ProcessBuilder might work but I did not test that so far.

Cheers - Andy

> On Jun 6, 2020, at 4:41 PM, Andreas Schaefer <schaef...@me.com.INVALID> wrote:
> 
> I think I will add an option that allows to not use Sling FM (-ns) and so you 
> an specify your Feature Models with -af options.
> 
> - Andy
> 
>> On Jun 6, 2020, at 4:40 PM, Andreas Schaefer <schaef...@me.com.INVALID> 
>> wrote:
>> 
>> You can use the -s option in the Sling Kickstart to prevent the Kickstart to 
>> use the bundled Sling instance. That should just bring up the Feature Model 
>> you provided there with -s. If you want to add more Feature Models use as 
>> many -af as you need.
>> 
>> Cheers - Andy
>> 
>>> On Jun 5, 2020, at 2:07 PM, Robert Munteanu <romb...@apache.org> wrote:
>>> 
>>> Hi,
>>> 
>>> For SLING-9499 [1] I am looking into launching a feature model
>>> application as part of a Maven build, for integration testing.
>>> 
>>> I have looked into what the current Maven tooling offers and found:
>>> 
>>> - slingfeature-maven-plugin:launch-features, that launches a single
>>> application, in-process, blocking, based on one or more feature files
>>> - sling-kickstart-maven-plugin:start, that launches one or more
>>> kickstart jars, out-of-process, non-blocking
>>> 
>>> What I am looking for is something in the middle: launch a single
>>> application, based on feature files, out-of-process, non-blocking. I
>>> guess adding multiple applications won't be that hard.
>>> 
>>> I think that we can enhance the Maven tooling to better support
>>> starting and stopping 'pure' feature model applications. This will be
>>> useful for people developing on top of the feature model but not with
>>> Sling. Then we can rebase the kickstart tooling to take advantage of
>>> the new enhancements.
>>> 
>>> Thoughts?
>>> 
>>> Thanks,
>>> Robert
>>> 
>>> [1]: https://issues.apache.org/jira/browse/SLING-9499
>>> 
>> 
> 

Reply via email to