Reuse Jasper sub-reports across different projects [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Reuse Jasper sub-reports across different projects [duplicate]



This question already has an answer here:



I am trying to organize project structure inside my current workspace so that I could reuse common resources across multiple projects.



How can I use a report in a project as a sub-report within a different project but within the same workspace without having to use absolute path to the jrxml file? As shown in the screenshot, I am planning to use reports Rpt3.jrxml and Rpt4.jrxml in Project-B (which uses resources in Images directory within the same project) as sub-reports in Rpt1.jrxml and Rpt2.jrxml. I tried making use of Path Variables defined at the project level but those are not getting recognized within the expression editor.



enter image description here



Also could someone advice what would be best practice in this case where I need to reuse a bunch of reports as sub-reports in multiple projects.



Thanks.



This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

'Series' object is not callable Error / Statsmodels illegal variable name