[sip-comm-dev] Jabber library upgrade


#1

hi,

here's a patch for upgrading the Smack Library from 2.2.1 to
3.0.0beta3. This library is needed by the Jabber
ProtocolProviderService implementation and maybe the future Jingle
implementation. I've notice a strange thing about invisibility status,
I do not know if the list already discuss about that. Jabber protocol
does not specify the invisibility status. An extension XEP-0126:
Invisibility add this functionality, but it is not supported in the
Smack library and by many Jabber server. Maybe we should remove the
invisible icon from the roster because when we select it, we simply
keep visible :slight_smile: By the way, selective visibility could be managed
with PrivacyList.

Guillaume

jabber_smack-v3b3.patch (32 KB)


#2

Aaah! Good job Guillaume! Thank you!

Have you tried it on 1.4? I know you told me smack requires 1.5. Maybe we'd also need a retroweaved version of smack.

Emil

Guillaume Schreiner wrote:

···

hi,

here's a patch for upgrading the Smack Library from 2.2.1 to
3.0.0beta3. This library is needed by the Jabber
ProtocolProviderService implementation and maybe the future Jingle
implementation. I've notice a strange thing about invisibility status,
I do not know if the list already discuss about that. Jabber protocol
does not specify the invisibility status. An extension XEP-0126:
Invisibility add this functionality, but it is not supported in the
Smack library and by many Jabber server. Maybe we should remove the
invisible icon from the roster because when we select it, we simply
keep visible :slight_smile: By the way, selective visibility could be managed
with PrivacyList.

Guillaume

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi Guillaume,

I just saw that there is such thing as reconnection in smack 3.0. Have you look at this - how it works ?
The libs are successfully retroweaved :slight_smile:
Have you run the tests ?

damencho

Guillaume Schreiner wrote:

···

hi,

here's a patch for upgrading the Smack Library from 2.2.1 to
3.0.0beta3. This library is needed by the Jabber
ProtocolProviderService implementation and maybe the future Jingle
implementation. I've notice a strange thing about invisibility status,
I do not know if the list already discuss about that. Jabber protocol
does not specify the invisibility status. An extension XEP-0126:
Invisibility add this functionality, but it is not supported in the
Smack library and by many Jabber server. Maybe we should remove the
invisible icon from the roster because when we select it, we simply
keep visible :slight_smile: By the way, selective visibility could be managed
with PrivacyList.

Guillaume
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Hi,

The libs are successfully retroweaved - without errors but when we run it there is an exception :
java.lang.NoClassDefFoundError: java/util/concurrent/ConcurrentHashMap
    at org.jivesoftware.smack.provider.ProviderManager.<init>(ProviderManager.java:122)

We were using retroweaver 2.0Beta4. I switched to the final 2.0 release without success :frowning:

damencho

Emil Ivov wrote:

···

Aaah! Good job Guillaume! Thank you!

Have you tried it on 1.4? I know you told me smack requires 1.5. Maybe we'd also need a retroweaved version of smack.

Emil

Guillaume Schreiner wrote:

hi,

here's a patch for upgrading the Smack Library from 2.2.1 to
3.0.0beta3. This library is needed by the Jabber
ProtocolProviderService implementation and maybe the future Jingle
implementation. I've notice a strange thing about invisibility status,
I do not know if the list already discuss about that. Jabber protocol
does not specify the invisibility status. An extension XEP-0126:
Invisibility add this functionality, but it is not supported in the
Smack library and by many Jabber server. Maybe we should remove the
invisible icon from the roster because when we select it, we simply
keep visible :slight_smile: By the way, selective visibility could be managed
with PrivacyList.

Guillaume

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#5

Gotcha - now everything is ok and working :slight_smile: Just missing libraries till retroweaving :wink:

damencho

Damian Minkov wrote:

···

Hi,

The libs are successfully retroweaved - without errors but when we run it there is an exception :
java.lang.NoClassDefFoundError: java/util/concurrent/ConcurrentHashMap
   at org.jivesoftware.smack.provider.ProviderManager.<init>(ProviderManager.java:122)

We were using retroweaver 2.0Beta4. I switched to the final 2.0 release without success :frowning:

damencho

Emil Ivov wrote:

Aaah! Good job Guillaume! Thank you!

Have you tried it on 1.4? I know you told me smack requires 1.5. Maybe we'd also need a retroweaved version of smack.

Emil

Guillaume Schreiner wrote:

hi,

here's a patch for upgrading the Smack Library from 2.2.1 to
3.0.0beta3. This library is needed by the Jabber
ProtocolProviderService implementation and maybe the future Jingle
implementation. I've notice a strange thing about invisibility status,
I do not know if the list already discuss about that. Jabber protocol
does not specify the invisibility status. An extension XEP-0126:
Invisibility add this functionality, but it is not supported in the
Smack library and by many Jabber server. Maybe we should remove the
invisible icon from the roster because when we select it, we simply
keep visible :slight_smile: By the way, selective visibility could be managed
with PrivacyList.

Guillaume

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#6

Hi damencho,

Sorry for the late answer, I was busy for a few days because of work.
I'm glad everything is working with the fresh new retroweaved Smack
library ! I'm currently cleaning the code for the
geolocation support implemented with the Jabber protocol. It is
already working and I hope I could share the code at the end of the
week-end.

guillaume

···

2007/4/4, Damian Minkov <damencho@damencho.com>:

Gotcha - now everything is ok and working :slight_smile: Just missing libraries till
retroweaving :wink:

damencho

Damian Minkov wrote:
> Hi,
>
> The libs are successfully retroweaved - without errors but when we run
> it there is an exception :
> java.lang.NoClassDefFoundError: java/util/concurrent/ConcurrentHashMap
> at
> org.jivesoftware.smack.provider.ProviderManager.<init>(ProviderManager.java:122)
>
> We were using retroweaver 2.0Beta4. I switched to the final 2.0
> release without success :frowning:
>
> damencho
>
> Emil Ivov wrote:
>> Aaah! Good job Guillaume! Thank you!
>>
>> Have you tried it on 1.4? I know you told me smack requires 1.5.
>> Maybe we'd also need a retroweaved version of smack.
>>
>> Emil
>>
>> Guillaume Schreiner wrote:
>>> hi,
>>>
>>> here's a patch for upgrading the Smack Library from 2.2.1 to
>>> 3.0.0beta3. This library is needed by the Jabber
>>> ProtocolProviderService implementation and maybe the future Jingle
>>> implementation. I've notice a strange thing about invisibility status,
>>> I do not know if the list already discuss about that. Jabber protocol
>>> does not specify the invisibility status. An extension XEP-0126:
>>> Invisibility add this functionality, but it is not supported in the
>>> Smack library and by many Jabber server. Maybe we should remove the
>>> invisible icon from the roster because when we select it, we simply
>>> keep visible :slight_smile: By the way, selective visibility could be managed
>>> with PrivacyList.
>>>
>>> Guillaume
>>>
>>> ------------------------------------------------------------------------
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
>>> For additional commands, e-mail: dev-help@sip-communicator.dev.java.net
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
>> For additional commands, e-mail: dev-help@sip-communicator.dev.java.net
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net