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

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

Mark Solution

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

해결됨

Uninstall all parts of an application

Avatar

이전 커뮤니티 멤버

Whats the easiest (and more reliable/repeatable) way of removing all parts of an application from AEM. I mean, everything under apps, content, etc, var, ...

I find myself doing this quite a lot recently (while I'm developing some dev tooling) and typically I do something like :-

  1. Uninstall and delete packages using Package Manager
  2. Delete any OSGI bundles from apps/myapp/install
  3. Delete apps/myapp
  4. Delete content/myapp

But if I then run a query using 'myapp' I will find more stuff in etc/designs/myapp, and in /var/classes/org/apache/jsp/apps/myapp, and then a whole bunch of audit entries and yet more under linkchecker ... and so on

It would be great to have a script or something similar to remove all trace in one go.

Any suggestions ?

Kind Regards

Fraser.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 4

I can suggest to manually remove all resources which related to your application.
After this create package with filters to resources which were removed on previous step.
When you need to remove all parts of an application, you can install this package.

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Level 10

It may be something that can be written using a custom script - but out of the box -- i have not found documentation or scripts for this use case. 

Avatar

정확한 답변 작성자:
Level 4

I can suggest to manually remove all resources which related to your application.
After this create package with filters to resources which were removed on previous step.
When you need to remove all parts of an application, you can install this package.

Avatar

Level 8

Popov555 wrote...

I can suggest to manually remove all resources which related to your application.
After this create package with filters to resources which were removed on previous step.
When you need to remove all parts of an application, you can install this package.

 

I think using packages is the way to go as well. http://docs.adobe.com/docs/en/aem/6-0/administer/content/package-manager.html

scott