setIndexerLanguage(indexerLanguage);
setHtmlextension(htmlExtension);
- if(doStem.toUpperCase().trim().equals("TRUE") || doStem.toUpperCase().trim().equals("YES")) {
+ if( !doStem.toUpperCase().trim().equals("FALSE") && !doStem.toUpperCase().trim().equals("NO")) {
System.out.println("Stemming enabled");
setStem(true);
+ } else {
+ System.out.println("Stemming disabled");
+ setStem(false);
}
setTocfile(tocfile);
<java classname="com.nexwave.nquindexer.IndexerMain">
<sysproperty key="htmlDir" value="${output-dir}/content"/>
<sysproperty key="indexerLanguage" value="${webhelp.indexer.language}"/>
+ <sysproperty key="htmlExtension" value="${html.extension}"/>
<sysproperty key="doStem" value="${enable.stemming}"/>
<sysproperty key="tocFile" value="${toc.file}"/>
+
<classpath>
<path refid="classpath"/>
<pathelement location="/usr/share/java/xercesImpl.jar"/>