Eclipse configuration of SIP-comunicator

Source: Internet
Author: User
    • Install subclipse plugin

There are currently 2 versions of subclipse and you shoshould use the latest for retrieving sip communicator files. however, if you try to directly install this one you will run into Somme issues about eclipse asking you to install other plugins (E. g Buckminster) to make it work.

This problem may be avoided by installing the earlier subclipse and then by updating it to the latest version. Here are the steps you shoshould follow:

1. Visit the subclipse installation site-http://subclipse.tigris.org/install.html and choose the URL below when creating new Remote Installation site :

 

Name: subclipse 1.0.x (eclipse 3.0/3.1)
URL: http://subclipse.tigris.org/update_1.0.x

 

2. After successfully installing it, from Help Menu, select Software Updates And then click on Manage Configuration .

 

 

3. In the left panel eclipse displays all the installed features. Choose subclipse and then click on Scan for updates In the right panel.

 

 

4. eclipse will search for newer versions of subclipse and will supply the one needed for SIP communicator; proceed in the same manner as you did when installing subclipse 1.0.

 

 

    • Start eclipse
      FromFileMenu selectNewAnd then click onProject

 

    • Click Next.Select a wizardScreen appears
      UnfoldSVNAnd then selectCheckout projects from SVN

 

    • Click Next.Create locationScreen appears
      SelectCreate a new repository location
    • Click Next.Repository locationScreen appears
      In the URL field enter the following reference: https://sip-communicator.dev.java.net/svn/sip-communicator/trunk

 

    • Click Next.Accept Digital CertificateScreen appears

 

    • ClickAccept temporarilyOrAccept permanently. The check out screen appears
      Select the first folder in the tree.

 

    • Click Next.Check outScreen appears
      SelectCheck out as a project in the Workspace
      EnterSip-CommunicatorAs a project name.

 

    • Click Finish .. And wait (it takes a while to download all libraries)

 

Setting up eclipse for SIP Communicator
    • Copy the files. ProjectAnd. ClasspathFrom project_dir/IDE/eclipse to project_dir
Note for Unix/Linux users: Remember files starting with a dot ( . ) Can be hidden by default. So if you don't See Those two files, do not panic. It don't means they aren't there. Just use the appropriate option of your Explorer to show hidden files or Ls- To display them in the console.
    • Right button click on the project in the package explorer and selectRefresh.
    • Done.
Earlier than eclipse 3.3 version
    • Edit your build path. remove the ant-library and add a new entry for the previous location of the ant-library. "Add variable", extend "eclipse_home" and search the ant library. usually it is eclipse_home/plugins/org. apache. ant_1.6.5/lib/ant. jar
Run ant through eclipse

Eclipse has an integrated ant plug-in, which allows you to run all ant targets within the IDE. you cocould use this functionality in two ways. you cocould use the ant view from (window → show view → ant) to which you can drag-and-drop the build. XML. or you cocould use the Outline View to browse the targets just when the build. XML file is open in the editor.

In order to compile the project you need to runRebuildTarget. In order to run the project you needRunTarget.When building the first time or after callingCleanThe target-Deploy-OS-specific-BundlesHas to be called to deploy all bundles, which are specific for your operating system.If no OS-specific bundles have been deployed, SIP communicator may not start, or certain features (e.g. The system-tray icon on MS-Windows) will not be available.

Configure run and debug through eclipse
    • Open the run Configuration window in eclipse.
    • Click the "new" button to create a new run configuration. in the right panel of the new configuration enter the name of your project and enter the net. java. sip. communicator. launcher. sipcommunicator as a project main class.

 

    • In the "arguments" tab of the Configuration Add the following two arguments in the section "VM arguments ":
-Dfelix. config. properties = file: lib/Felix. Client. Run. properties-djava. util. Logging. config. File = lib/logging. Properties
    • If you want to debug the program internationalized, then add your language settings into the "program arguments ".Note: Currently available versions are English, German and Bulgarian. For the complete list have a look in the packageNet. java. Sip. communicator. impl. Gui. i18n

 

    • In the "Environment" tab of the Configuration Add a new variable called path and let it point to the system path and additionally to the library path for your system. For Windows this is

      • % PATH %;./lib/native/windows.

Note: before running this project, you must first run ant and the ant parameter is rebuild.

 

In my own experience, running ant rebuild still reports two bundle exceptions, and directly running ant rebuild run does not.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.