setEngineHome relativ path? [message #70638] |
Thu, 01 September 2005 03:33 |
Eclipse User |
|
|
|
Originally posted by: ksc_puschkin.yahoo.de
Hi there,
I wrote a JavaBean that only checks whether a report has parameters or not
and prompts for it if there are any. I mainly refered to the 'Using the
Engine API'-Tutorial of the BIRT-Page (and the documentation within
eclipse). Everythings run good so far, but I want to change one thing:
In the tutorials there is always said to put a absolut path when doing
setEngineHome
e.g. in my case: config.setEngineHome
(" c:/.../eclipse/plugins/org.eclipse.birt.report.viewer_1.0.1/ birt ")
But I would rather set a relativ path (relativly to my Tomcat
webapps/birtviewer) because the whole webapp should be moveable between
different servers without having to change the absolut path at
setEngineHome.
I alraedy tried different things, but nothing worked:
- first I copied
'eclipse/plugins/org.eclipse.birt.report.viewer_1.0.1/birt' into
tomcat/webapps/birtviewer/birt
- then I used setEngineHome with
"/birtviewer/birt"
"birtviewer/birt"
"/birt"
"birt"
"/"
""
But nothing seems to work :( So could someone tell me how to reach my goal
of using a relativ path?
Thanks in advance!
Robert
|
|
|
Powered by
FUDForum. Page generated in 0.31442 seconds