tmf: Tell Maven to clean the documentation too
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 19 Feb 2013 13:15:37 +0000 (08:15 -0500)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 20 Feb 2013 22:02:32 +0000 (17:02 -0500)
Change-Id: Iee96f5717a666c45bc79fb32e861067bf286f39c
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/10469
Tested-by: Hudson CI
Reviewed-by: Bernd Hufmann <bhufmann@gmail.com>
IP-Clean: Bernd Hufmann <bhufmann@gmail.com>
Tested-by: Bernd Hufmann <bhufmann@gmail.com>
org.eclipse.linuxtools.tmf.help/build.xml
org.eclipse.linuxtools.tmf.help/pom.xml

index cadc6be3fb58c3df81c77edfed9424f2c5300203..d86873f5991f8b6572bf09e6485a682e0caa79e0 100644 (file)
@@ -39,7 +39,7 @@
             </fileset>
             <stylesheet url="book.css" />
         </wikitext-to-eclipse-help>
-    <antcall target="test" />
+        <antcall target="test" />
     </target>
 
    <target name="test" description="Verify that all of the HTML files are well-formed XML">
@@ -56,7 +56,7 @@
     </target>
 
     <target name ="clean" description="Delete all generated files">
-      <delete>
+      <delete failonerror="false">
         <fileset dir="doc" includes="**/*.html" />
         <fileset dir="doc" includes="**/*.xml" />
       </delete>
index a7e681fc3303618c4e9690a7f6fec0c70caac9b6..cf1656b5cac9a23b1f84229542378bdd970381c3 100644 (file)
@@ -28,7 +28,6 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-antrun-plugin</artifactId>
-        <version>1.6</version>
         <executions>
           <execution>
             <id>generate-documentation</id>
               <goal>run</goal>
             </goals>
           </execution>
+          <execution>
+            <id>clean-documentation</id>
+            <phase>clean</phase>
+            <configuration>
+              <echo>Cleaning up generated TMF Help Files</echo>
+              <tasks>
+                <ant target="clean" antfile="build.xml" />
+              </tasks>
+            </configuration>
+            <goals>
+              <goal>run</goal>
+            </goals>
+          </execution>
         </executions>
 
         <dependencies>
This page took 0.025591 seconds and 5 git commands to generate.