I want to put a set of files that look like this into a jar:
yay/my.jar
boo/my.jar
foo/my.jar
bar/my.jar
In the process, I want all of them renamed as follows:
yay_my.jar
boo_my.jar
foo_my.jar
bar_my.jar
I was hoping to use a mapper to accomplish this, but the fileset elements I am using and the jar task don't seem to support it anywhere.
How do I apply a mapper when building a jar, or else how can I perform a transformation like this? I want to avoid copying all the files to the directory structure I want and making duplicates all over the place, which is how our build system works now.