Doc gen: fix database path for indexer 76/14176/3
Calixte DENIZET [Thu, 27 Mar 2014 16:00:29 +0000 (17:00 +0100)]
Change-Id: Ie69b9b70d11b7cff31033762e8c04b59796b27de

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) {