Description of problem: The ant 'clean' task calls clean-deploy-[appname] on each app listed in project.xml. This will delete from the WEB-INF/lib and either ROOT/ or [appname]] directories. There are a number of problems with this: * WEB-INF/lib is shared, so it causes other application's files to be removed * ROOT is shared, so again more than just that application's files are remove. * If you change the webapp that an application is deployed to, run ccm-configure.sh & then run 'ant clean' the old deployment directory will never be cleaned up The per-application clean-deploy-XXX targets should just be combined into a single 'clean-deploy' target that removes the entirity of $CCM_WEB_HOME/webapps. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Deploy an app into a webapp called 'myapp' 2. Change application.xml setting webapp to 'ROOT' 3. Run ccm-configure.sh 4. Run ant clean Actual results: $CCM_WEB_HOME/webapps/mywapp is not removed Expected results: Entirity of $CCM_WEB_HOME/webapps is removed Additional info:
@38337