Bug 71469

Summary: ajc doesn't handle resource files correctly
Product: [Tools] AspectJ Reporter: Adrian Powell <apowell>
Component: CompilerAssignee: Adrian Colyer <adrian.colyer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: matthew_webster
Version: 1.2   
Target Milestone: 1.2.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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