We have an integration with [Apache Ant|http://ant.apache.org/] which is “a Java-based build tool”. It is now possible to send messages to Apache ESME that describe the progress of your build steps. This is especially useful when Apache ESME is being in development projects where individual developers can be made aware of the status of various-build related actions. For example, a development team could be informed that a build is broken or if it is successful. h4. Setup # Install Apache Ant # Install Apache Maven # Download the Apache Commons packages ["Codec"|http://commons.apache.org/codec/] and [Logger|http://commons.apache.org/logging/download_logging.cgi]. We also need [Apache "Httpclient|http://hc.apache.org/] . Please note that we are currently using the legacy 3.1 version of the HTTP Client.  # Check-out the ESME java client: \_[https://svn.apache.org/repos/asf/esme/trunk/esme-java-client\_|https://svn.apache.org/repos/asf/esme/trunk/esme-java-client_] # Perform a maven build in this directory with the following command "_mvn compile package \-Dmaven.test.skip=true_" . This will create a jar file "esme-rest-api-0.1.jar" in the target directory.  # Create \_lib _directory and copy "rest-api-0.1-SNAPSHOT.jar", "commons-codec-1.2.jar", "commons-httpclient-3.1.jar" into this directory.  # Create _src_ directory and copy the "EsmeAntTask.java" file to this directory # Change the build.xml file to point to the appropriate directories # Change the token in the "esme" target in the build.xml file to a correct token. # Change the proxy in the "esme" target in the build.xml file to a correct proxy. # call _ant dist esme_ to test the application h4. Build.xml {code:lang=xml} {code} h4. EsmeAntTask java class {code} import org.apache.esme.api.EsmeRestApi; import org.apache.esme.model.Message; public class EsmeAntTask { public static void main (String[] args) { String apiUrl; String authToken; String localProxy; String message; EsmeRestApi esme; apiUrl = args[0]; authToken = args[1]; localProxy = args[2]; message = args[3]; try { esme = new EsmeRestApi(apiUrl); if ((localProxy != null) && !("".equals(localProxy))) { // Split proxyHost:port into two parts String[] proxy = localProxy.split(":"); esme.setProxy(proxy[0], Integer.parseInt(proxy[1])); } esme.login(authToken); Message esmeMsg = new Message(); esmeMsg.setBody(message); String[] tags = new String[1]; tags[0] = "Ant Task"; esmeMsg.setTags(tags); esmeMsg.setSource("Ant"); esme.sendMsg(esmeMsg); } catch (Exception e) {} } } {code}