Thanks for the suggestions. They all sounded painful or involved more
dependencies :(
For the moment I've gone with a glorious hack:
1) Use the Xalan redirect extension to output the cgi. I'm already
using this extension so am not worried about new dependencies.
2) Use the Ant replace tag to remo
On Sun, 13 Feb 2005, Henri Yandell <[EMAIL PROTECTED]> wrote:
> To do this copying, I basically want to do the equivalent of:
>
> ---
> For each downloads_*.html file
> copy downloads.cgi downloads_*.cgi
>
>
> Any idea how I do that in Ant?
The first answer which many people in A
I haven't tried it, but how about this:
* Use with 'genericantfile' (referencing the same build file)
and a for the directories you want.
* In the target invoked by , use to determine
whether or not the HTML file exists, and invoke another target that
only runs 'if' the property is set. That s
Before I lug myself off to the Ant lists, thought I'd ask here.
I'm trying to come up with a way to make the cgi work for the
downloads pages. One way would be to rewrite the cgi, have it take
arguments and be more dynamic. Another easier way would be to simply
copy the cgi file lots of times (as