[
http://jira.codehaus.org/browse/MCLEAN-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joern Huxhorn updated MCLEAN-25:
--------------------------------
Attachment: clean-patch.patch
A patch that implements the desired functionality.
> Optionally don't delete the 'target ' directory
> ------------------------------------------------
>
> Key: MCLEAN-25
> URL: http://jira.codehaus.org/browse/MCLEAN-25
> Project: Maven 2.x Clean Plugin
> Issue Type: New Feature
> Reporter: Joern Huxhorn
> Attachments: clean-patch.patch
>
>
> Would it be possible to add an option to the clean-plugin so only the content
> of the target folder(s) are deleted but not the directory itself?
> This would help developers using windoze quite a lot since:
> - clean fails if you happen to have opened a command line with target as the
> current dir.
> - windoze closes explorer windows pointing to deleted directories, so you
> have to reopen the windows after a clean install
> Those problems would both be solved by an option like deleteRoot=false or
> something.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira