Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » what is the system id of the report design?(what is the system id of the report design?)
icon5.gif  what is the system id of the report design? [message #760844] Mon, 05 December 2011 12:34 Go to next message
Mike  is currently offline Mike Friend
Messages: 3
Registered: October 2011
Junior Member
Hi,

I have to work with some code that uses BIRT engine and I don't understand why the code accepts as a system id of the report design only the path of a sample file!!!

The function I'm talking about is the "openReportDesign" of the "ReportEngine" class:

public IReportRunnable openReportDesign(java.lang.String name,
java.io.InputStream designStream)
throws EngineException;

The same file is referenced in the templates as:
<property name="FILELIST">C:\Document Generator\birt\templates\reports\sample.xml</property>
but I fail to make the connection...

(The above path doesn't exist on the system that the app has been deployed.
The path provided with the "openReportDesign" function as a system id is valid though, and points to that sample.xml file...)

What is this system id value and what kind of string data can be accepted as a system id?

Thanks,

Mike

[Updated on: Mon, 05 December 2011 15:38]

Report message to a moderator

Re: what is the system id of the report design? [message #761002 is a reply to message #760844] Mon, 05 December 2011 19:01 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Mike,

I am not 100% on what you are asking. That call expects the an input
stream with the design in it. The name is just the name of the report.

Jason

On 12/5/2011 7:34 AM, Mike wrote:
> Hi,
>
> I have to work with some code that uses BIRT engine and I don't
> understand why the code accepts as a system id of the report design only
> the path of a sample file!!!
>
> The function I'm talking about is the "openRepostDesign" of the
> "ReportEngine" class:
>
> public IReportRunnable openReportDesign(java.lang.String name,
> java.io.InputStream designStream)
> throws EngineException;
>
> The same file is referenced in the templates as:
> <property name="FILELIST">C:\Document
> Generator\birt\templates\reports\sample.xml</property>
> but I fail to make the connection...
>
> (The above path doesn't exist on the system that the app has been deployed.
> The path provided with the "openReportDesign" function as a system id is
> valid though, and points to that sample.xml file...)
>
>
> Thanks,
>
> Mike
Previous Topic:Localization issue with selection choices
Next Topic:Problem when starting birt platform (migrating to birt 3.7)
Goto Forum:
  


Current Time: Sat Dec 20 18:12:32 GMT 2014

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

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