Doc gen: fix database path for indexer
[scilab.git] / scilab / modules / helptools / src / java / org / scilab / modules / helptools / JarOnlyConverter.java
index b1925c0..1d192a0 100644 (file)
@@ -72,8 +72,7 @@ public class JarOnlyConverter extends ContainerConverter {
             Helpers.deleteDirectory(outputJavaHelp);
             File directory = new File(outputJavaHelp);
             directory.mkdirs();
-
-            String[] args = new String[] {"-nostopwords", "."};
+            String[] args = new String[] {"-db", outputJavaHelp + File.separator + "JavaHelpSearch", "-nostopwords", "."};
 
             indexer.compile(args);
         } catch (Exception e) {