You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Robert Munteanu <ro...@apache.org> on 2016/05/23 14:06:19 UTC

[slingstart] Artifacts with multiple runmodes

Hi,

Is something like

[artifacts startLevel=15 runModes=oak_mongo,oak_mongo_mpx]
����org.mongodb/mongo-java-driver/2.14.0

expected to work?

In my experiments, the file is placed in the jar file at

� resources/install.oak_mongo.oak_mongo_mpx/15/mongo-java-driver-
2.14.0.jar

but is not installed as a bundle in either of the run modes. Of course,
reverting to a single run mode works.

Robert

Re: [slingstart] Artifacts with multiple runmodes

Posted by Robert Munteanu <ro...@apache.org>.
On Mon, 2016-05-23 at 16:15 +0200, Carsten Ziegeler wrote:
> Robert Munteanu wrote
> > Hi,
> > 
> > Is something like
> > 
> > [artifacts startLevel=15 runModes=oak_mongo,oak_mongo_mpx]
> > ����org.mongodb/mongo-java-driver/2.14.0
> > 
> > expected to work?
> > 
> > In my experiments, the file is placed in the jar file at
> > 
> > � resources/install.oak_mongo.oak_mongo_mpx/15/mongo-java-driver-
> > 2.14.0.jar
> > 
> > but is not installed as a bundle in either of the run modes. Of
> > course,
> > reverting to a single run mode works.
> > 
> Both run modes must be active. If you want the same artifact in two
> run
> modes, then you have to list it twice.

Ah, I see.

Thanks,

Robert

Re: [slingstart] Artifacts with multiple runmodes

Posted by Carsten Ziegeler <cz...@apache.org>.
Robert Munteanu wrote
> Hi,
> 
> Is something like
> 
> [artifacts startLevel=15 runModes=oak_mongo,oak_mongo_mpx]
>     org.mongodb/mongo-java-driver/2.14.0
> 
> expected to work?
> 
> In my experiments, the file is placed in the jar file at
> 
>   resources/install.oak_mongo.oak_mongo_mpx/15/mongo-java-driver-
> 2.14.0.jar
> 
> but is not installed as a bundle in either of the run modes. Of course,
> reverting to a single run mode works.
> 
Both run modes must be active. If you want the same artifact in two run
modes, then you have to list it twice.

Regards
Carsten

 
-- 
Carsten Ziegeler
Adobe Research Switzerland
cziegeler@apache.org

Re: [slingstart] Artifacts with multiple runmodes

Posted by Oliver Lietz <ap...@oliverlietz.de>.
On Monday 23 May 2016 17:06:19 Robert Munteanu wrote:
> Hi,

hi Robert,

> Is something like
> 
> [artifacts startLevel=15 runModes=oak_mongo,oak_mongo_mpx]
>     org.mongodb/mongo-java-driver/2.14.0
> 
> expected to work?
> 
> In my experiments, the file is placed in the jar file at
> 
>   resources/install.oak_mongo.oak_mongo_mpx/15/mongo-java-driver-
> 2.14.0.jar
> 
> but is not installed as a bundle in either of the run modes. Of course,
> reverting to a single run mode works.

that means both run modes must be active, no?

Regards,
O.

> Robert