ant - Java-based build tool

Distribution: openSUSE 13.2
Repository: openSUSE JAVA all
Package name: ant
Package version: 1.9.6
Package release: 91.2
Package architecture: noarch
Package type: rpm
Installed size: 2.46 MB
Download size: 1.97 MB
Official Mirror:
Apache Ant is a Java-based build tool. In theory, it is kind of like Make, but without Make's wrinkles. Why another build tool when there is already make, gnumake, nmake, jam, and others? Because all those tools have limitations that Ant's original author could not live with when developing software across multiple platforms. Make-like tools are inherently shell-based--they evaluate a set of dependencies then execute commands, not unlike what you would issue in a shell. This means that you can easily extend these tools by using or writing any program for the OS that you are working on. However, this also means that you limit yourself to the OS, or at least the OS type, such as Unix, that you are working on. Makefiles are inherently evil as well. Anybody who has worked on them for any time has run into the dreaded tab problem. "Is my command not executing because I have a space in front of my tab???" said the original author of Ant way too many times. Tools like Jam took care of this to a great degree, but still have yet another format to use and remember. Ant is different. Instead of a model where it is extended with shell-based commands, Ant is extended using Java classes. Instead of writing shell commands, the configuration files are XML-based, calling out a target tree where various tasks are executed. Each task is run by an object that implements a particular task interface. Granted, this removes some of the expressive power that is inherent by being able to construct a shell command such as `find . -name foo -exec rm {}`, but it gives you the ability to be cross-platform--to work anywhere and everywhere. If you really need to execute a shell command, Ant has an <exec> task that allows different commands to be executed based on the OS used.



  • ant = 1.9.6-91.2
  • ant-nodeps = 1.9.6
  • ant-trax = 1.9.6
  • apache-ant = 1.9.6
  • config(ant) = 1.9.6-91.2


  • ant-nodeps < 1.9.6
  • ant-trax < 1.9.6
  • apache-ant < 1.9.6


    Binary package: ant-1.9.6-91.2.noarch.rpm
    Source package: ant-1.9.6-91.2.src.rpm

    Install Howto

    1. Add the openSUSE JAVA repository:
      # zypper addrepo opensuse-java
    2. Install ant rpm package:
      # zypper install ant


    • /etc/ant.conf
    • /etc/ant.d/
    • /usr/bin/ant
    • /usr/bin/antRun
    • /usr/share/ant/
    • /usr/share/ant/bin/antRun
    • /usr/share/ant/etc/ant-update.xsl
    • /usr/share/ant/etc/changelog.xsl
    • /usr/share/ant/etc/coverage-frames.xsl
    • /usr/share/ant/etc/junit-frames-xalan1.xsl
    • /usr/share/ant/etc/log.xsl
    • /usr/share/ant/etc/mmetrics-frames.xsl
    • /usr/share/ant/etc/tagdiff.xsl
    • /usr/share/ant/lib/ant-bootstrap.jar
    • /usr/share/ant/lib/ant-launcher.jar
    • /usr/share/ant/lib/ant.jar
    • /usr/share/doc/packages/ant/KEYS
    • /usr/share/doc/packages/ant/LICENSE
    • /usr/share/doc/packages/ant/NOTICE
    • /usr/share/doc/packages/ant/README
    • /usr/share/doc/packages/ant/WHATSNEW
    • /usr/share/java/ant-bootstrap.jar
    • /usr/share/java/ant-launcher.jar
    • /usr/share/java/ant.jar
    • /usr/share/java/ant/
    • /usr/share/maven-metadata/ant.xml
    • /usr/share/maven-poms/JPP-ant-launcher.pom
    • /usr/share/maven-poms/JPP-ant-parent.pom
    • /usr/share/maven-poms/JPP-ant.pom


    2016-01-15 - - junit4 test did not work (bnc#915686)

    2015-07-29 - - Add xalan-j2-serializer to ant-antlr requirements

    2015-07-28 - - Sync the changes files among the subpkgs - Version bump to 1.9.6: * Read WHATSNEW file for full changelist

    2015-06-21 - - Do better quoting to get better error messages when it fails

    2015-03-18 - - Fix build with new javapackages-tools

    2014-08-28 - - to bootstrap 13.2 we need another split because bsf depends on things that depend on junit and as antlr requires bsf, we need a 3rd step -> split ant-junit to build in between ant and ant-antlr

    2014-07-04 - - Fix building on SLE. - Added patch: * apache-ant-old-gcj-build.patch

    2014-07-04 - - Update to 1.9.4: * Read WHATSNEW file for full changelist * initial support for Java 1.9 * <junit> has now a threads attribute allowing to run the tests in several threads. Bugzilla Report 55925 * TarInputStream will now read archives created by tar implementations that encode big numbers by not adding a trailing NUL.

    2014-05-15 - - fix summary (was antlr summary)

    2014-05-12 - - SLE_11 specific spec files for ant/ant-antlr. These build with openjdk, which introduced bootstrap breakage in Factory. - Update for SLE_11 specific spec's