My guess is this:

<quote>

If so that would be great news; what we really wanted to do is have a 
situation like:
- org.geotools.main plugin
-- contains gt-main-2.6-SNAPSHOT.jar
-- wants to process a factory SPI (looking for every jar with  a 
services file for "org.opengis.filter.Function")

</quote>

It seems you're trying to wrap a plain old JAR in an OSGi bundle. So you would 
deliver an org.geotools.main_2.6.SNAPSHOT.jar bundle (aka Eclipse plugin).  
When you unzip this outer JAR, you get the OSGi manifest and the plain old 
gt-main-2.6-SNAPSHOT.jar.

This wrapping is not really required - after all, an OSGi bundle is nothing but 
a JAR with some extra manifest headers.

If you simply add the extra headers to the MANIFEST.MF in gt-main*.jar, then 
your gt-main*.jar _is_ an OSGi bundle, and you won't even break anything for 
people putting this JAR on their plain old classpath.

The difference is that your META-INF/services/whatever is now a resource in a 
JAR and no longer hidden in a JAR within a JAR.


Ok, I'll give this a try with gt-main and gt-renderer, which may take a couple 
of days, but I'll get back to you on this.

Regards,

Harald 
 
*******************************************
innovative systems GmbH Navigation-Multimedia
Geschaeftsfuehrung: Edwin Summers - Kevin Brown - Regis Baudot 
Sitz der Gesellschaft: Hamburg - Registergericht: Hamburg HRB 59980 
 
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte 
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail 
irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und 
loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe 
dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and delete this e-mail. Any unauthorized copying, 
disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to