Bug 71469 - ajc doesn't handle resource files correctly
Summary: ajc doesn't handle resource files correctly
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.2.1   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-05 11:18 EDT by Adrian Powell CLA
Modified: 2004-10-21 04:32 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Powell CLA 2004-08-05 11:18:50 EDT
ajc ignores resource files (e.g.: *.properties) instead of copying them into the
output folder as expected.  This is reported fixed in bug ID 36071 for AspectJ
1.1.1, but I have verified the defect exists in v1.1.1 and 1.2, using the
command-line and AJDT v1.1.4 (upgraded to AspectJ 1.2) in Eclipse 2.1.

Command line:
ajc -sourceroots src  -d bin
Comment 1 Matthew Webster CLA 2004-08-05 11:50:19 EDT
javac does not do resource copying and nor does ajc unless binary weaving. In 
Eclipse however the JDT _does_ copy resources (jpg, properties, xml, ...) 
from "src" to "bin" and the AJDT does likewise so that when a project is 
converted from Java to AspectJ it should continue to work with its resources.
Comment 2 Adrian Powell CLA 2004-08-05 12:03:57 EDT
I verified this is fixed in AJDT 1.1.6, thanks Matthew.
Comment 3 Adrian Colyer CLA 2004-10-21 04:32:20 EDT
Fix released as part of AspectJ 1.2.1