Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
resource folder
arnaudcz
Hi,
I have already find how to set a resource folder for the Birt Viewer or the Designer, but not for the Report Engine.
Without this setting, the rep birt-runtime-2_3_0ReportEngine is the resource folder but i want to change it.
Does anyone know how to configure the resource folder for the Report Engine?
Thanks
Find more posts tagged with
Comments
JasonW
Use the EngineConfig.setResourcePath method
config = new EngineConfig( );
config.setBIRTHome("C:birtbirt-runtime-2_3_2birt-runtime-2_3_2ReportEngine");
config.setLogConfig(null, Level.FINE);
config.setResourcePath("C:workworkspaces2.3.2workspacesBIRT -DE RE API SamplesAPIsresource");
Jason
arnaudcz
Thank you for your quick response, but actually i haven't integrated the Birt Runtime into a Java application.
I'm just using batch or shell to launch a Java command on the Report Engine.
I think i will use the birt-runtime-2_3_0ReportEngine folder which is the default resource folder.
Thanks.
JasonW
The default resource folder should be wherever you run the report from if you do not set it explicitly.
Jason
arnaudcz
OK,
i'll put my .bat and .sh into the folder i want to use for resource folder.
Thanks.