O'Reilly logo

Clojure Recipes by Julian Gamble

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required