|
Re: Cannot get any Library file to work [message #1687941 is a reply to message #1668379] |
Fri, 20 March 2015 00:34 |
|
Works for me. I think the issue you're having is the full path to the library. When I looked at your report, it had the full path etc/... listed as the path to the library. In my report, it simply says Lib1.rptlibrary and it works deployed to BIRT in JBoss 7.1.1. Hope this helps.
Michael
Developer Evangelist, Silanis
|
|
|
|
Re: Cannot get any Library file to work [message #1688469 is a reply to message #1688426] |
Fri, 20 March 2015 19:27 |
|
Whatever path you use in your project is the path that it'll have to be in your deployment, unless you change the value in the XML. So, from the root of your project to the file, you'll need that same setup in your deployed viewer war. In your case, the library should work if you created the structure of src/main/webapp/resources/Reports/ and placed your library there.
Michael
Developer Evangelist, Silanis
|
|
|
|
Re: Cannot get any Library file to work [message #1689423 is a reply to message #1689378] |
Mon, 23 March 2015 14:54 |
|
BIRT looks relative to the resources folder defined in the web.xml (which is the root folder of the web viewer). You could change this setting in the web.xml to be where you put your reports and it'd then be relative to your reports folder. However, this won't change the design vs deployment issue where you have different paths in your design environment vs your deployment environment. Are you using a JavaEE project or a report project? If you create a report project and create a folder called reports and one called libraries in the root of the report project, when you deploy these to your web viewer, if you put your reports in a folder called reports and your libraries in a folder called libraries that you create in the root folder of the web viewer, you should have not problems going between your design and deployment environments.
Michael
Developer Evangelist, Silanis
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03786 seconds