Bug 190240 - [build] Built .class files not marked as derived.
Summary: [build] Built .class files not marked as derived.
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.5.3   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-31 11:07 EDT by Mark Strecker CLA
Modified: 2008-07-09 10:15 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 Mark Strecker CLA 2007-05-31 11:07:22 EDT
The .class files created after the interweaving are not marked as derived. So, when you call IResource.isDerived(), it returns false. These should be marked as derived like the .class files generated by the javac build ... then the behavior will be consistent. This causes problems for other plug-ins which use isDerived() to determine what to do with the resource.
My understanding is that all that needs to happen is to call IResource.setDerived(true) on the generated .class files.

Thanks.
Comment 1 Andrew Clement CLA 2007-10-26 08:11:16 EDT
something AJDT should be doing post build.
Comment 2 Andrew Clement CLA 2008-07-09 10:15:34 EDT
fixed - with 101489 being addressed.