Community
Participate
Working Groups
When using "Open Declaration", source files in an attached source archive are not found when the source tree is in a subdirectory of the archive. For example, when using the downloaded zip for log4j as the source attachment (jakarta.apache.org/log4j/docs/download.html), the source is located at "/jakarta-log4j-1.2.7/src/java" inside the zip file. This worked when the source root could be specified.
The root path inference code is being revisited at the moment (a better version is released today for integration so as to support multiple root paths). Olivier - can you please verify this one issue with our new inference code?
I will investigate.
I tried the following settings and it works great with the latest changes. I create a java project and I added the external library log4j-1.2.7.jar on the classpath. I attached the source to the directory in which I unzipped the zip file (for me D:\jakarta-log4j-1.2.7) and I could get the source for the .class file inside log4j-1.2.7.jar without a problem. Then I attached the source to D:\jakarta-log4j-1.2.7\src and it worked as well. So this is fixed with today's integration build. Please reopen if it doesn't work for you.
Closed as the fix was made for another bug.
Verified works in I20030218.