Home » Eclipse Projects » BIRT » Runtime vs ReportDesigner
| Runtime vs ReportDesigner [message #684205] |
Wed, 15 June 2011 03:57  |
|
Originally posted by: Dennis Schladebeck
Hi,
i am currently working on a chart extension(new chart type), which seems to run fine in ReportDesigner and
in the Birt Example application (org.eclipse.birt.examples.rcpengine.application),
but does not work in the Birt Runtime.
Now having a look on the runtime directories i was wondering, why there is a chartengine.jar in
the lib directory ? Why doesn't it use the chart plugin ? Might that be one of the reasons, why
my chart extension is not working in the runtime ?
First i thought using my extension would lead to somehow wrong rptdesign files, but then the Designer
and the Example Application should't run my report.
Anyone got any ideas ?
Dennis
|
|
|
| Re: Runtime vs ReportDesigner [message #684266 is a reply to message #684205] |
Wed, 15 June 2011 06:02   |
|
Originally posted by: Dennis Schladebeck
On 15.06.2011 09:57, Dennis Schladebeck wrote:
> Hi,
>
> i am currently working on a chart extension(new chart type), which seems to run fine in ReportDesigner and
> in the Birt Example application (org.eclipse.birt.examples.rcpengine.application),
> but does not work in the Birt Runtime.
>
> Now having a look on the runtime directories i was wondering, why there is a chartengine.jar in
> the lib directory ? Why doesn't it use the chart plugin ? Might that be one of the reasons, why
> my chart extension is not working in the runtime ?
>
> First i thought using my extension would lead to somehow wrong rptdesign files, but then the Designer
> and the Example Application should't run my report.
>
> Anyone got any ideas ?
>
> Dennis
Hmm it seems that my implementation of TypeFactory defined by Extension point is not even called, when
using birt runtime.
Could it be, that the runtime is not even using the whole plugin mechanism when loading rptdesign file ?
Quite a lot of the plugin jars are located in the lib directory and put into classpath when running
with ReportRunner main class.
|
|
| |
| Re: Runtime vs ReportDesigner [message #684412 is a reply to message #684398] |
Wed, 15 June 2011 10:30   |
|
Originally posted by: Dennis Schladebeck
Hi Jason,
all UI dependencies are optional already.
Dennis
On 15.06.2011 16:11, Jason Weathersby wrote:
> Dennis
>
> Those are wrapper classes. I think the issue is that your plugin depends on a ui plugin this is not available in the runtime. You could test this by
> marking your dependencies as optional in the manifest editor and then exporting your plugin to the runtime again.
>
> Jason
>
> On 6/15/2011 3:57 AM, Dennis Schladebeck wrote:
>> Hi,
>>
>> i am currently working on a chart extension(new chart type), which seems
>> to run fine in ReportDesigner and
>> in the Birt Example application
>> (org.eclipse.birt.examples.rcpengine.application),
>> but does not work in the Birt Runtime.
>>
>> Now having a look on the runtime directories i was wondering, why there
>> is a chartengine.jar in
>> the lib directory ? Why doesn't it use the chart plugin ? Might that be
>> one of the reasons, why
>> my chart extension is not working in the runtime ?
>>
>> First i thought using my extension would lead to somehow wrong rptdesign
>> files, but then the Designer
>> and the Example Application should't run my report.
>>
>> Anyone got any ideas ?
>>
>> Dennis
>
|
|
|
| Re: Runtime vs ReportDesigner [message #684414 is a reply to message #684412] |
Wed, 15 June 2011 10:40   |
Jason Weathersby Messages: 9167 Registered: July 2009 |
Senior Member |

|
|
Dennis,
If you want to email me your project I can try to debug it.
jasonweathersby at windstream dot net
Jason
On 6/15/2011 10:30 AM, Dennis Schladebeck wrote:
> Hi Jason,
>
> all UI dependencies are optional already.
>
> Dennis
>
> On 15.06.2011 16:11, Jason Weathersby wrote:
>> Dennis
>>
>> Those are wrapper classes. I think the issue is that your plugin
>> depends on a ui plugin this is not available in the runtime. You could
>> test this by
>> marking your dependencies as optional in the manifest editor and then
>> exporting your plugin to the runtime again.
>>
>> Jason
>>
>> On 6/15/2011 3:57 AM, Dennis Schladebeck wrote:
>>> Hi,
>>>
>>> i am currently working on a chart extension(new chart type), which seems
>>> to run fine in ReportDesigner and
>>> in the Birt Example application
>>> (org.eclipse.birt.examples.rcpengine.application),
>>> but does not work in the Birt Runtime.
>>>
>>> Now having a look on the runtime directories i was wondering, why there
>>> is a chartengine.jar in
>>> the lib directory ? Why doesn't it use the chart plugin ? Might that be
>>> one of the reasons, why
>>> my chart extension is not working in the runtime ?
>>>
>>> First i thought using my extension would lead to somehow wrong rptdesign
>>> files, but then the Designer
>>> and the Example Application should't run my report.
>>>
>>> Anyone got any ideas ?
>>>
>>> Dennis
>>
>
Jason Weathersby
BIRT Exchange
|
|
|
| Re: Runtime vs ReportDesigner [message #684440 is a reply to message #684412] |
Wed, 15 June 2011 10:48   |
|
Originally posted by: Dennis Schladebeck
Hi,
when remote debugging against the runtime i also noticed, that my
implementation of TypeFactoryImpl.init() does not get called.
I removed all ui classed and ui dependencies from my plugin before exporting it to the runtime.
My plugin.xml now looks like this
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
<extension point="org.eclipse.emf.ecore.generated_package">
<package
uri="http://www.bredex.de/birt/RectangleChartModelType"
class="de.bredex.birt.rectangle.chart.model.type.TypePackage"
genModel="rectanglemodel/RectangleType.genmodel"/>
</extension>
<extension point="org.eclipse.emf.ecore.extension_parser">
<parser
type="type"
class="de.bredex.birt.rectangle.chart.model.type.util.TypeResourceFactoryImpl"/>
</extension>
<extension
point="org.eclipse.birt.chart.engine.datapointdefinitions">
<datapointDefinition
definition="de.bredex.birt.rectangle.chart.datafeed.RectangleDataPointDefinition"
series="de.bredex.birt.rectangle.chart.model.type.impl.RectangleSeriesImpl">
</datapointDefinition>
</extension>
<extension
point="org.eclipse.birt.chart.engine.datasetprocessors">
<datasetProcessor
processor="de.bredex.birt.rectangle.chart.datafeed.RectangleDataSetProcessorImpl"
series="de.bredex.birt.rectangle.chart.model.type.impl.RectangleSeriesImpl">
</datasetProcessor>
</extension>
<extension
point="org.eclipse.birt.chart.engine.modelrenderers">
<modelRenderer
renderer="de.bredex.birt.rectangle.chart.render.Rectangle"
series="de.bredex.birt.rectangle.chart.model.type.impl.RectangleSeriesImpl">
</modelRenderer>
</extension>
</plugin>
The funny thing is, i don't even get any errors in configuration/..*.log files.
I seems like report engine doesn't know about my custom types, series etc.
Dennis
On 15.06.2011 16:30, Dennis Schladebeck wrote:
> Hi Jason,
>
> all UI dependencies are optional already.
>
> Dennis
>
> On 15.06.2011 16:11, Jason Weathersby wrote:
>> Dennis
>>
>> Those are wrapper classes. I think the issue is that your plugin depends on a ui plugin this is not available in the runtime. You could test this by
>> marking your dependencies as optional in the manifest editor and then exporting your plugin to the runtime again.
>>
>> Jason
>>
>> On 6/15/2011 3:57 AM, Dennis Schladebeck wrote:
>>> Hi,
>>>
>>> i am currently working on a chart extension(new chart type), which seems
>>> to run fine in ReportDesigner and
>>> in the Birt Example application
>>> (org.eclipse.birt.examples.rcpengine.application),
>>> but does not work in the Birt Runtime.
>>>
>>> Now having a look on the runtime directories i was wondering, why there
>>> is a chartengine.jar in
>>> the lib directory ? Why doesn't it use the chart plugin ? Might that be
>>> one of the reasons, why
>>> my chart extension is not working in the runtime ?
>>>
>>> First i thought using my extension would lead to somehow wrong rptdesign
>>> files, but then the Designer
>>> and the Example Application should't run my report.
>>>
>>> Anyone got any ideas ?
>>>
>>> Dennis
>>
>
|
|
|
| Re: Runtime vs ReportDesigner [message #684441 is a reply to message #684414] |
Wed, 15 June 2011 10:58  |
|
Originally posted by: Dennis Schladebeck
mail is on it's waY
On 15.06.2011 16:40, Jason Weathersby wrote:
> Dennis,
>
> If you want to email me your project I can try to debug it.
> jasonweathersby at windstream dot net
>
> Jason
>
> On 6/15/2011 10:30 AM, Dennis Schladebeck wrote:
>> Hi Jason,
>>
>> all UI dependencies are optional already.
>>
>> Dennis
>>
>> On 15.06.2011 16:11, Jason Weathersby wrote:
>>> Dennis
>>>
>>> Those are wrapper classes. I think the issue is that your plugin
>>> depends on a ui plugin this is not available in the runtime. You could
>>> test this by
>>> marking your dependencies as optional in the manifest editor and then
>>> exporting your plugin to the runtime again.
>>>
>>> Jason
>>>
>>> On 6/15/2011 3:57 AM, Dennis Schladebeck wrote:
>>>> Hi,
>>>>
>>>> i am currently working on a chart extension(new chart type), which seems
>>>> to run fine in ReportDesigner and
>>>> in the Birt Example application
>>>> (org.eclipse.birt.examples.rcpengine.application),
>>>> but does not work in the Birt Runtime.
>>>>
>>>> Now having a look on the runtime directories i was wondering, why there
>>>> is a chartengine.jar in
>>>> the lib directory ? Why doesn't it use the chart plugin ? Might that be
>>>> one of the reasons, why
>>>> my chart extension is not working in the runtime ?
>>>>
>>>> First i thought using my extension would lead to somehow wrong rptdesign
>>>> files, but then the Designer
>>>> and the Example Application should't run my report.
>>>>
>>>> Anyone got any ideas ?
>>>>
>>>> Dennis
>>>
>>
>
|
|
|
Goto Forum:
Current Time: Sun May 19 00:37:05 EDT 2013
Powered by FUDForum. Page generated in 0.11867 seconds
|