Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!
SOLVED

How to rebuild same package programmatically ?

Avatar

Level 2

How we can rebuild same package using java any example ?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Rebuild an existing package in CQ
        curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/name_of_package.zip?cmd=build



Arun Patidar

View solution in original post

3 Replies

Avatar

Community Advisor

Avatar

Community Advisor

@pratikshah There is an excellent MCP use case on this topic. 

https://kiransg.com/tag/mcp/

 

Avatar

Correct answer by
Community Advisor

Rebuild an existing package in CQ
        curl -u admin:admin -X POST http://localhost:4502/crx/packmgr/service/.json/etc/packages/name_of_package.zip?cmd=build



Arun Patidar