Skip to main content



      Home
Home » Archived » BIRT » Report on a Java Application (not RCP)
Report on a Java Application (not RCP) [message #225622] Thu, 15 March 2007 15:41 Go to next message
Eclipse UserFriend
Originally posted by: henriquemagalhaes.gmail.com

Hi...

I have a report generator working in a RCP application. For it I put the
following plug-ins in the Mainfest Dependencies tab:

org.eclipse.birt.report.engine
org.eclipse.birt.report.engine.emitter.html
org.eclipse.birt.report.engine.emitter.html

Is it possible to run a report from a Java Application (that does not have
a Manifest file)? How can I do it?

Thanks...
Re: Report on a Java Application (not RCP) [message #225663 is a reply to message #225622] Thu, 15 March 2007 16:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Henrique wrote:
> Hi...
>
> I have a report generator working in a RCP application. For it I put the
> following plug-ins in the Mainfest Dependencies tab:
>
> org.eclipse.birt.report.engine
> org.eclipse.birt.report.engine.emitter.html
> org.eclipse.birt.report.engine.emitter.html
>
> Is it possible to run a report from a Java Application (that does not
> have a Manifest file)? How can I do it?
>
> Thanks...
>
>
If you download the runtime there is an example of a stand alone Java
app that runs birt reports. It still uses the plugins but the app
itself is not a plugin. I am not certain if this is what you want.

Jason
Re: Report on a Java Application (not RCP) [message #225695 is a reply to message #225663] Thu, 15 March 2007 17:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: henriquemagalhaes.gmail.com

In my RCP application I did not use the setEngineHome Method, like in the
BIRT RCP Engine example. But in the Simple Execute example it is used, and
set to a file system path. I think this is my problem (because I changed
my RCP code to use in a Java Application).

I did not understand if I need to deploy the Engine for my Applications
user alone and set the Engine home (config.setEngineHome method) or if it
is possible to "deploy" the Engine inside my Application. In that case how
can I tell my application where to find the Engine? In other words, I did
not understand how to use the plugins in the Java application like in the
RCP Application.


Jason Weathersby wrote:

> Henrique wrote:
>> Hi...
>>
>> I have a report generator working in a RCP application. For it I put the
>> following plug-ins in the Mainfest Dependencies tab:
>>
>> org.eclipse.birt.report.engine
>> org.eclipse.birt.report.engine.emitter.html
>> org.eclipse.birt.report.engine.emitter.html
>>
>> Is it possible to run a report from a Java Application (that does not
>> have a Manifest file)? How can I do it?
>>
>> Thanks...
>>
>>
> If you download the runtime there is an example of a stand alone Java
> app that runs birt reports. It still uses the plugins but the app
> itself is not a plugin. I am not certain if this is what you want.

> Jason
Re: Report on a Java Application (not RCP) [message #225911 is a reply to message #225695] Fri, 16 March 2007 11:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Henrique wrote:
> In my RCP application I did not use the setEngineHome Method, like in
> the BIRT RCP Engine example. But in the Simple Execute example it is
> used, and set to a file system path. I think this is my problem (because
> I changed my RCP code to use in a Java Application).
> I did not understand if I need to deploy the Engine for my Applications
> user alone and set the Engine home (config.setEngineHome method) or if
> it is possible to "deploy" the Engine inside my Application. In that
> case how can I tell my application where to find the Engine? In other
> words, I did not understand how to use the plugins in the Java
> application like in the RCP Application.
>
>
> Jason Weathersby wrote:
>
>> Henrique wrote:
>>> Hi...
>>>
>>> I have a report generator working in a RCP application. For it I put
>>> the following plug-ins in the Mainfest Dependencies tab:
>>>
>>> org.eclipse.birt.report.engine
>>> org.eclipse.birt.report.engine.emitter.html
>>> org.eclipse.birt.report.engine.emitter.html
>>>
>>> Is it possible to run a report from a Java Application (that does not
>>> have a Manifest file)? How can I do it?
>>>
>>> Thanks...
>>>
>>>
>> If you download the runtime there is an example of a stand alone Java
>> app that runs birt reports. It still uses the plugins but the app
>> itself is not a plugin. I am not certain if this is what you want.
>
>> Jason
>
>
If you look at the stand alone example it has to set a BIRT_HOME where
it looks for a plugins directory. This is different than the RCP
example. You will also need to add the appropriate libs to your classpath.

Jason
Re: Report on a Java Application (not RCP) [message #226066 is a reply to message #225911] Fri, 16 March 2007 16:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: henriquemagalhaes.gmail.com

Ok. Thank you...

Other question: I'm getting null in this line:

IReportEngineFactory factory = (IReportEngineFactory)
Platform.createFactoryObject(IReportEngineFactory.EXTENSION_ REPORT_ENGINE_FACTORY);

Can you tell me why?

Henrique

Jason Weathersby wrote:

> Henrique wrote:
>> In my RCP application I did not use the setEngineHome Method, like in
>> the BIRT RCP Engine example. But in the Simple Execute example it is
>> used, and set to a file system path. I think this is my problem (because
>> I changed my RCP code to use in a Java Application).
>> I did not understand if I need to deploy the Engine for my Applications
>> user alone and set the Engine home (config.setEngineHome method) or if
>> it is possible to "deploy" the Engine inside my Application. In that
>> case how can I tell my application where to find the Engine? In other
>> words, I did not understand how to use the plugins in the Java
>> application like in the RCP Application.
>>
>>
>> Jason Weathersby wrote:
>>
>>> Henrique wrote:
>>>> Hi...
>>>>
>>>> I have a report generator working in a RCP application. For it I put
>>>> the following plug-ins in the Mainfest Dependencies tab:
>>>>
>>>> org.eclipse.birt.report.engine
>>>> org.eclipse.birt.report.engine.emitter.html
>>>> org.eclipse.birt.report.engine.emitter.html
>>>>
>>>> Is it possible to run a report from a Java Application (that does not
>>>> have a Manifest file)? How can I do it?
>>>>
>>>> Thanks...
>>>>
>>>>
>>> If you download the runtime there is an example of a stand alone Java
>>> app that runs birt reports. It still uses the plugins but the app
>>> itself is not a plugin. I am not certain if this is what you want.
>>
>>> Jason
>>
>>
> If you look at the stand alone example it has to set a BIRT_HOME where
> it looks for a plugins directory. This is different than the RCP
> example. You will also need to add the appropriate libs to your classpath.

> Jason
Re: Report on a Java Application (not RCP) [message #227988 is a reply to message #226066] Mon, 19 March 2007 11:30 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Henrique wrote:
> Ok. Thank you...
>
> Other question: I'm getting null in this line:
>
> IReportEngineFactory factory = (IReportEngineFactory)
> Platform.createFactoryObject(IReportEngineFactory.EXTENSION_ REPORT_ENGINE_FACTORY);
>
>
> Can you tell me why?
>
> Henrique
>
> Jason Weathersby wrote:
>
>> Henrique wrote:
>>> In my RCP application I did not use the setEngineHome Method, like in
>>> the BIRT RCP Engine example. But in the Simple Execute example it is
>>> used, and set to a file system path. I think this is my problem
>>> (because I changed my RCP code to use in a Java Application).
>>> I did not understand if I need to deploy the Engine for my
>>> Applications user alone and set the Engine home (config.setEngineHome
>>> method) or if it is possible to "deploy" the Engine inside my
>>> Application. In that case how can I tell my application where to find
>>> the Engine? In other words, I did not understand how to use the
>>> plugins in the Java application like in the RCP Application.
>>>
>>>
>>> Jason Weathersby wrote:
>>>
>>>> Henrique wrote:
>>>>> Hi...
>>>>>
>>>>> I have a report generator working in a RCP application. For it I
>>>>> put the following plug-ins in the Mainfest Dependencies tab:
>>>>>
>>>>> org.eclipse.birt.report.engine
>>>>> org.eclipse.birt.report.engine.emitter.html
>>>>> org.eclipse.birt.report.engine.emitter.html
>>>>>
>>>>> Is it possible to run a report from a Java Application (that does
>>>>> not have a Manifest file)? How can I do it?
>>>>>
>>>>> Thanks...
>>>>>
>>>>>
>>>> If you download the runtime there is an example of a stand alone
>>>> Java app that runs birt reports. It still uses the plugins but the
>>>> app itself is not a plugin. I am not certain if this is what you want.
>>>
>>>> Jason
>>>
>>>
>> If you look at the stand alone example it has to set a BIRT_HOME where
>> it looks for a plugins directory. This is different than the RCP
>> example. You will also need to add the appropriate libs to your
>> classpath.
>
>> Jason
>
>
This usually happens when BIRT_HOME is set incorrectly. The BIRT
Plugins can not be found.

Jason
Previous Topic:variable set in nested table is one row back
Next Topic:SQLException: Missing IN or OUT parameter
Goto Forum:
  


Current Time: Wed Jul 09 22:04:34 EDT 2025

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

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

Back to the top