Uninstall all parts of an application
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 :-
- Uninstall and delete packages using Package Manager
- Delete any OSGI bundles from apps/myapp/install
- Delete apps/myapp
- 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.