This site is no longer active; it remains as a historical reference.
For the latest version of JWare Software visit jwaresoftware.org
Like most Ant extensions, the JWare/AntXtras Svn4Ant package (Svn4Ant) is a Java-based library. The release consists of three independent components: binaries, api-docs, and source. Only the most recent release can be downloaded from this website; for older releases, visit the AntX SourceForge.net
files release archive. The binary distributions are always compiled with symbols and other debugging options turned on to aid bug reporting and diagnosis.
Every released Svn4Ant component has an associated MD5 hash value and gpg-generated signature so you can verify its integrity. To authenticate the various components with any PGP or GPG application, download our KEYS file from this website only and import them into your public keyring.
The current release has been verified against the Windows and Linux Sun J2SE 1.4.2 platform and the Ant 1.6.5 and Ant 1.7.0 distributions as minimums. Up-to-date installation instructions, release notes, licenses, and known issues are available for your perusal before download.
Installing Svn4Ant
Svn4Ant's installation is similar to any optional Ant package. The following instructions describe how to install and verify Svn4Ant in your runtime environment.
- If you haven't already done so, download and install an Ant distribution at least version 1.6.5. Verify that Ant is properly installed. AntX only uses components of the standard Ant distribution; optional tasks are not required.
- Download, verify, and extract an Svn4Ant distribution. For the first-time user we suggest you download the binary distribution that includes the third-party libraries that Svn4Ant requires (this is the “_withdeps” distribution).
- If you must manually generate all binaries for your environment, download the source-only distribution. The included ez‑build.xml Ant build file can generate a default distribution from the source. Be sure you download the required third-party libraries and configure the ez‑build.properties file for your environment. You must use JDK version 1.4.2 or later to generate the release using the ez-build.xml Ant file.
In the remaining steps we will use <SVN4ANT_DIR> to refer to the directory into which the Svn4Ant distribution was extracted or built.
- Update your Ant runtime environment to include the Svn4Ant jar file <SVN4ANT_DIR>/lib/svn4ant.jar and all required Svn4Ant third-party jars in its classpath. There are several ways of telling Ant about third-party jar files; the easiest method is to copy the files into your Ant distribution’s lib directory. A safer approach is to install Svn4Ant in its own location and update the CLASSPATH used when you run Ant (for example, by using the -lib option or a custom $HOME/.antrc file). See “Running Ant” for details.
- Verify the Svn4Ant tasks are accessible from Ant. The easiest way to do this is to run Ant against this starter build file. This build file doesn’t actually do anything except declare several Svn4Ant task and type definitions. If Ant is unable to locate the Svn4Ant classes, even this simple build file will fail.
- Read the “JWare/AntXtras Svn4Ant User Guide”(pdf) or the [overview] page for a general description of the most useful Svn4Ant components.
- Start using Svn4Ant!
Svn4Ant Dependencies (Build Your Own Svn4Ant
)
If you would like to compile the source distribution, Svn4Ant is dependent on a few other open-source offerings that you must download and install before trying to compile your own Svn4Ant binaries. These dependencies are listed below: