ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: ANT tasks that utilize JAI
Date Tue, 07 May 2002 01:23:00 GMT

Have a look at the FilterChain/FilterReader implementation in Ant 1.5. Its
quite slickly implemented (thanks Magesh!) and it seems the Selectors of Ant
1.5 also feed off a similar structure (configuration-phase-wise, that is).

The FilterChain might be something you could leverage design-wise for your
image processing chaining.

I very much look foward to seeing what you've done when you get it to a
state you are ready to share.

You might also want to consider using a TaskContainer, if you want tasks to
be standalone, or nested - although even then a TaskContainer isn't

Feel free to run your design by ant-dev more as it evolves so you can
benefit from the collective experiences here.  I would say at a high-level a
good design would be one that is crafted without Ant in mind. Overlaying
good architecture to work within Ant is easy!  :)  (i.e. I don't think much
of the FilterChain/Reader stuff has Ant dependencies at all)


----- Original Message -----
From: "Kevin Grey" <>
To: <>
Sent: Monday, May 06, 2002 8:23 PM
Subject: ANT tasks that utilize JAI

> Heya,
>             I've been casually working on a project to define ANT tasks to
> perform various image manipulations using Java Advanced Imaging.  I
> currently have defined only a couple tasks such as Rotate and Scale which
> are subclasses of MatchingTask, but I'd like to have this setup such that
> can nest image manipulation tasks within each other, which would flow
> with the JAI "chaining" layout.  Can someone point me in the right
> as to how I can set up the "nesting" of tasks?  Would this be a difficult
> thing to accomplish?  I currently have my tasks setup as an optional
> which compiles with the current CVS version of ANT.  If anyone would like
> see what I have so far, let me know, otherwise I'll submit it to the
> once I have things setup the way I'd like them.
> ~~K
> Kevin Z Grey

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message