25. Bundling Clojure as an Ant Plug-in

This chapter is about building a library as a plug-in for Ant. In this case, we’ll add extra user interactivity.

Sometimes you want to augment your ant scripts to provide user feedback or even get parameters from the user. For example, you could be asking for a version control label name.

We’re going to produce a Clojure project that extends an Ant class, package it up as a jar file, and then call our Clojure program from Ant. This will give us a graphical result that we can use to change the control flow of the Ant script.

Assumptions

In this chapter we assume the following:

Image You work in an environment ...

Get Clojure Recipes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.