Jump to content

numeron

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Forum

Downloads

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Events

Profiles

Everything posted by numeron

  1. I have a standalone application, and one of its duties is to take the path of a jrxml file and compile it. I can do this without problem until a report with a subreport comes up, where the compilation of the master does not compile any of its children, resulting in a subreport *.jasper file not found later down the track. Is there any way to 1) Set the JasperCompileManager to automatically pick up subreports? 2) Get a list of paths to subreports contained within either a JasperDesign or JasperReport object? I have no direct access to the jrxml files, so modifying the reports to suit the compile method is not an option, nor is applying any standard naming scheme to infer which subreports belong to which reports. There is a similar problem here: http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=40683 where a JRVisitor is used to produce a list of JRSubreport objects, however there is no explanation of how to use this to get a path to the subreport in order to compile it and recursively look for subreports of subreports, and I cant figure it out.
×
×
  • Create New...