Feature Launcher System in a Background Thread, where?

2020-01-07 Thread Andreas Schaefer
Hi For the Sling Starter Module we need to be able to launch a FM system in a demon / background thread. The question is where is the code placed. As the Feature Launcher is not only here for Sling I think it should be added to the Feature Launcher instead of the Sling Starter for Features. Wh

Re: Feature Launcher System in a Background Thread, where?

2020-01-08 Thread Robert Munteanu
Hi Andy, On Tue, 2020-01-07 at 13:16 -0800, Andreas Schaefer wrote: > Hi > > For the Sling Starter Module we need to be able to launch a FM system > in a demon / background thread. The question is where is the code > placed. Can't we just use the current feature launcher application to launch th

Re: Feature Launcher System in a Background Thread, where?

2020-01-08 Thread Andreas Schaefer
The Sling Starter for FM will create an executable JAR file so that Sling can be launched with: ‘java -jar ’. Also the Feature Launcher does not support to be launched in the background and so it cannot used as an IT test vehicle like the Slingstart Maven Plugin (Start / Stop Mojo). - Andy >

Re: Feature Launcher System in a Background Thread, where?

2020-01-08 Thread Robert Munteanu
On Wed, 2020-01-08 at 08:01 -0800, Andreas Schaefer wrote: > The Sling Starter for FM will create an executable JAR file so that > Sling can be launched with: ‘java -jar ’. Right, good point. So basically we need code that - creates an executable jar file from a set of feature model files - creat

Re: Feature Launcher System in a Background Thread, where?

2020-01-08 Thread Andreas Schaefer
Hi > On Jan 8, 2020, at 8:23 AM, Robert Munteanu wrote: > > On Wed, 2020-01-08 at 08:01 -0800, Andreas Schaefer wrote: >> The Sling Starter for FM will create an executable JAR file so that >> Sling can be launched with: ‘java -jar ’. > > Right, good point. So basically we need code that > > -

Re: Feature Launcher System in a Background Thread, where?

2020-01-08 Thread Carsten Ziegeler
Do we still need to support the webapp case? Regards Carsten On 08.01.2020 17:23, Robert Munteanu wrote: On Wed, 2020-01-08 at 08:01 -0800, Andreas Schaefer wrote: The Sling Starter for FM will create an executable JAR file so that Sling can be launched with: ‘java -jar ’. Right, good point.

Re: Feature Launcher System in a Background Thread, where?

2020-01-08 Thread Bertrand Delacretaz
On Wed, Jan 8, 2020 at 5:59 PM Carsten Ziegeler wrote: > > Do we still need to support the webapp case?.. I was going to ask the same thing - I suggest *not* doing webapp anymore, leaving space for someone to implement it if they need it. -Bertrand

Re: Feature Launcher System in a Background Thread, where?

2020-01-08 Thread Andreas Schaefer
Looking into the Sling Feature Launcher I just realized that this is a Sling specific Launcher and so my point of making available to other FM application is mute. If I am not mistaken the best place to put the Demon process handling is the Framework Runner as the application is launched there

Re: Feature Launcher System in a Background Thread, where?

2020-01-09 Thread Robert Munteanu
On Wed, 2020-01-08 at 18:06 +0100, Bertrand Delacretaz wrote: > On Wed, Jan 8, 2020 at 5:59 PM Carsten Ziegeler > wrote: > > Do we still need to support the webapp case?.. > > I was going to ask the same thing - I suggest *not* doing webapp > anymore, leaving space for someone to implement it if

Re: Feature Launcher System in a Background Thread, where?

2020-01-13 Thread Andreas Schaefer
Hi So it turns out that the Sling Starter / Launcher Base is quite similar to the Feature Launcher and they works more or less the same with the exception that the Feature Launcher does not create a Control Socket to interact with the instance after launch. Anyhow the Sling Starter is not runni