Author: vsiveton
Date: Tue Nov 13 06:08:42 2007
New Revision: 594544
URL: http://svn.apache.org/viewvc?rev=594544&view=rev
Log:
MCLEAN-25: Optionally don't delete the 'target ' directory
o don't apply patch, just add a new faq entry
Modified:
maven/plugins/trunk/maven-clean-plugin/src/site/fml/faq.fml
Modified: maven/plugins/trunk/maven-clean-plugin/src/site/fml/faq.fml
URL:
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clean-plugin/src/site/fml/faq.fml?rev=594544&r1=594543&r2=594544&view=diff
==============================================================================
--- maven/plugins/trunk/maven-clean-plugin/src/site/fml/faq.fml (original)
+++ maven/plugins/trunk/maven-clean-plugin/src/site/fml/faq.fml Tue Nov 13
06:08:42 2007
@@ -34,5 +34,21 @@
</p>
</answer>
</faq>
+ <faq id="On Windows, I got Unable to delete directory. What is wrong?">
+ <question>On Windows, I got <i>"Unable to delete directory"</i>. What is
wrong?</question>
+ <answer>
+ <p>
+ For instance, <i>clean</i> could fail if you already have opened a
command
+ line with target as the current dir. Windows lock some ressources
and you need
+ to close the handles on these ressources in <i>target</i> directory.
+ </p>
+ <p>
+ <a
href="http://www.microsoft.com/technet/sysinternals/default.mspx">Sysinternals</a>
produced
+ a number of utilities, like <a
href="http://www.microsoft.com/technet/sysinternals/Utilities/ProcessExplorer.mspx">Process
Explorer</a>
+ or <a
href="http://www.microsoft.com/technet/sysinternals/utilities/handle.mspx">Handle</a>
+ that help you to deal with windows handles.
+ </p>
+ </answer>
+ </faq>
</part>
</faqs>