Setting relative classpath for BIRT POJO Datasource in rptdesignfile [message #1799597] |
Mon, 10 December 2018 19:15 |
sarayu br Messages: 3 Registered: October 2018 |
Junior Member |
|
|
In the .rptdesign file when the"pojoDataSetClassPath" property is set to an absolute path , the report gets generated successfully.However when it is set to a relative path, the data from the data-source is not passed to the report thus the report has no data in it.
For example:
When i set the property value to the absolute path(C:\jars\Abc.jar) in .rptdesign file, report gets generated successfully.
<property name="pojoDataSetClassPath">C:\jars\Abc.jar;</property>
However when i set the property value to the relative path(./jars/Abc.jar), report does not contain any data.
<property name="pojoDataSetClassPath">./jars/Abc.jar;</property>
Please find attached a sample .rptdesign file where pojoDataSetClassPath has been highlighted.
Can anyone please suggest a correct way to set the relative classpath , thus helping in picking the right pojodatasources.
Thanks in advance!
[Updated on: Mon, 17 December 2018 21:10] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01725 seconds