Skip to main content



      Home
Home » Archived » BIRT » Integrating BIRT in a standalone JAVA App with scripted DS
Integrating BIRT in a standalone JAVA App with scripted DS [message #195761] Mon, 16 October 2006 12:36 Go to next message
Eclipse UserFriend
Originally posted by: Alexander.Preuk.web.de

Hello,

i'm trying to integrate BIRT with scripted Datasources in an existing
standalone Java App . My goal is to allow (experienced) users to configure
the Datasources at runtime.
Till now i got the engine running and the pdf/html Export is working with
very simple Reports (hello_world.rptdesign) an with some more complex
Reports (RDBMS as Source, Grouping, Pics, etc).
Now i am trying to run the Scripted Datasource Sample
(ScriptedDatasourceExampleAfter.rptdesign) on my little standalone app.
Are there any further examples on integrating BIRT in standalone apps with
scripted Datasources?

best regards,

Midrag
Re: Integrating BIRT in a standalone JAVA App with scripted DS [message #195776 is a reply to message #195761] Mon, 16 October 2006 12:56 Go to previous messageGo to next message
Eclipse UserFriend
One thing that you may want to do is to add
System.setProperty( EngineConstants.WEBAPP_CLASSPATH_KEY,

scriptlibClassPath );

The Viewer uses this to add the script lib directory to the class path.

Jason

"Midrag" <Alexander.Preuk@web.de> wrote in message
news:eh0ci8$ukt$1@utils.eclipse.org...
> Hello,
>
> i'm trying to integrate BIRT with scripted Datasources in an existing
> standalone Java App . My goal is to allow (experienced) users to configure
> the Datasources at runtime.
> Till now i got the engine running and the pdf/html Export is working with
> very simple Reports (hello_world.rptdesign) an with some more complex
> Reports (RDBMS as Source, Grouping, Pics, etc).
> Now i am trying to run the Scripted Datasource Sample
> (ScriptedDatasourceExampleAfter.rptdesign) on my little standalone app.
> Are there any further examples on integrating BIRT in standalone apps with
> scripted Datasources?
>
> best regards,
>
> Midrag
>
Re: Integrating BIRT in a standalone JAVA App with scripted DS [message #195811 is a reply to message #195776] Mon, 16 October 2006 15:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Alexander.Preuk.web.de

Thanks! now the scripted DataSource Sample is also working on my standalone
app.

Is it really necessary to have a compiled .class file for each scripted
Datasource?
Is there any known workaround to allow new scripted Datasources at runtime
without the need to compile a proprietary Java-Class?

"Jason Weathersby" <jweathersby@actuate.com> schrieb im Newsbeitrag
news:eh0dk9$64l$1@utils.eclipse.org...
> One thing that you may want to do is to add
> System.setProperty( EngineConstants.WEBAPP_CLASSPATH_KEY,
>
> scriptlibClassPath );
>
> The Viewer uses this to add the script lib directory to the class path.
>
> Jason
>
> "Midrag" <Alexander.Preuk@web.de> wrote in message
> news:eh0ci8$ukt$1@utils.eclipse.org...
>> Hello,
>>
>> i'm trying to integrate BIRT with scripted Datasources in an existing
>> standalone Java App . My goal is to allow (experienced) users to
>> configure the Datasources at runtime.
>> Till now i got the engine running and the pdf/html Export is working with
>> very simple Reports (hello_world.rptdesign) an with some more complex
>> Reports (RDBMS as Source, Grouping, Pics, etc).
>> Now i am trying to run the Scripted Datasource Sample
>> (ScriptedDatasourceExampleAfter.rptdesign) on my little standalone app.
>> Are there any further examples on integrating BIRT in standalone apps
>> with scripted Datasources?
>>
>> best regards,
>>
>> Midrag
>>
>
>
Re: Integrating BIRT in a standalone JAVA App with scripted DS [message #195818 is a reply to message #195811] Mon, 16 October 2006 16:01 Go to previous message
Eclipse UserFriend
The scripted data set could be written to use reflection or to call a class
that uses reflection.
I dont currently have an example of this though. Another option would be to
write an ODA driver that uses reflection.

Jason

"Midrag" <Alexander.Preuk@web.de> wrote in message
news:eh0nfd$qta$1@utils.eclipse.org...
> Thanks! now the scripted DataSource Sample is also working on my
> standalone app.
>
> Is it really necessary to have a compiled .class file for each scripted
> Datasource?
> Is there any known workaround to allow new scripted Datasources at runtime
> without the need to compile a proprietary Java-Class?
>
> "Jason Weathersby" <jweathersby@actuate.com> schrieb im Newsbeitrag
> news:eh0dk9$64l$1@utils.eclipse.org...
>> One thing that you may want to do is to add
>> System.setProperty( EngineConstants.WEBAPP_CLASSPATH_KEY,
>>
>> scriptlibClassPath );
>>
>> The Viewer uses this to add the script lib directory to the class path.
>>
>> Jason
>>
>> "Midrag" <Alexander.Preuk@web.de> wrote in message
>> news:eh0ci8$ukt$1@utils.eclipse.org...
>>> Hello,
>>>
>>> i'm trying to integrate BIRT with scripted Datasources in an existing
>>> standalone Java App . My goal is to allow (experienced) users to
>>> configure the Datasources at runtime.
>>> Till now i got the engine running and the pdf/html Export is working
>>> with very simple Reports (hello_world.rptdesign) an with some more
>>> complex Reports (RDBMS as Source, Grouping, Pics, etc).
>>> Now i am trying to run the Scripted Datasource Sample
>>> (ScriptedDatasourceExampleAfter.rptdesign) on my little standalone app.
>>> Are there any further examples on integrating BIRT in standalone apps
>>> with scripted Datasources?
>>>
>>> best regards,
>>>
>>> Midrag
>>>
>>
>>
>
>
Previous Topic:hyperlink two report problem
Next Topic:BIRT 2.1.1 bug: reportContext.getHttpServletRequest() sometimes returns null
Goto Forum:
  


Current Time: Tue Jun 03 20:12:28 EDT 2025

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

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

Back to the top