Webhelp build fails on indexing
Posted: Wed Nov 23, 2016 11:51 pm
I just downloaded 18.1 2016102619 to try it out, and I get a failure when building webhelp. It's not clear to me that the indexertask error is what's causing the build fail, but there are no other error messages before it. I'm building a fairly long Docbook document. I don't see this error in version 18.0.
webhelp-index:
[echo] Indexing html files in /Users/benspendlove/xmlout/mobius-help/generic/2016.41, indexer language is: en
[indexertask] Cannot find scoring file: ./indexer/scoring.properties. Using flat scoring model.
[indexertask] Properies dir is null and scoring properties are not available in 'etc' in the java resources!
BUILD FAILED
/Applications/oxygen/frameworks/docbook/xsl/com.oxygenxml.webhelp/build_common.xml:282: java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer
at ro.sync.exml.indexer.IndexerTask.execute(IndexerTask.java:211)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.analysis.Analyzer
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 17 more