You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/09/10 18:25:14 UTC
DO NOT REPLY [Bug 23070] New: -
Delete task can't delete a directory based on a name pattern
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23070>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23070
Delete task can't delete a directory based on a name pattern
Summary: Delete task can't delete a directory based on a name
pattern
Product: Ant
Version: 1.5.4
Platform: All
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: scott.stirling@workscape.com
Use case: Weblogic has an EJB-related temp dir that get generated at startup
and is kept under the domain home, when and if deploying EJB jars. This temp
dir should be deleted between server restarts in development mode, along with
some other dirs that cache generated and unpacked J2EE component archives
between restarts. It's just the surest way to avoid caching problems with J2EE
components when working with Weblogic.
The name is generateed based on some attributes of the local machine name and
the current Weblogic server instance, e.g., tmp_ejbmyhostname27001myserver.
To make a long story short: it would be nice in a team environment to be able
to delete variabley-named directories like this with a shared clean target.
But the delete task does not support any way to delete a directory by name
pattern, as it does with files and fileset includes/excludes. This would be
useful in other contexts, but the Weblogic use case is a real one.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org