problem with images and relative paths (deploying with ANT) [message #210529] |
Wed, 10 January 2007 19:54 |
Eclipse User |
|
|
|
Hi!
I have the following problem.
Under eclipse I am embedding BIRT into my application; in the eclipse
project I create a folder structure as following ("F" stands for folder):
birt
|-F->platform (it's the Birt ReportEngine2.2.0M4)
|-F->reports
|---F-->images
|---F-->library (Birt library)
|---F-->resource (i18n.properties)
and my reports (rptdesign) inside "reports"
When I build my application with Ant the above folders are located in
such a structure:
myApplic
|
...
|-F->WEB-INF
| |-F->platform (it's the Birt ReportEngine2.2.0M4)
| ...
|-F->reports
| |---F-->images
| |---F-->library (Birt library)
| |---F-->resource (i18n.properties)
|
|-F->images**
When I run my report (calling a servlet:
http://localhost:8080/myApplic/WebEngine.srvl?ReportName=abc d.rptdesign)
the report doesn't show any image, and magically the folder images** is
created (once) and inside it my images are copied each time I run the
report with name fileN (N=1,2,3,...)
My report use the images like shown:
<image id="83">
<property name="source">url</property>
<expression name="uri">"images/logo.gif"</expression>
</image>
I also tried "file" instead of "url".
I cannot explain this behaviour.
|
|
|
Powered by
FUDForum. Page generated in 0.02858 seconds