This is the easiest way to obtain the most recent release and/or version
(a release contains the most recent working code / a version contains the most
recent code, but it's not guaranteed to work).
Just download ANT from
jakarta.apache.org, install it and
run it with the
iText build.xml file.
If you don't specify a target, the 'help' target will be called:
Buildfile: build.xml
help:
[echo] Using ANT for iText
[echo]
[echo] INSTALLING iText
[echo] ant install: downloads and installs the most recent release in one command
[echo] ant install.cvs: downloads and installs the current CVS version in one command
[echo]
[echo] GETTING THE CODE
[echo] ant checkout: checks out the code from CVS
[echo] ant download: downloads some files needed to build a release
[echo] ant download.cvs: downloads the most recent VERSION of the code
[echo] ant download.site: downloads the most recent RELEASE of the code
[echo]
[echo] COMPILING THE CODE
[echo] ant compile: compiles iText without RTF and XML functionality
[echo] ant compileWithXML: compiles iText completely
[echo]
[echo] JARRING THE CODE
[echo] ant jar: compiles and jars iText without RTF and XML functionality
[echo] ant jarWithXML: compiles and jars iText completely
[echo]
[echo] ARCHIVING THE SOURCE
[echo] ant srczip: makes zipfiles with the sourcecode
[echo] ant srctargz: makes tar.gz-files with the sourcecode
[echo]
[echo] DOCUMENTATION
[echo] ant javadoc: generates the API documentation
[echo] ant docstargz: generates the API docs and puts them in a tar.gz-file
[echo] ant tutorialtargz: generates several tar.gz-files with documentation (tutorial, examples,...)
[echo] ant examples: generates most of the PDF files of the tutorial
[echo]
[echo] RELEASE
[echo] ant release: makes a complete iText release
[echo] ant -Dnumber=XXX release.sf: prepares a release XXX for sourceforge
BUILD SUCCESSFUL
Total time: 2 seconds
If you really want the whole iText (source, jars, documentation, tutorial, source of the examples and the resulting pdf's),
you should run 'ant install'. This will install the most recent working release.
If you want the most recent version, you can run 'ant install.cvs'.
Important: to use the CVS functionality,
you need a CVS client on your system!
In most cases, you will only need to run 'ant download.site' (or 'ant download.cvs'),
followed by 'ant jar' or 'ant jarWithXML'.