Add LogWatcher plug-in to my RCP app? [message #497000] |
Thu, 12 November 2009 03:09  |
Eclipse User |
|
|
|
Hi folks,
I have been taking a look at LogWatcher RCP plugin (http://graysky.sourceforge.net/) for displaying local log files and seems to be a quite good solution.
I have done one test adding that plug-in to my Eclipse IDE, for that I just had to unzip the plugin in my $ECLIPSE_HOME/plugins folder and after that the LogWatcher View was appearing in the "Window/Show View/Other" menu.
Now I would like to add the plugin to one RCP application I had done myself so in the plugin.xml and product files I have added the dependency to include LogWatcher.
If I run my app using plugin.xml (launched from Eclipse IDE) it works fine and I can see LogWatcher View but once I generate my product executable the View cannot be loaded as it says it cannot find LogWatcher classes.
How can I add this plugin and any other one to my executable app? Apart from adding it to my product "Configuration" tab do I have to place somewhere else the jar file of the plug-in?
Thanks in advance,
Mh
|
|
|
Re: Add LogWatcher plug-in to my RCP app? [message #497147 is a reply to message #497000] |
Thu, 12 November 2009 11:25   |
Eclipse User |
|
|
|
Hi Moley,
It can be that the logwatcher itself also depends on plugins that you did not
include. You have to add them to the dependencies (not to the configuration,
at least not to enable it for packaging).
If all fails, run you application with -console, enter "ss", find the number
of the logwatcher plugin and enter "diag nnnn".
Best regards,
Wim Jongman
--
Salvo, the Eclipse based newsreader could use signatures
> Hi folks,
>
> I have been taking a look at LogWatcher RCP plugin
(http://graysky.sourceforge.net/) for displaying local log files and seems to
be a quite good solution.
>
> I have done one test adding that plug-in to my Eclipse IDE, for that I just
had to unzip the plugin in my $ECLIPSE_HOME/plugins folder and after that the
LogWatcher View was appearing in the "Window/Show View/Other" menu.
>
> Now I would like to add the plugin to one RCP application I had done myself
so in the plugin.xml and product files I have added the dependency to include
LogWatcher.
>
> If I run my app using plugin.xml (launched from Eclipse IDE) it works fine
and I can see LogWatcher View but once I generate my product executable the
View cannot be loaded as it says it cannot find LogWatcher classes.
>
> How can I add this plugin and any other one to my executable app? Apart
from adding it to my product "Configuration" tab do I have to place somewhere
else the jar file of the plug-in?
>
> Thanks in advance,
>
> Mh
|
|
|
|
|
Re: Re: Add LogWatcher plug-in to my RCP app? [message #497908 is a reply to message #497492] |
Fri, 13 November 2009 09:42  |
Eclipse User |
|
|
|
Alright, so this indicates that the plugin is exported and available.
<<LAZY>> means that is is there but no one requested for it yet. Can you do
the same <diag> for the plugin that requires the graysky plugin to see what
that gives you.
> Hi again Wim,
>
> I have run my executable using the console as you suggested me and these
are the results:
>
> 1. I have launched my executable using the "-console" option.
> 2. In the osgi console I have run the "ss" command to check LogWatcher
plugin number and this is the result:
>
> 16 <<LAZY>> org.graysky.eclipse.logwatcher_1.4.0.1
>
> What does "LAZY" mean? Does it means the plugin is not activated?I have
seen that there are several plugins which are LAZY and other are
RESOLVED?¿¿??¿
>
> 3. Using the ID=16 I have run the command:
>
> osgi> diag 16
> reference:file:plugins/org.graysky.eclipse.logwatcher_1.4.0. 1 [16]
> No unresolved constraints.
>
> Does it means the plugin is correctly installed?
> Why is not working properly?
|
|
|
Powered by
FUDForum. Page generated in 0.04123 seconds