Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » problem with images and relative paths (deploying with ANT)
problem with images and relative paths (deploying with ANT) [message #210529] Thu, 11 January 2007 00:54
Nicola is currently offline NicolaFriend
Messages: 184
Registered: July 2009
Senior Member
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.
Previous Topic:BIRT Runtime and scripted data source
Next Topic:problem with images and relative paths (deploying with ANT)
Goto Forum:
  


Current Time: Sun Jul 21 13:35:24 GMT 2024

Powered by FUDForum. Page generated in 0.02952 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top