Bug 36071 - ajc 1.1 rc1 should copy resources similar to java compiler
Summary: ajc 1.1 rc1 should copy resources similar to java compiler
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: 1.1.1   Edit
Assignee: Mik Kersten CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-04 09:58 EST by Rich Price CLA
Modified: 2003-08-23 14:25 EDT (History)
0 users

See Also:


Attachments
Use AJDT to determine resources and BcelWeaver to copy (28.26 KB, application/octet-stream)
2003-08-06 10:16 EDT, Matthew Webster CLA
no flags Details
Ensure resources copied from injars to outjar (5.81 KB, application/octet-stream)
2003-08-08 07:49 EDT, Matthew Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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)