Bug 37035 - AJDT doesn't link to sources for woven jars
Summary: AJDT doesn't link to sources for woven jars
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: ---   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-29 01:47 EDT by Ron Bodkin CLA
Modified: 2003-06-10 08:00 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ron Bodkin CLA 2003-04-29 01:47:54 EDT
E.g., if you write declare warning and compile against an injar, it won't let 
you jump to the line in the source that underlies the woven jar, although it 
can list the file and line #. Likewise, it won't let you navigate crosscutting 
links (e.g., advises/advised by) in the outline view.

We also hit a bug whereby a single class in the jar that matched the declare 
warnings wasn't producing any class name or lines for its warnings (whereas 
all the others did). This might be an AspectJ bug.
Comment 1 Adrian Colyer CLA 2003-06-10 08:00:24 EDT
I guess the status should really be "semi-fixed" but there isn't a bugzilla 
category for that! If you create a project dependency from the project using the 
injar to another Java/AspectJ project that contains the corresponding source, 
markers will now be created correctly. In the absence of such a project 
dependency, the behaviour is as before. 

It would be nice to be able to "attach source" to the injar and have the markers 
relate to that instead, but such a solution will have to wait pending a proper 
piece of design work to look carefully at how AspectJ's various input and output 
jars should properly dovetail with the JDT defined jars for a project.