Community
Participate
Working Groups
The ant iajc task appears to ignore the contents of the META-INF directory for injars, instead outputing the message 'manifest not copied' and the file path. This is unexpected behavior; certain files, such as tlds, need to be packaged in the META-INF dir in the output jar.
Thanks for the bug. This behavior is intentional on the part of the compiler to avoid resolving manifest conflicts. The issue is still live for these and other resources (Matthew Webster recently posed this question on the mail list). So the best approach now is to offer on the mail list an algorithm for handling resource conflicts to see if the community agrees. Bear in mind that resources are not copied from source directories, and that ajc is not intended as a build tool (i.e., that it might be impossible to make this feature robust). In any case, copying resources from the injars is a feature of the compiler, not of the iajc Ant task, so I'm closing this. You can add a comment to the bugs that gave rise to the feature (listed in Matthew's email) to say the feature is not implemented correctly.