In an attempt to work around bug 769085 I created a
META-INF directory and hand extracted META-INF/mailcap
into it. I then added the following to my genjar task:
<resource file="META-INF/mailcap"/>
I based this approach on the manual page, which shows:
<genjar jarfile="test.jar">
<resource file="images/icon.png" />
</genjar>
This example results in the file icon.png being
included in the jar with a path of /images.
Not true! the subpath is eliminated in the resultant
jar file.
Any other ideas for a workaround????