Manually modifying the package and re-uploading

Avatar

Avatar
Validate 10
Level 3
vitis90
Level 3

Likes

20 likes

Total Posts

57 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
vitis90
Level 3

Likes

20 likes

Total Posts

57 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
vitis90
Level 3

28-11-2017

Hi all,

I have a requirement where I have to download a dam package, extract it and add more images through windows explorer, re-zip it and upload the package again. However, AEM rejects any package which is compressed manually saying 'missing JCR_ROOT'. Even if i dont change any content, AEM still rejects packages which are zipped manually. Is there any workaround for it? Our use-case is to have the author add more images in the folders, re-zip it and upload again, as this reduces authoring time.

zip.PNG

View Entire Topic

Avatar

Avatar
Validate 1
Level 3
bobkranson
Level 3

Likes

8 likes

Total Posts

68 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 3
bobkranson
Level 3

Likes

8 likes

Total Posts

68 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
bobkranson
Level 3

28-11-2017

Use 7-Zip to add to the archive.  It has been my experience with other 'jar' archives that Windows or other 'zip' technologies can change the file signatures.  7-Zip has always allowed me to add things without breaking the archive.  Please post your result if you use 7-zip.

By the way, if you repackage with 'jar' and use '-cvMf', you must use a capital 'M' to preserve existing META-INF.  The small 'm' means something else....