[ 
http://jira.codehaus.org/browse/MCLEAN-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_113815
 ] 

Joern Huxhorn commented on MCLEAN-25:
-------------------------------------

This isn't a windows handler problem but a windows "feature". You can't delete 
a directory that is the current directory of a cmd-console.

The real problem is that clean fails if it can't delete a root directory.

I don't know about any other handler problems that this patch doesn't fix but I 
just can't see whats so bad about my suggestion.

> 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
>            Assignee: Vincent Siveton
>             Fix For: 2.2
>
>         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

        

Reply via email to