[sip-comm] Trouble obtaining access to SIP-Communicator


#1

Hello,

I am trying to join the SIP-Communicator project as an
observer. I followed all the instructions to add the
files and so on, but when I try to run the files I
get the following error:

"Could not find the main class. Program will exit."

I followed this tutorial:

http://www.sip-communicator.org/index.php/Documentation/ConfigureEclipse
New

Should I be able to see all the files after completing
it. The only thing is the ant rebuild(Not sure if
that needs to be done).

Thanks,

Denis Kutman

···

____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz

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


#2

Hi Denis,

when running SIP Communicator directly from Eclipse, you're actually calling OSGI's entry point (net.java.sip.communicator.launcher.SIPCommunicator
) and you tell it where to look for its configuration files (-Dfelix.config.properties=
...). Afterwards, the OSGI itself is going to try to load the necessary bundles, which do not exist if you don't call "ant rebuild" beforehand (you can build ant targets from within Eclipse). Another important point is that you HAVE to do this every time you make changes to the code (which is not that obvious since you always have some OLD version of the bundles to run and you're going to execute the old code over and over again wondering why the changes you make don't work).

In two words: "ant rebuild"
In more words: "ant rebuild" whenever you make changes to the code (or "ant make" - it does the same work in most of the situations (it does not when you add/delete files) and it's faster)

Hope this helps! Don't hesitate to ask if you have any problems!

Regards,
Alex

···

Le 1 août 07 à 23:35, Denis Kutman a écrit :

Hello,

I am trying to join the SIP-Communicator project as an
observer. I followed all the instructions to add the
files and so on, but when I try to run the files I
get the following error:

"Could not find the main class. Program will exit."

I followed this tutorial:

http://www.sip-communicator.org/index.php/Documentation/ConfigureEclipse
New

Should I be able to see all the files after completing
it. The only thing is the ant rebuild(Not sure if
that needs to be done).

Thanks,

Denis Kutman

____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz

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

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