Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

WLS Eclipse plugin overwrites source lookup path each time on publish

User_6L523Sep 21 2021 — edited Sep 21 2021

I'm using quite a big ear project with about 20 subprojects.
When debugging the application and a breakpoint is being hit it takes about 1 minute until the editor highlights the current line of code. This happens only the first time a breakpoint is hit. After that the debugger behaves normally.
Reason seems to that all referenced libraries are included in the source lookup path which is quite a huge number (about 300 libs).
As a workaround I remove the "Default" entry from the source lookup path and than manually add all 20 subprojects. Doing this, the editor is highlighted immediately on a breakpoint.
Problem is that source lookup path gets overwritten with the "Default" entry each time I publish the application.
Is there any way to prevent source lookup path is being overwritten on publish?
See also: https://stackoverflow.com/questions/69105652/eclipse-debugging-on-breakpoint-jumps-to-code-after-minutes/69113798

Comments
Post Details
Added on Sep 21 2021
1 comment
347 views