Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Using XML Datasource for RCP
Using XML Datasource for RCP [message #124526] Mon, 06 February 2006 06:22
Eclipse UserFriend
Originally posted by: calltl.hotmail.com

Hi all,



I am currently testing BIRT with my RCP application. Report generation is
done by combining an automatically generated XML file (as data source) and a
predefinited BIRT design file (which understand the structure of the XML
data source).



Since BIRT designer hardcoded the XML data source file (in absolute path)
during report design phase, I need to reset the XML data source filename
just before RCP generates the report via BIRT API.



When I examine the code from org.eclipse.birt.report.data.oda.xml, I realise
the data source filename is stored in DataSourceHandle. Hence I believe I
can retrieve the information from IReportRunnable.getDesignHandle() after I'
ve opened the report design from RCP. However, I cannot find any
information on data source.



Is there any API that I can call to get and set the XML data source filename
from BIRT API? Please help. Thanks.



Tony Lam

Australian Nuclear Science and Technology Organisation

PMB 1, Menai NSW 2234
Previous Topic:Eclipse run-time application crashing for animated Charts
Next Topic:BIRT embedded in the EAR application
Goto Forum:
  


Current Time: Sun Oct 06 08:46:57 GMT 2024

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

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

Back to the top