내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

I want to replace the repoinit script in the AEM instance each and every time of the deployment.

Avatar

Level 4

I've created a repo-init script in my code base and I saw that it will be adding or modifying the changes in the instance while deployment but I removed some lines from the script and it's not reflected there. Is it possible to replace the entire repoinit script with new rules? Is there any filter mode( <filter mode="replace" />) option available?

 

Hopefully, someone can give me some suggestions. thanks

Thanks

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee Advisor

When you have a custom repoinit script as part of your deployment, you should be able to update it and the updated version will be deployed and used. The old version should not stick around.

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Community Advisor

Hi,

Ideally repoinit scripts would be based on environments.

So where did you place your config.

Can you check the filter for that folder in filter.xml and share with us the details.

 

Regards

 

Ankur

 

Avatar

Level 10

Hi @Jerin,

 

May i know which usecase with repo init is not getting replaced after each deployment.

Avatar

정확한 답변 작성자:
Employee Advisor

When you have a custom repoinit script as part of your deployment, you should be able to update it and the updated version will be deployed and used. The old version should not stick around.