Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [smila-user] Agent configuration loading

On Fri, Apr 30, 2010 at 7:05 PM, Giorgio Sironi
<piccoloprincipeazzurro@xxxxxxxxx> wrote:
>  protected void initialize() {
>    final IExtensionPoint extensionPoint =
>      Platform.getExtensionRegistry().getExtensionPoint(getExtensionPointFullName());
>    System.out.println(extensionPoint);
>     ....
> The result:
> Messing with: it.polimi.chansonnier4.it.polimi.chansonnier1
> Messing with: org.eclipse.smila.connectivity.framework.crawler.web
> Messing with: org.eclipse.smila.connectivity.framework.crawler.jdbc
> Messing with: org.eclipse.smila.connectivity.framework.crawler.filesystem
> Messing with: org.eclipse.smila.connectivity.framework.agent.mock
> Messing with: org.eclipse.smila.connectivity.framework.agent.feed
> Messing with: org.eclipse.smila.connectivity.framework.agent.jobfile
>
> (I added different suffixes to the occurrences of
> it.polimi.chansonnier to see which were the one concatenated to form
> an incorrect bundle name). The first (4) is the bundle name from its
> MANIFEST.MF, while the second (1) is the id attribute of extension in
> plugin.xml. I don't know why they are both used by concatenation
> instead of using one of them like in the other bundles...

It's not that I'm not using
org.eclipse.smila.connectivity.framework.agent for my classes, is it?
It would be a really good joke.
Anyway the problem is in the full name of extension points, which for
my plugin is "it.polimi.chansonnier4" + "it.polimi.chansonnier1",
while for the others is  as usual
"org.eclipse.smila.connectivity.framework.agent" + "mock"|"feed"|...

-- 
Giorgio Sironi
Piccolo Principe & Web Engineer
http://giorgiosironi.blogspot.com
http://twitter.com/giorgiosironi


Back to the top