Bug 111044 - ant clean doesn't remove all directories from $CCM_WEB_HOME/webapps
Summary: ant clean doesn't remove all directories from $CCM_WEB_HOME/webapps
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: dev environment   
(Show other bugs)
Version: nightly
Hardware: All Linux
Target Milestone: ---
Assignee: Dennis Gregorovic
QA Contact: Jon Orris
Depends On:
Blocks: 109665
TreeView+ depends on / blocked
Reported: 2003-11-26 17:44 UTC by Daniel Berrange
Modified: 2007-04-18 16:59 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-12-03 20:01:58 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Daniel Berrange 2003-11-26 17:44:49 UTC
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
* ROOT is shared, so again more than just that application's files are
* 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

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:

Comment 1 Dennis Gregorovic 2003-11-26 22:44:01 UTC

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