Project

General

Profile

Patch #238 ยป servoy_jasperreports.patch

Patrick Talbot, 02/24/2011 02:45 PM

View differences:

servoy.properties (working copy)
1 1
# Change this to the path of the Servoy 4 installation where the plugin should be installed
2 2
# Note: do not check this file in with your path, the contents is just a template.
3
servoy = /path/to/servoy
3
servoy = c:/servoy/Servoy52
src/com/servoy/plugins/jasperreports/JasperReportsProvider.java (working copy)
609 609

  
610 610
	public void saveByteArrayToFile(String filename, byte[] buffertje)
611 611
			throws Exception {
612
		FileOutputStream fos = new FileOutputStream(filename);
613
		fos.write(buffertje);
614
		fos.flush();
615
		fos.close();
612
		if (filename != null && filename.trim().length() > 0) {
613
			FileOutputStream fos = new FileOutputStream(filename);
614
			fos.write(buffertje);
615
			fos.flush();
616
			fos.close();
617
		}
616 618
	}
617 619

  
618 620
	public boolean js_compileReport(String report) throws Error, Exception {
    (1-1/1)