Hello,

Is there a way to build a list of out of date files?

Here's my situation.  I'm using the Batik <rasterize> ant task to
translate four SVG files to JPG.  The <rasterize> task always
translates all files, even if the JPGs are more current than the SVGs.

I would like a simple way to rebuild only the out-of-date JPGs.  My
current way is less simple than I'd like.  I use <uptodate> to set a
property for each file, and I have a separate target for each JPG
file, each guarded by the appropriate property.

I'd like something simpler, if it's possible.

What I (think I) want is a single "jpgs" target, with a single
<rasterize> task in it.   Before I execute the target, I want to build
a fileset of SVGs whose JPGs are out of date, and give that fileset as
the list of input files for the <rasterize> task.  Is this possible? 
Is it possible in a way that is simpler than what I'm doing now?

Or is there some better way to rebuild only the out-of-date JPGs?

Dale



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to