Doc gen: fix database path for indexer 33/14233/5
Vincent COUVERT [Sun, 30 Mar 2014 17:04:56 +0000 (19:04 +0200)]
This reverts commit ab43ddfac3ab40b8a021dbfa35e3b815e1f27230.

Change-Id: I36fb4ebcb23412d7071037a8d43789de18bacf39

scilab/modules/helptools/src/java/org/scilab/modules/helptools/JarOnlyConverter.java

index b1925c0..2e2114d 100644 (file)
@@ -72,8 +72,9 @@ public class JarOnlyConverter extends ContainerConverter {
             Helpers.deleteDirectory(outputJavaHelp);
             File directory = new File(outputJavaHelp);
             directory.mkdirs();
+            String jhs = new File(outputJavaHelp).getAbsolutePath();
 
-            String[] args = new String[] {"-nostopwords", "."};
+            String[] args = new String[] {"-db", jhs, "-nostopwords", "."};
 
             indexer.compile(args);
         } catch (Exception e) {