We don't create the jar when building the online help or the PDF 91/8491/2
Sylvestre Ledru [Thu, 2 Aug 2012 13:47:31 +0000 (15:47 +0200)]
Change-Id: I991fe1bebae8e27abedd5dbd84146482be491587

scilab/modules/helptools/macros/xmltoformat.sci

index b261ef1..8f3cff7 100644 (file)
@@ -511,7 +511,11 @@ function generated_files = xmltoformat(output_format,dirs,titles,directory_langu
         fileToExec = buildDocv2(output_format,modules_tree("master_document"), my_wanted_language);
         if fileToExec ~= [] then
             exec(fileToExec, -1);
-           buildDocv2("jar-only",modules_tree("master_document"), my_wanted_language);
+            if output_format == "javaHelp" then
+              // We don't create the jar when building the online help
+              // or the PDF
+              buildDocv2("jar-only",modules_tree("master_document"), my_wanted_language);
+            end
         end
 
         // Check if the help file has been generated