To complement the post.
this process is launched in the HC:
- Code: Select all
_temp_file = plugins.file.createTempFile('NameTempFile', '.pdf')
_athacthment = _temp_file.getParent() + '/Entity.pdf'
_report = plugins.jasperPluginRMI.runReport(foundset, 'Entity.jrxml', _athacthment , 'pdf', null, null)
It should create a file path '_temp_file' with the name 'Entity.pdf'
It work properly in Servoy 6.0.5 server with Java 6 (build 1.6.0_31-b05) ,windows 7
but not on a Debian Linux 6.0 with Servoy 6.0.4.
In linux creates the temporary file 'NameTempFile' properly and when launch 'plugins.jasperPluginRMI.runReport' doesn't create the file named 'Entity.pdf'
The temporary folder in linux is read and write permissions enabled.
Please anyone know what could be the problem?
Thanks in advanced