setEngineHome in web app [message #51164] |
Fri, 24 June 2005 05:42  |
Eclipse User |
|
|
|
Sorry if this has already been answered elsewhere, i have had a search
around the news group but couldn't find anything about it.
It would appear from both the API docs and the example code that to use
the BIRT engine from your own code, you need to provide a physical
location to the setEngineHome method.
The application we would like to use BIRT in is a standard java web app,
packaged up in an EAR and deployed to a variety of application servers.
The problem is that these servers could have any number of installation
paths for where our app actually gets deployed, and some app servers don't
even extract the EAR file physically out to the file system.
Is there a way to set the EngineConfig to pick up all the engine jar files
from Url's instead of fixed paths?
Our final intent would be to have a custom query page that conforms to our
application's visual style, load the report internally into our app,
perform some manipulation on the report file itself (including changing
the datasource depending on the appropriate customer installation) and
then generate HTML for onscreen display, or return a PDF stream from FOP
up to the client directly for print quality.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02661 seconds