Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » need help - How-to with Birt 2.1RC2
need help - How-to with Birt 2.1RC2 [message #161042] Mon, 15 May 2006 14:13 Go to next message
Frédéric Ferrant is currently offline Frédéric FerrantFriend
Messages: 75
Registered: July 2009
Member
Hello.

I would like to get the BIRT Report Engine running on my Web
Application.
We already use BIRT 1.0 to generate PDF reports based on POJOs, but
I'd like to switch to BIRT 2. Unfortunately, I get page setup problems
(page breaks...) with Birt 2.0, so I'd like to test BIRT 2.1RC2.
I downloaded it, but it seems like the logic is a little different. I
get a NullPointerException when performing the
engine.openReportDesign(file).

Could anyone give me advice on how to get the report engine running on
a web application, as a part of the application (I thought copying the
'Report Engine' directory and setting the BIRT_HOME was enough, but I
seem to be wrong)...

And, are the the following steps still working with Birt 2.1? :

report = engine.openReportDesign(file);
task = report.createRunAndRenderTask(report);
task.setRenderOptions(options);
task.run();
Re: need help - How-to with Birt 2.1RC2 [message #161174 is a reply to message #161042] Mon, 15 May 2006 20:57 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Frederic,

Try this:

1 - copy libs from ReportEngine directory in the runtime download, into
WEB-INF/lib
2 - create a directory under WEB-INF named platform.
3 - under platform copy the plugins and configuration folders from the
ReportEngine directory in the runtime download.

Jason

"Frederic Ferrant" <frederic@ferrant.be> wrote in message
news:oi2h62tpmksajltrb1g6odu46db1ohmcoj@4ax.com...
> Hello.
>
> I would like to get the BIRT Report Engine running on my Web
> Application.
> We already use BIRT 1.0 to generate PDF reports based on POJOs, but
> I'd like to switch to BIRT 2. Unfortunately, I get page setup problems
> (page breaks...) with Birt 2.0, so I'd like to test BIRT 2.1RC2.
> I downloaded it, but it seems like the logic is a little different. I
> get a NullPointerException when performing the
> engine.openReportDesign(file).
>
> Could anyone give me advice on how to get the report engine running on
> a web application, as a part of the application (I thought copying the
> 'Report Engine' directory and setting the BIRT_HOME was enough, but I
> seem to be wrong)...
>
> And, are the the following steps still working with Birt 2.1? :
>
> report = engine.openReportDesign(file);
> task = report.createRunAndRenderTask(report);
> task.setRenderOptions(options);
> task.run();
Re: need help - How-to with Birt 2.1RC2 [message #161459 is a reply to message #161174] Tue, 16 May 2006 14:18 Go to previous messageGo to next message
Frédéric Ferrant is currently offline Frédéric FerrantFriend
Messages: 75
Registered: July 2009
Member
Thank you Jason.
I just tried, but I then got another problem (see other post, a
'NoSuchMethod' when calling new ReportEngine(EngineConfig)...
Maybe you know what this is caused by...

>Frederic,
>
>Try this:
>
>1 - copy libs from ReportEngine directory in the runtime download, into
>WEB-INF/lib
>2 - create a directory under WEB-INF named platform.
>3 - under platform copy the plugins and configuration folders from the
>ReportEngine directory in the runtime download.
>
>Jason
>
Re: need help - How-to with Birt 2.1RC2 [message #161486 is a reply to message #161459] Tue, 16 May 2006 14:51 Go to previous message
Frédéric Ferrant is currently offline Frédéric FerrantFriend
Messages: 75
Registered: July 2009
Member
Ooooops, sorry, I still had an old core.jar in my WEB-INF/lib
directory...
I'll double-check the other files.

>Thank you Jason.
>I just tried, but I then got another problem (see other post, a
>'NoSuchMethod' when calling new ReportEngine(EngineConfig)...
>Maybe you know what this is caused by...
>
>>Frederic,
>>
>>Try this:
>>
>>1 - copy libs from ReportEngine directory in the runtime download, into
>>WEB-INF/lib
>>2 - create a directory under WEB-INF named platform.
>>3 - under platform copy the plugins and configuration folders from the
>>ReportEngine directory in the runtime download.
>>
>>Jason
>>
Previous Topic:NoSuchMethod using Birt 2.1RC2 when creating ReportEngine
Next Topic:Missed first row of a fixed length file without column name
Goto Forum:
  


Current Time: Sat Aug 17 06:23:58 GMT 2024

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

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

Back to the top