there is a META-INF/services/no.sesat.search.sitemap.PageProviderv 

https://dev.schibstedsok.no/svn/search-config-se/genericse.sesam.se/branches/2.16/sesam.se/sitemap/src/main/resources/META-INF/services/

The problem is when we building 
"sesam.se-sitemap-2.16-SNAPSHOT-jar-with-dependencies.jar", maven don't include:
/services/no.sesat.search.sitemap.PageProvider

?

/AB



-----Ursprungligt meddelande-----
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] För Mick Semb Wever
Skickat: den 3 april 2008 11:28
Till: [email protected]
Ämne: Re: [Kernel-development] Implement sitemap for sesam.se


> The sitemap script is running but the SiteMapGenerator don't find my
> provider. I think it is the Serviceloader mechanism that doesnt work..?

In sesam.se-sitemap-2.16-SNAPSHOT-jar-with-dependencies.jar
 you need to edit META-INF/services/no.sesat.search.sitemap.PageProvider

http://sesat.no/projects/sesat-kernel/apidocs/no/sesat/search/sitemap/PageProvider.html
http://sesat.no/projects/sesat-kernel/apidocs/no/sesat/sitemap/SitemapGenerator.html
http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html

~mck

-- 
"Anyone who has attended a computer conference in a fancy hotel can tell you
that a sentence like "You're one of those computer people, aren't you?" is
roughly equivalent to "Look, another amazingly mobile form of slime mold!" in
the mouth of a hotel cocktail waitress." Elizabeth Zwicky
| www.semb.wever.org | www.sesat.no | www.sesam.no |

_______________________________________________
Kernel-development mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-development
_______________________________________________
Kernel-development mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-development

Reply via email to