Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] loading external plugin - help

Hi Jody,

> A small idea - not very well formed.
>
> Is it *just* a plugin; or does the plugin have a feature that contains it?
> The uDig start up is feature based … still if you drop the plugin into the
> "dropins" folder it should get picked up …

It is just a plugin. But the dropins are simply ignored.

> Andrea can you experiment with the ".options" tracing options for the
> eclipse plugin loading? Maybe turning on a few more options will give you
> more useful logs?

I did add the .options file to better debug, but it went the same. The
plugin is not seen.

I tried to di a bit deeper.
All I could find is that the list of plugins to be loaded are kept in:
udig\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info

If I add the plugin there manually (should not be done!), it is finally loaded.
I am quite sure that to be loaded properly through the dropins and p2
system, some plugins are missing in udig and also an entry in p2.inf.
Anyways I am not yet sure which ones.

If there is a p2 ninja around, please help. I think the dropins engine
is a very good way to extend uDig in a quick way.

Cheers,
Andrea


>
> --
> Jody Garnett
>
> On Saturday, 10 March 2012 at 7:56 PM, andrea antonello wrote:
>
> Hi developers,
> I am experiencing a very odd problem.
>
> I am adding an external plugin to udig.
>
> The problem is that it is not loading. It also does not give any info
> i the -debug -consoleLog. It simply ignores the plugin.
>
> If I start udig with the -console option, I am able to install the
> plugin with the:
> install file:/pathtoplugin
> option and start it from the osgi console.
> That means that there should be no dependencies problems.
>
> Also, if I start udig from eclipse and add the plugin, it shows up
> correctly.
> If I export the udig product and add the plugin later, instead what I
> described above happens.
>
> I am clueless.
> Any advice is very appreciated.
>
> Cheers,
> Andrea
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>
>
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


Back to the top