Red Hat Bugzilla – Bug 751237
Allow purge to run ant task in recipe to do custom actions
Last modified: 2015-11-01 19:56:42 EST
Description of problem: It would be great (as a feature request), to allow the purge button to also access the recipe.xml and to do the typical purge action of deleting everything, but to also have a pre/post purge ant target that it can run. For example, if my bundle has a JBoss server, I would want to shutdown the server in the pre-purge (via my recipe), then have the purge just delete all the files.. and finally maybe remove a symbolic link in the post-purge. This would allow for a lot cleaner systems along with a lot more flexibility and hopefully without too much hassle given that the deploy already has this built in. Version-Release number of selected component (if applicable): 3.0 GA -- I can help test if it goes into beta How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: