Bug 751237 - Allow purge to run ant task in recipe to do custom actions
Summary: Allow purge to run ant task in recipe to do custom actions
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: Provisioning
Version: 3.0.0 Beta1
Hardware: All
OS: Linux
high
high vote
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-04 00:46 UTC by Nabeel Saad
Modified: 2022-03-31 04:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Nabeel Saad 2011-11-04 00:46:10 UTC
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:


Note You need to log in before you can comment on or make changes to this bug.