ACS commons versioned clientlibs | Community
Skip to main content
New Participant
January 13, 2020
Solved

ACS commons versioned clientlibs

  • January 13, 2020
  • 2 replies
  • 5184 views

Hi All, 

I am implementing versioned clientlibs in my project and came accross the below article

https://adobe-consulting-services.github.io/acs-aem-commons/features/versioned-clientlibs/index.html
The config i place has a 5 level depth unlike 4 level depth mentioned in article.
 Note that the configuration node must be inside a four-level path that ends in config/rewriter.
May I know why this should be 4 level path in order to work. What can be done to make it work on 5 level path.

@14414417  @antoniom5495929  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by aemmarc2

The JCR Installer (by default) only looks 4 levels deep.

 

You need to make an OSGI config change to max.depth to get to the 5th level.

 

2 replies

arunpatidar
New Participant
January 15, 2020

Hi,

I am not sure why is this restricted but I am just guessing, it may be because of overlay from libs to apps 

/libs/cq/config/rewriter/default 

/apps/myapp/config/rewriter/versioned-clientlibs

Since there is no specific node type to define rewriter, so it could be a path which used to look for all the rewrite configs.

 

There may be another reasons as well.

Arun Patidar
aemmarc2Accepted solution
Employee
January 13, 2020

The JCR Installer (by default) only looks 4 levels deep.

 

You need to make an OSGI config change to max.depth to get to the 5th level.

 

tahir1601Author
New Participant
January 14, 2020
I tried this and set it up to 5, but it doesnt seem to work.Unable to see the path in sling rewriter. The path where my config resides goes like this '/apps/infy/jdelafon/config/rewriter/versioned-clientlibs' . Is there any other change I need to make to make it work?