Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » birt command line example
birt command line example [message #134893] Thu, 23 February 2006 08:56 Go to next message
roger wenham is currently offline roger wenhamFriend
Messages: 11
Registered: July 2009
Junior Member
Hi

I am trying to get the command line example contained in the
birt-runtime-2_0_0 package to run.

I cannot find any documentation for the command line example, and being
new to birt, the usage output is not very helpful. Does anyone know wheree
there is some documentation?

The following are my experiences trying to get a stand alone system to
run, they may help anyone following the same path as I...

I first tried the simple example that can be found on the integration
page, but after wasting much time, found that the example is wrong and
cannot work. After much effort I found that the "EngineConstants" seem to
have disappeared, and has been replaced with "HTMLRenderContext". The
follwing is the old code and the code I replaced it with:

contextMap.put( HTMLRenderContext.CONTEXT_NAME, renderContext );
task.setContext(contextMap);
//contextMap.put( EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT,
renderContext );
//task.setAppContext( contextMap );

This got me a bit further but I eventually abandoned the effort.

Next I tried copying the file hello_world.rptdesign to the example
directory any running the command line "genReport.bat
hello_world.rptdesign" but I got the following error:

E:\birt-runtime-2_0_0\Command Line Example>ECHO off
23.02.2006 08:45:09 org.eclipse.birt.core.util.BirtTimer logTimeTaken
INFO: Engine startup takes 484 Milliseconds.
23.02.2006 08:45:09 org.eclipse.birt.report.model.metadata.ExtensionLoader
load
SCHWERWIEGEND: Message:The extension point
[org.eclipse.birt.report.model.encryptionHelper] is not found. Error
code:EXTENSION_POINT_NOT_FOUND

I fixed this by copying the library "org.eclipse.birt.report.model_1.0.1"
from the eclipse plugins directory. What this the right thing to do?

Finding such basic errors has worried me somewhat, as I was hoping to use
birt in a production environment.

Has anyone used birt for a real application?

I would be glad of any advice...
Re: birt command line example [message #135085 is a reply to message #134893] Thu, 23 February 2006 14:01 Go to previous message
Eclipse UserFriend
Originally posted by: jarif.despammed.com

Roger wenham wrote:

> org.eclipse.birt.report.model.metadata.ExtensionLoader load
> SCHWERWIEGEND: Message:The extension point
> [org.eclipse.birt.report.model.encryptionHelper] is not found. Error
> code:EXTENSION_POINT_NOT_FOUND
>
> Has anyone used birt for a real application?
> I would be glad of any advice...
>

I'm trying. I see this errormessage often, but it seem not effect
anything: the reports render fine.

This in a modified ViewerServlet.
Previous Topic:Does everyone write a different report for each database, dev/test/live?
Next Topic:$NO-RB$ ReferenceError: "System" is not defined. (<cmd>#81)
Goto Forum:
  


Current Time: Fri Sep 27 05:09:39 GMT 2024

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

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

Back to the top