On Fri, Feb 18, 2011 at 4:11 PM, david__schmidt <david4...@gmail.com> wrote:
> but how can I do multiple mappings - multiple variations on the filename per
> invocation?  Or is there another way to approach the problem?

I can't see a way to do it with <apply> either.

Peter's <outofdate> [1] supports multiple mappers and he even has an
example for it (last one), but it seems he uses the targets to do
dependency management only and despite having access to them in
${alltargets}, I don't see how you can use it to build your command
line.

I think you'll need to resort to Peter's <for> [2], possibly with a
nested <outofdate> as in his last example for the dependency
management, extracting the basename of the file and hard-code <arg
value="${basename}.lst" /> etc... Or some scripting and/or task
writing.

Not sure I helped much, sorry. --DD

[1] http://ant-contrib.sourceforge.net/tasks/tasks/outofdate.html
[2] http://ant-contrib.sourceforge.net/tasks/tasks/for.html

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to