Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Reloading birt viewer plugin's scriptlibs without restarting eclipse
Reloading birt viewer plugin's scriptlibs without restarting eclipse [message #645743] Mon, 20 December 2010 11:20 Go to next message
marko13  is currently offline marko13
Messages: 5
Registered: November 2010
Junior Member
Hi,

Is there a possibility to reload birt viewer plugin inside eclipse so that changes made to script libraries (java jars) take effect?
I tried to stop and start the birt viewer OSGI budle through OSGI console in Eclipse but that did not help.

Thanks,
Marko
Re: Reloading birt viewer plugin's scriptlibs without restarting eclipse [message #645813 is a reply to message #645743] Mon, 20 December 2010 16:37 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Marko,

Have you tried WebViewer.stop();

Jason

On 12/20/2010 6:20 AM, marko13 wrote:
> Hi,
>
> Is there a possibility to reload birt viewer plugin inside eclipse so
> that changes made to script libraries (java jars) take effect? I tried
> to stop and start the birt viewer OSGI budle through OSGI console in
> Eclipse but that did not help.
>
> Thanks,
> Marko
Re: Reloading birt viewer plugin's scriptlibs without restarting eclipse [message #646144 is a reply to message #645813] Wed, 22 December 2010 11:03 Go to previous messageGo to next message
marko13  is currently offline marko13
Messages: 5
Registered: November 2010
Junior Member
Hi Jason,

I did not try this expression. I presume that this should be included in initialize event of the report. But I wouldn't like to include this code snippet in each report which needs to reload web viewer, so I asked if birt viewer can be restarted from eclipse (OSGI console or whatever).

Thanks,
Marko
Re: Reloading birt viewer plugin's scriptlibs without restarting eclipse [message #646180 is a reply to message #645813] Wed, 22 December 2010 14:55 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Marko,

That was not code for the report. If you are using the viewer plugin in
an Eclipse based app you can start and stop it using the WebViewer
utility class.

Jason

On 12/20/2010 11:37 AM, Jason Weathersby wrote:
> Marko,
>
> Have you tried WebViewer.stop();
>
> Jason
>
> On 12/20/2010 6:20 AM, marko13 wrote:
>> Hi,
>>
>> Is there a possibility to reload birt viewer plugin inside eclipse so
>> that changes made to script libraries (java jars) take effect? I tried
>> to stop and start the birt viewer OSGI budle through OSGI console in
>> Eclipse but that did not help.
>>
>> Thanks,
>> Marko
>
Previous Topic:How to hide an item from a choosen Legend on 2 Y-Axis chart?
Next Topic:Single Value in row of crosstab
Goto Forum:
  


Current Time: Fri Oct 24 19:02:10 GMT 2014

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

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