ant-dev mailing list archives

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

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

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)

    Erik



----- Original Message -----
From: "Kevin Grey" <KGrey@dynamicsoft.com>
To: <ant-dev@jakarta.apache.org>
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
I
> can nest image manipulation tasks within each other, which would flow
nicely
> with the JAI "chaining" layout.  Can someone point me in the right
direction
> 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
package
> which compiles with the current CVS version of ANT.  If anyone would like
to
> see what I have so far, let me know, otherwise I'll submit it to the
project
> once I have things setup the way I'd like them.
>
> ~~K
> Kevin Z Grey
>
>


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message