Our dispatcher has the configuration broken out into separate .any files, like the WKND does (https://github.com/adobe/aem-guides-wknd/tree/main/dispatcher). Is there a way to compile/assemble all of them into one file for debugging? We have about 30 files so it would take a while to combine manually.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @AEM_Dan ,
there is no out-of-box way to combine those files. It is recommended to keep the files separated for proper segregation/readability. However, if you would like to combine them into one file, you will have to write a custom script that will do the job for you. You can use dispatcher optimizer tool to validate post merge - https://github.com/adobe/aem-dispatcher-optimizer-tool
Hi @AEM_Dan ,
there is no out-of-box way to combine those files. It is recommended to keep the files separated for proper segregation/readability. However, if you would like to combine them into one file, you will have to write a custom script that will do the job for you. You can use dispatcher optimizer tool to validate post merge - https://github.com/adobe/aem-dispatcher-optimizer-tool
Thanks for the reply. That is unfortunate. After reviewing the files, it's even more complex than I thought so combining them manually won't even be possible. I may write a script to do this as you suggested. If I do, I'll share here.
Views
Replies
Total Likes