lib/jasper-command-line/jasper.rb in jasper-command-line-0.3.5 vs lib/jasper-command-line/jasper.rb in jasper-command-line-0.4.0
- old
+ new
@@ -80,10 +80,9 @@
jasper_params.put @javaString.new('copy_number'), @javaString.new(copy.to_s)
jasper_print = @jasperFillManager.fillReport(jasper_file, jasper_params)
File.open(copy_file, 'wb') { |f| f.write @jasperExportManager._invoke('exportReportToPdf', 'Lnet.sf.jasperreports.engine.JasperPrint;', jasper_print) }
- # @jasperExportManager._invoke('exportReportToHtmlFile', 'Lnet.sf.jasperreports.engine.JasperPrint;Ljava.lang.String;', jasper_print, @javaString.new('./x.html'))
merge_pdf_command_line << " #{copy_file}"
created_files << copy_file
end
\ No newline at end of file