JonDo sources

From JonDonym Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
<iimg>[[JonDo sources]]![[Image:en.png]]</iimg><iimg>[[JonDo sources/de]]![[Image:de.png]]</iimg>
 
<iimg>[[JonDo sources]]![[Image:en.png]]</iimg><iimg>[[JonDo sources/de]]![[Image:de.png]]</iimg>
 
==JonDo Sources==
 
==JonDo Sources==
 +
===Getting the sources and building JonDo===
 
The sources of JonDo are available in two subversion repositories. The main repository ist hosted by JonDos GmbH. TU Dresden offers a backup repository.  
 
The sources of JonDo are available in two subversion repositories. The main repository ist hosted by JonDos GmbH. TU Dresden offers a backup repository.  
  
Line 24: Line 25:
 
After a successful build process, you will find the JAR files with and without dependencies in the subdirectory ''target/''. You might want to rename them and start JonDo as usually:
 
After a successful build process, you will find the JAR files with and without dependencies in the subdirectory ''target/''. You might want to rename them and start JonDo as usually:
 
  <code>java -jar JAP.jar</code>
 
  <code>java -jar JAP.jar</code>
 +
===Adding new features to JonDo===
 +
If you want to play wht the code or fix some bugs or even add some new features then just do the following. Choose the relevant library and there the proper source file and implement your changes. Afterwars go to the trung-directory of this library (where the pom.xml) is located) and run:
 +
<code>mvn install</code>
 +
Then go to the /jap/trunk directory and run again:
 +
<code>mvn package</code>
 +
in order to incorporate your new code into the JonDo. This seems quite easy and, indeed, it is provided you avoid some pitfalls:

Revision as of 11:03, 26 March 2010

File:En.png File:De.png

JonDo Sources

Getting the sources and building JonDo

The sources of JonDo are available in two subversion repositories. The main repository ist hosted by JonDos GmbH. TU Dresden offers a backup repository.

JonDo consists of 4 components:

  1. anonlib: base library for JonDo
    1. Subversion repository hosted by JonDos GmbH: https://svn.jondos.de/svn/anonlib/anonlib/trunk
    2. Subversion repository hosted by TU Dresden: https://subversion.inf.tu-dresden.de/svn/anonlib/anonlib/trunk
    3. Browse the sources online at: http://anon.inf.tu-dresden.de/develop/doc/anonlib/
  2. guilib: the GUI library of JonDo
    1. Subversion repository hosted by JonDos GmbH: https://svn.jondos.de/svn/guilib/guilib/trunk
    2. Subversion repository hosted by TU Dresden: https://subversion.inf.tu-dresden.de/svn/guilib/guilib/trunk
  3. logginglib: library with logging functions
    1. Subversion repository hosted by JonDos GmbH: https://svn.jondos.de/svn/logginglib/logginglib/trunk
    2. Subversion repository hosted by TU Dresden: https://subversion.inf.tu-dresden.de/svn/logginglib/logginglib/trunk
  4. JAP: the JonDo application
    1. Subversion repository hosted by JonDos GmbH: https://svn.jondos.de/svn/Jap/Jap/trunk
    2. Subversion repository hosted by TU Dresden: https://subversion.inf.tu-dresden.de/svn/Jap/Jap/trunk
    3. Browse the sources online at: http://anon.inf.tu-dresden.de/develop/doc/jap/

A Java-JDK (Sun-Java6 or OpenJDK6) and the tools ant and maven2 are needed to build JonDo. It is only required to check out JAP (4.). All required Java libraries will be downloaded and compiled by the build tool maven2.

 cd JAP/trunk
 mvn package

After a successful build process, you will find the JAR files with and without dependencies in the subdirectory target/. You might want to rename them and start JonDo as usually:

java -jar JAP.jar

Adding new features to JonDo

If you want to play wht the code or fix some bugs or even add some new features then just do the following. Choose the relevant library and there the proper source file and implement your changes. Afterwars go to the trung-directory of this library (where the pom.xml) is located) and run:

mvn install

Then go to the /jap/trunk directory and run again:

mvn package

in order to incorporate your new code into the JonDo. This seems quite easy and, indeed, it is provided you avoid some pitfalls:

Personal tools