You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by vs...@apache.org on 2007/11/29 13:43:29 UTC

svn commit: r599421 - in /maven/plugins/trunk/maven-clean-plugin/src/site: apt/examples/delete_additional_files.apt apt/examples/ignoring-errors.apt apt/examples/skipping-clean.apt fml/faq.fml site.xml

Author: vsiveton
Date: Thu Nov 29 04:43:28 2007
New Revision: 599421

URL: http://svn.apache.org/viewvc?rev=599421&view=rev
Log:
o minor documentation updates

Modified:
    maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/delete_additional_files.apt
    maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/ignoring-errors.apt
    maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/skipping-clean.apt
    maven/plugins/trunk/maven-clean-plugin/src/site/fml/faq.fml
    maven/plugins/trunk/maven-clean-plugin/src/site/site.xml

Modified: maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/delete_additional_files.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/delete_additional_files.apt?rev=599421&r1=599420&r2=599421&view=diff
==============================================================================
--- maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/delete_additional_files.apt (original)
+++ maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/delete_additional_files.apt Thu Nov 29 04:43:28 2007
@@ -35,25 +35,25 @@
 +--------
 <build>
   [...]
-    <plugin>
-      <artifactId>maven-clean-plugin</artifactId>
-      <configuration>
-        <filesets>
-          <fileset>
-            <directory>some/relative/path</directory>
-            <includes>
-              <include>**/*.tmp</include>
-              <include>**/*.log</include>
-            </includes>
-            <excludes>
-              <exclude>**/important.log</exclude>
-              <exclude>**/another-important.log</exclude>
-            </excludes>
-            <followSymlinks>false</followSymlinks>
-          </fileset>
-        </filesets>
-      </configuration>
-    </plugin>
+  <plugin>
+    <artifactId>maven-clean-plugin</artifactId>
+    <configuration>
+      <filesets>
+        <fileset>
+          <directory>some/relative/path</directory>
+          <includes>
+            <include>**/*.tmp</include>
+            <include>**/*.log</include>
+          </includes>
+          <excludes>
+            <exclude>**/important.log</exclude>
+            <exclude>**/another-important.log</exclude>
+          </excludes>
+          <followSymlinks>false</followSymlinks>
+        </fileset>
+      </filesets>
+    </configuration>
+  </plugin>
   [...]
 </build>
 +---------

Modified: maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/ignoring-errors.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/ignoring-errors.apt?rev=599421&r1=599420&r2=599421&view=diff
==============================================================================
--- maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/ignoring-errors.apt (original)
+++ maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/ignoring-errors.apt Thu Nov 29 04:43:28 2007
@@ -28,7 +28,7 @@
 
 Ignoring Clean Errors
 
-  To ignore errors when running the cleanup for a particular project, set the failOnError property to false.
+  To ignore errors when running the cleanup for a particular project, set the <<<failOnError>>> property to false.
 
 +--------
 <build>

Modified: maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/skipping-clean.apt
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/skipping-clean.apt?rev=599421&r1=599420&r2=599421&view=diff
==============================================================================
--- maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/skipping-clean.apt (original)
+++ maven/plugins/trunk/maven-clean-plugin/src/site/apt/examples/skipping-clean.apt Thu Nov 29 04:43:28 2007
@@ -28,7 +28,7 @@
 
 Skipping Clean
 
-  To skip running the cleanup for a particular project, set the skip property to true.
+  To skip running the cleanup for a particular project, set the <<<skip>>> property to true.
 
 +--------
 <build>

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=599421&r1=599420&r2=599421&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 Thu Nov 29 04:43:28 2007
@@ -34,13 +34,15 @@
         </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>
+    <faq id="On Windows, I got Unable to delete directory. What s wrong?">
+      <question>On Windows, I got <i>"Unable to delete directory"</i>. What's 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
+          line with target as the current dir. Windows locks some ressources and you need
           to close the handles on these ressources.
+          To skip these errors, you could call <i>clean</i> with the command line parameter <i>-Dmaven.clean.failOnError=false</i>.
+          For more information, refer to <a href="./examples/ignoring-errors.html">Ignoring Errors</a> page.
         </p>
         <p>
           <a href="http://www.microsoft.com/technet/sysinternals/default.mspx">Sysinternals</a> produced

Modified: maven/plugins/trunk/maven-clean-plugin/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-clean-plugin/src/site/site.xml?rev=599421&r1=599420&r2=599421&view=diff
==============================================================================
--- maven/plugins/trunk/maven-clean-plugin/src/site/site.xml (original)
+++ maven/plugins/trunk/maven-clean-plugin/src/site/site.xml Thu Nov 29 04:43:28 2007
@@ -28,9 +28,9 @@
       <item name="FAQ" href="faq.html"/>
     </menu>
     <menu name="Examples">
+      <item name="Delete Additional Files" href="examples/delete_additional_files.html"/>
       <item name="Skipping Clean" href="examples/skipping-clean.html"/>
       <item name="Ignoring Errors" href="examples/ignoring-errors.html"/>
-      <item name="Delete Additional Files" href="examples/delete_additional_files.html"/>
     </menu>
   </body>
 </project>