Bug 45310 - iajc appears to ignore the contents of the META-INF directory for injars
Summary: iajc appears to ignore the contents of the META-INF directory for injars
Status: RESOLVED INVALID
Alias: None
Product: AspectJ
Classification: Tools
Component: Ant (show other bugs)
Version: 1.1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Wes Isberg CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-21 14:04 EDT by andy pruitt CLA
Modified: 2003-10-21 20:17 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andy pruitt CLA 2003-10-21 14:04:09 EDT
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.
Comment 1 Wes Isberg CLA 2003-10-21 20:17:43 EDT
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.