]> granicus.if.org Git - docbook-dsssl/commitdiff
Changed the webhelp build.xml to reflect the changes to xsl-webhelpindexer.
authorKasun Gajasinghe <kasunbg@gmail.com>
Sat, 26 Mar 2011 10:03:03 +0000 (10:03 +0000)
committerKasun Gajasinghe <kasunbg@gmail.com>
Sat, 26 Mar 2011 10:03:03 +0000 (10:03 +0000)
Added classpaths for xercesImpl and xml-api jars to the indexer. Paths added for *nix environments, need to look at how the current system behaves in Windows. Discussion: http://lists.oasis-open.org/archives/docbook-apps/201011/msg00116.html

xsl/webhelp/build.xml

index c9358b1f2beec00858a952c2c3e62b7d4b1f9a55..9abe3d4af39bc784094cbe9b94798d81ee7237dd 100755 (executable)
                <include name="**/content/search/stemmers/${webhelp.indexer.language}_stemmer.js"/>
          </fileset>
        </copy>
-       <taskdef name="indexertask"
-         classname="com.nexwave.nquindexer.IndexerTask">
+
+       <!--taskdef name="indexertask"
+         classname="com.nexwave.nquindexer.IndexerMain">
          <classpath refid="classpath"/>
-       </taskdef>
+       </taskdef-->
 
        <echo>Indexing html files in ${output-dir}/content</echo>
 
-       <indexertask htmldir="${output-dir}/content" indexerLanguage="${webhelp.indexer.language}"/>
+       <java classname="com.nexwave.nquindexer.IndexerMain"> 
+        <arg value="${output-dir}/content"/>
+        <arg value="${webhelp.indexer.language}"/>     
+         <classpath>
+           <path refid="classpath"/>
+           <pathelement location="/usr/share/java/xercesImpl.jar"/>    
+           <pathelement location="/usr/share/java/xml-apis.jar"/>       
+         </classpath>
+       </java> 
+       <!--indexertask htmldir="${output-dir}/content" indexerLanguage="${webhelp.indexer.language}"/-->
 
        <delete>
          <fileset dir="${output-dir}/content/search" includes="*.props"/>