Forum Samples, Tips and Tricks

Ant Task

Hi all.

Just wondering if anyone had written an ant task (ant = Java build tool)?

I've knocked together a simple one that works for my needs but I wanted to hold off on writing a full one in case it had already been done and if not, is there any interest in one?

For me it's very usefull as I can slot Prince into the rest of the pipeline (which has a number of filtering and xslt steps to do first).

With what I have so far you can contol Prince with an ant build file that looks a little like this:

<project name="dictionary">
<target name="makePDFs">
That sounds handy; would you be interested in posting it for other Java/ant users to try? Perhaps we could add it to the Java interface package?
What's wrong with a macrodef/exec combo?