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
- 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)
- remove excessive jdic_stub.jars from the build path (otherwise you may get error with the tray icon)
- convert project to PDE project
- right click on project -> PDE tools -> convert
- open META-INF/MANIFEST.MF -> runtime and export all net.java.sip.communicator packages
- fix any errors
- run ant with build.xml make
- run ant with build.xml run (this copies OS-specific bundles to the right place, and starts SIP Communicator)
F2F
checkout
- checkout java/F2F from the repository
apply patch to SC project
- 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
- build SC
compile
- fix any errors
- run ant with build.xml make
configure and run
- 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