Subversion repository

The complete iText project (JAVA) is stored in an SVN repository; iTextSharp (C#) is stored in a CVS repository. You'll find more information on accessing these repositories on SourceForge. Note that there are some important differences between SVN and CVS.

SVN Trunk

Please don't download the complete repository. If you do, you'll soon find out why not: it will take a lot of time and disk space, and you'll end up with plenty of code you'll never look at.

If you don't have any specific needs, downloading the SVN trunk will be sufficient:

svn co https://itext.svn.sourceforge.net/svnroot/itext/trunk main

When you've downloaded the trunk you'll find five subdirectories:

  1. lib: a series of jars that are used in the build process.
  2. src: the iText source code with the following subdirectories:
    • core: the source code for the iText-core library
    • rtf: the source code for the iText-rtf library
    • rups: the source code for the iText-rups application
    • jnlp: the JNLP files for the Java Web Start applications
    • ant: the ant scripts needed by build.xml (the main ANT script used to build the project) and test.xml (the ANT script to test the library)
  3. test: the source code for the junit tests. This directory consists of:
    • core: tests for the core library (without a GUI)
    • swing: tests for the core library (using Swing)
    • rtf: tests for the RTF library
  4. examples: a set of ready-to-use examples. See 1t3xt.info for more information
  5. www: the files that are used to build the site and the tutorial (will be replaced soon)

The code in the trunk compiles with the JDK 1.4. If you need to compile your code with the JDK 1.3, you'll have to download another SVN branch:

Branches

The adaptation of new Java versions on the server side is much slower than the adaptation of new Java versions on the client side. Although the JDK 1.3 is really old, we still get requests for a version of iText that compiles with the JDK 1.3 once in a while. You can obtain such a version like this:

svn co https://itext.svn.sourceforge.net/svnroot/itext/branches/iText-jdk13/ main13

If you insist on compiling the code using the JDK 1.5, you can do so after downloading the JDK 1.5 branch:

svn co https://itext.svn.sourceforge.net/svnroot/itext/branches/iText-jdk15/ main15

Finally, there's also a branch that is maintained especially for Actuate/The Eclipse Foundation/IBM. They use iText in Eclipse BIRT and this version has been completely approved by IBM lawyers:

svn co https://itext.svn.sourceforge.net/svnroot/itext/branches/15x/ itext

Note that this is an old version of iText (the last one before we switched to iText 2.x.y). You should use a more recent version if possible. Talking of old versions:

Tags

if for some reason you need the source code of an old iText version, you can get some of the versions since iText 0.3.9 like this:

svn co https://itext.svn.sourceforge.net/svnroot/itext/tags/iText_1_4_2/ itext

This line downloads the source directory for iText 1.4.2. Please check the tags directory to find out which versions are available.

It goes without saying that people with some SVN experience will be able to get much more information out of the SVN repository (snapshots taken at a specific date and time; differences between versions; and so on).

 
Copyright © 2008 by 1T3XT
Hosted by Hostbasket