Questions Tagged With birthttps://answers.axonivy.com/tags/birt/?type=rss&user=nvhuongquestions tagged <span class="tag">birt</span>enWed, 17 Dec 2014 11:37:19 -0500How to ignore the file path in birt.properties even when "designRepository" is defined?https://answers.axonivy.com/questions/1094/how-to-ignore-the-file-path-in-birt-properties-even-when-designrepository-is-defined<p>In my module, I use element "Create report with database" on Axon.ivy 5.1. I don't use "designRepository" in birt.properties so that I can define my own absolutely path. Like this:</p> <ol> <li> <p>Disable the configuration in birt.properties: </p> <p>"#designRepository=C:/MyReportRepo/"</p> </li> <li> <p>declare the path to report design files (.rptdesign) in my code: </p> <p>in.templateFilename = "E:/_vision/CONFIG/myReportDesign"</p> </li> </ol> <p>I am facing a problem when I've tried to integrate my module with another one which needs to define "designRepository" in birt.properties. It means that the another module needs to activate the configuration, like this:</p> <pre><code>designRepository=C:/MyReportRepo/ </code></pre> <p>In this case, I got an exception:</p> <pre><code>EngineException: The design file C:/MyReportRepo//E:/_vision/CONFIG/myReportDesign.rptdesign can not be found. </code></pre> <p>Until now, I've tried to find the way to get and modify the defined path. I mean I would try to ignore this "C:/MyReportRepo//" when it is activated, so that hope both mentioned modules can work. </p> <p>I also try using element "Create dynamic report" instead but the demo doesn't work. I referenced this link: <a href="https://guidelines.soreco.ch/projects/guides/wiki/BIRT">https://guidelines.soreco.ch/projects/guides/wiki/BIRT</a> </p> <p>Any help will be greatly appreciated!</p>nvhuongWed, 17 Dec 2014 11:37:19 -0500https://answers.axonivy.com/questions/1094/how-to-ignore-the-file-path-in-birt-properties-even-when-designrepository-is-definedbirt