Bug 36071

Summary: ajc 1.1 rc1 should copy resources similar to java compiler
Product: [Tools] AspectJ Reporter: Rich Price <talas4>
Component: CompilerAssignee: Mik Kersten <mik.kersten>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P2    
Version: unspecified   
Target Milestone: 1.1.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Use AJDT to determine resources and BcelWeaver to copy
none
Ensure resources copied from injars to outjar none

Description Rich Price CLA 2003-04-04 09:58:21 EST
The ajc compiler does not copy resources (non-java/aspect) files from the 
source tree to the output. This means that we have to compile first with the 
aspectj nature disabled, then compile with aspects.
Comment 1 Wes Isberg CLA 2003-04-28 14:51:49 EDT
fyi, a workaround is to use the Ant task and its attributes copyInjars and/or 
sourceRootCopyFilter.  (But this is not directly supported in the IDE 
extensions.)
Comment 2 Mik Kersten CLA 2003-07-25 05:14:25 EDT
This is painful enough on big projects and easy enough to fix that I'm 
upgrading it to P2.
Comment 3 Matthew Webster CLA 2003-08-06 10:16:16 EDT
Created attachment 5649 [details]
Use AJDT to determine resources and BcelWeaver to copy
Comment 4 Mik Kersten CLA 2003-08-06 17:05:18 EDT
Fixed for 1.1.1
Comment 5 Matthew Webster CLA 2003-08-08 07:49:45 EDT
Created attachment 5689 [details]
Ensure resources copied from injars to outjar

1. Fixes to BcelWeaver for following cases:
    src->bin
    jar->jar
    src->jar
    jar->bin
2. Testcases
3. Fixes to NullIdeManager

- Does not copy CVS resouces or JAR manifests (warning issued)
- Polices duplicate resources (error issued)