-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add relative path to pdfngreport.properties file #17
Comments
HI Uttesh, After giving the below path, now the file is getting generated in RootFolder/pdfngreport/filename.pdf, but No charts and no logo included in that pdf file and below is the error. pdfreport.outputdir=..//pdfngreport// ERROR main- Image not found. URI: file:/..//src//resources//images//IPLogo.jpg. (No context info available) |
@padmasri i don't remember, i guess i have removed that relative path support. |
Thanks for quick reply, is there any future plan to add the relative path support to this? |
@padmasri i will look into that, once other todo list is done. Thanks. |
So that "image not found" thing is still happening, are there any plans to rectify that? |
Nevermind, I've got it. Sending a PR shortly |
Hi Uttesh,
When I am trying to give relative path for Logo and pdf report location, the file is not getting generated and getting the below error. When I give full path like below it is working fine
For Logo: C://Users//padma//workspace//projectname//src//resources//image//IPLogo.png
For Report location: C://Users//padma//workspace//projectname//test-output//pdfngreport//
Issue is if I give relative path like below
pdfreport.report.logo.file=..//src//resources//images//IPLogo.png
pdfreport.outputdir=..//test-output//pdfngreport//
ERROR main- Image not found. URI: file:/..//src//resources//images//IPLogo.png (No context info available)
ERROR main- Image not found. URI: file:/.//pdfngreport///chart.png. (No context info available)
The text was updated successfully, but these errors were encountered: