How can I read properties of a BIRT report?
I need to make a tool that analyze several BIRT reports. Therefor I need to read some of the properties of the report, like the name of the author, the title, description, and maybe others. I browsed a few hours through BIRT code, but I could not find a way to get the properties of a report. Does开发者_开发问答 any of you know how to achieve this ?
Thank you.
The rptdesign file is just a XML file. Just parse it using any XML parser or even manually in your code. Should be simple enough.
Did you look at http://download.eclipse.org/birt/downloads/
Also if you have maven, then include the following artifacts
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>4.3.1</version>
</dependency>
<dependency>
<groupId>org.eclipse.core</groupId>
<artifactId>runtime</artifactId>
<version>3.10.0-v20140318-2214</version>
</dependency>
精彩评论