My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
DevelopmentSetup  
Setup and configuration of development environment.
Phase-Implementation, Featured
Updated Nov 10, 2008 by UNorbisr...@gmail.com

This is only valid for the old f2f version. For newer developments look at the documentation at http://f2f.ulno.net/development

Requirements

  • jdk-6 (jdk-5 is not possible because we are using couple of methods from jdk-6)
  • Eclipse >= 3.2
it is possible that we relax requirements to jdk-5 later

SIP Communicator

Checkout

Checkout SIP Communicator (SC) from the SC SVN repository, revision 3645.

Configure and compile

  1. copy .project and .classpath files from ide/eclipse to the project root (hint: use resource perspective)
    • you may need to remove a couple of missing libraries from the build path
    • you may need to fix ant.jar location in the build path (use variable -> ECLIPSE_HOME -> extend)
  2. remove excessive jdic_stub.jars from the build path (otherwise you may get error with the tray icon)
  3. convert project to PDE project
    • right click on project -> PDE tools -> convert
  4. open META-INF/MANIFEST.MF -> runtime and export all net.java.sip.communicator packages
  5. fix any errors
  6. run ant with build.xml make
  7. run ant with build.xml run (this copies OS-specific bundles to the right place, and starts SIP Communicator)

F2F

checkout

  1. checkout java/F2F from the repository

apply patch to SC project

  1. apply the patch file "Sip Communicator patch.txt" as a patch to SC project in Eclipse (project's context menu -> Team -> Apply patch), apply with a fuzziness of 16
  2. build SC

compile

  1. fix any errors
  2. run ant with build.xml make

configure and run

  1. run SIP
    • set class to net.java.sip.communicator.launcher.SIPCommunicator
    • set VM arguments to (replace linux with your operating system)
    • -Dfelix.config.properties=file:../F2F/felix.client.run.properties
      -Djava.util.logging.config.file=../F2F/conf/logging.properties
      -Dnet.java.sip.communicator.SC_HOME_DIR_LOCATION=../F2F/sip-communicator-profiles
      -Dnet.java.sip.communicator.SC_HOME_DIR_NAME=01
      -Djava.library.path=lib/native/linux
      -Djava.security.policy=file:../F2F/mypolicy.policy
      -Djava.rmi.server.codebase=file:sc-bundles/f2fgathererrmi.jar
      -Dee.ut.f2f.F2F_PROPERTIES_FILE=../F2F/conf/F2FComputing.properties
      -Xmx512m

Sign in to add a comment
Powered by Google Project Hosting