Community
Participate
Working Groups
Build ID: M20071023-1652 Steps To Reproduce: 1. Create a project with some source code --> project A. 2. Compile poject A into a jar file (a.jar) and place it in another project B. 3. Set up project B's build path to both reference project A (its source) and the compiled a.jar file. From project B, export a.jar file and not project A. 4. Create a project C referencing project B. In project C create a source file (C.java) referencing a class in project/jar A (A.class). 5. From the editor for C.java, jump to A.java (ctrl-click a reference to A.class) --> Because the jar file is exported, as expected the decompiled A.class file is presented, rather than the source. ...But we want to use the source code, so: 6. Change the order and export settings of project B to export project A and not export a.jar. 7. Now try to jump from C.java to A.java. ==> We would now expect to be presented with the source of A.java from project A. Instead we are still presented with the decompiled source from the a.jar file. More information: Workaround: You need to restart eclipse for the order and export setting to take effect.
Fix for bug 207890 fixed this scenario as well. *** This bug has been marked as a duplicate of bug 207890 ***
Verified for 3.4M6