[sip-comm-dev] Bundle (?!) problem running slickless tests - work on file transfer via sip


#1

Hello fellow devs,

Beforehand, let me apologise for my previous email where i forgot to put
the [sip-comm-dev] in the subject, i was under the naive impression that
this was done automaticly.

I'm working on adding file transfer over SIP on sip-communicator,
following the prototype i made for GSoC, i want to implement this with
the updated version of the specifications and with proper slick tests. I
started by correcting the actual sip tests (that originated my previous
e-mail) and now i'm having problems running the slick test i wrote for
the file transfer. Now i have a problem, the output of the /ant test
/command is on the attached file.
I interpret it (take into consideration that i'm a Felix newbie user,
and not taking into account the first error) that the felix doesn't know
the javax.sdp.SdpException class that is thrown by my code (because if i
comment my slick tests and don't add my new file transfer operation set
on the .initialize() of the SIP protocol provider service implementation
[ProtocolProviderServiceSipImpl.java] the error doesn't occur, [i
haven't tried yet to just comment the tests and leave the register,
although the problem seems not to be from the tests]) I tried to add
the media.jar bundle (that from what i have seen on build.xml has the
javax.sdp classes) to a line where all the slick jars are on
felix.unit.test.properties but with no results. I expect that if the
exception is correctly thrown by the code that it should give me more
insight on where the error is. What am i missing here?

Thanks in advance,
Jo�o Antunes

output (9.22 KB)


#2

Hey Joao,

João Antunes wrote:

Hello fellow devs,

Beforehand, let me apologise for my previous email where i forgot to put
the [sip-comm-dev] in the subject, i was under the naive impression that
this was done automaticly.

It is actually :slight_smile: so your impression was not at all naive.

I'm working on adding file transfer over SIP on sip-communicator,
following the prototype i made for GSoC, i want to implement this with
the updated version of the specifications and with proper slick tests. I
started by correcting the actual sip tests (that originated my previous
e-mail) and now i'm having problems running the slick test i wrote for
the file transfer. Now i have a problem, the output of the /ant test
/command is on the attached file.
I interpret it (take into consideration that i'm a Felix newbie user,
and not taking into account the first error) that the felix doesn't know
the javax.sdp.SdpException class that is thrown by my code (because if i
comment my slick tests and don't add my new file transfer operation set
on the .initialize() of the SIP protocol provider service implementation
[ProtocolProviderServiceSipImpl.java] the error doesn't occur, [i
haven't tried yet to just comment the tests and leave the register,
although the problem seems not to be from the tests]) I tried to add
the media.jar bundle (that from what i have seen on build.xml has the
javax.sdp classes) to a line where all the slick jars are on
felix.unit.test.properties but with no results. I expect that if the
exception is correctly thrown by the code that it should give me more
insight on where the error is. What am i missing here?

The javax.sdp classes are indeed in the media package, it doesn't export
them though. The reason for this is that when we first designed the
media package we thought that that's the only place where we'd need to
access sdp.

Things have changed since and we are now planning to move SDP processing
to the SIP package since other protocols like XMPP for example use
different means of session negotiation.

The easiest way for your would be to include the javax.sdp packages into
the sip package. That would certainly introduce a redundancy but it
would work and eventually we'll remove them from media.

Hope this helps
Emil

···

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