Build documentation index
[deliverable/tracecompass.git] / doc / org.eclipse.tracecompass.doc.dev / build.xml
index e5b928dd939351b3267bf7bdf9c31286e5ff3cc6..d07ccc8f643ef89018682672efd1bc7370c28633 100644 (file)
@@ -4,7 +4,7 @@
         Generate Eclipse help content for the Trace Compass Developer Guide
     </description>
 
-   <property name="ug.title" value="Trace Compass Developer Guide" />
+    <property name="document.title" value="Trace Compass Developer Guide" />
 
     <path id="wikitext.tasks.classpath">
         <!-- Search in the local Eclipse plugins directory for the Wikitext plugin -->
         <pathelement path="${compile_classpath}" />
     </path>
 
-    <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/internal/wikitext/mediawiki/core/tasks/tasks.properties" />
-    <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/util/anttask/tasks.properties" />
-    <!-- Different location in more recent versions of Mylyn (Luna ?) -->
     <taskdef classpathref="wikitext.tasks.classpath" resource="org/eclipse/mylyn/wikitext/core/ant/tasks.properties" />
 
-    <target name="build" description="Generate Eclipse help content for the Linux Tools TMF Developer Guide">
+    <target name="build" description="Generate Eclipse help content for the Trace Compass Developer Guide">
         <wikitext-to-eclipse-help markupLanguage="MediaWiki"
             validate="true"
             failonvalidationerror="true"
             overwrite="true"
             multipleOutputFiles="true"
             navigationimages="true"
-            title="${ug.title}"
+            title="${document.title}"
             formatoutput="true"
             helpPrefix="doc">
             <fileset dir="doc">
@@ -49,7 +46,7 @@
             <fileset dir="doc">
                 <include name="**/*.html" />
             </fileset>
-            <dtd publicid="-//W3C//DTD XHTML 1.0 Transitional//EN" location=".empty.dtd" />
+            <dtd publicid="-//W3C//DTD XHTML 1.0 Transitional//EN" location="../.empty.dtd" />
         </xmlvalidate>
     </target>
 
@@ -60,4 +57,7 @@
       </delete>
     </target>
 
+    <target name="build.index" description="Builds search index for the plug-in" if="eclipse.running">
+      <help.buildHelpIndex manifest="${basedir}/plugin.xml" destination="${basedir}" />
+    </target>
 </project>
This page took 0.026541 seconds and 5 git commands to generate.