Create the contact source bundle and export the ContactSourceService.

cusax-fix
Yana Stamcheva 16 years ago
parent 5483ffc984
commit 7fb96481e8

@ -894,7 +894,8 @@
bundle-argdelegation,bundle-zrtp4j,
bundle-filehistory,bundle-metahistory,bundle-metahistory-slick,
bundle-plugin-facebookaccregwizz,
bundle-bouncycastle,bundle-plugin-otr,bundle-plugin-iptelaccregwizz"/>
bundle-bouncycastle,bundle-plugin-otr,bundle-plugin-iptelaccregwizz,
bundle-contactsource"/>
<!--BUNDLE-SC-LAUNCHER-->
<target name="bundle-sc-launcher">
@ -2289,4 +2290,13 @@ org.apache.http.util"/>
</jar>
</target>
<!-- BUNDLE-PROTOCOL -->
<target name="bundle-contactsource">
<!-- Creates a bundle containing the contact source interfaces.-->
<jar compress="false" destfile="${bundles.dest}/contactsource.jar"
manifest="${src}/net/java/sip/communicator/service/contactsource/contactsource.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/contactsource"
prefix="net/java/sip/communicator/service/contactsource"/>
</jar>
</target>
</project>

@ -92,7 +92,8 @@ felix.auto.start.60= \
reference:file:sc-bundles/metahistory.jar \
reference:file:sc-bundles/audionotifier.jar \
reference:file:sc-bundles/keybindings.jar \
reference:file:sc-bundles/notification.jar
reference:file:sc-bundles/notification.jar \
reference:file:sc-bundles/contactsource.jar
felix.auto.start.66= \
reference:file:sc-bundles/swing-ui.jar \

@ -117,7 +117,7 @@ public String getContactAddress()
* the given <tt>opSetClass</tt>
*/
public ProtocolProviderService getPreferredProtocolProvider(
Class<OperationSet> opSetClass)
Class<? extends OperationSet> opSetClass)
{
return preferredProviders.get(opSetClass);
}

@ -0,0 +1,7 @@
Bundle-Name: Contact Source Service Interfaces
Bundle-Description: ContactSource Service.
Bundle-Vendor: sip-communicator.org
Bundle-Version: 0.0.1
System-Bundle: yes
Import-Package: org.osgi.framework
Export-Package: net.java.sip.communicator.service.contactsource
Loading…
Cancel
Save