Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
I have an osgi config which exists both in config.author and config.dev. And here is the run mode of my AEM server Run Modes = [dev-est, dev, crx3, author]. I am noticing that config.author OSGI is getting picked up before config.dev. I thought config.dev should take precedence over config.author but that’s not the case. When I delete config.author config, then only config.dev gets picked up. Can somebody explain this, please?
Run Modes = [dev-est, dev, crx3, author].
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
Hi Karanmahi,
I think the comparison of the OSGi configs will come down to a lexicographically string comparison and config.author is given preference than config.dev.
Try creating another run mode config.foo and remove config.author then config.dev should be given precedence than config.foo
Hope it clarifies your question.
Zugriffe
Antworten
Likes gesamt
Hi,
Run modes will resolve in below order
Refer Run Modes for more details
You should define folder like config.author.dev and config.author in order to pickup dev configuration as there are two names which are matching (author and dev). It will pickup more matching folder first.
Zugriffe
Antworten
Likes gesamt
Hi Ravi,
I got the final run-mode mode from this url - http://localhost:4502/system/console/status-slingsettings which is [dev-est, dev, crx3, author]. Still, I don't understand why config.author OSGI is getting picked up before config.dev. I thought config.dev should take precedence over config.author but that’s not the case. My simple question is if I have only two run modes config.author and config.dev, which one should be picked up first and why?
Zugriffe
Antworten
Likes gesamt
Hi Karanmahi,
I think the comparison of the OSGi configs will come down to a lexicographically string comparison and config.author is given preference than config.dev.
Try creating another run mode config.foo and remove config.author then config.dev should be given precedence than config.foo
Hope it clarifies your question.
Zugriffe
Antworten
Likes gesamt
Great answer!
Zugriffe
Antworten
Likes gesamt
Zugriffe
Antworten
Likes gesamt
Zugriffe
Likes
Antworten
Zugriffe
Likes
Antworten