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 <sling jar file>’.

Right, good point. So basically we need code that

- creates an executable jar file from a set of feature model files
- creates a WAR file from a set of feature model files
- matches the launch behaviour of the current Sling Starter 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).

Can we use forking instead? Alternatively, we need to review and update
the feature launcher to be more embeddable. Not sure if there is
anything to be done besides extracting a class that takes arguments out
of the current main class.

Thanks,
Robert


- Andy

On Jan 8, 2020, at 6:31 AM, Robert Munteanu <[email protected]>
wrote:

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
the sling starter?

Thanks,
Robert

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.

What do you think?

- Andy


--
--
Carsten Ziegeler
Adobe Research Switzerland
[email protected]

Reply via email to