This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
20110817-2e31c03a75ea. From maven/src I click on a ref to org.apache.maven.project.MavenProject and get a class skeleton as expected. I click Attach Sources and am prompted for maven-core-3.0.3.jar as expected. I click Browse and select .../maven3/maven-core/src/main/java and click OK. The dialog closes but nothing else happens, and clicking on a ref to MavenProject again fails to show sources. $userdir/config/Preferences/org/netbeans/modules/java/j2seplatform/Sources.properties does contain jar\:file\:.../nbbuild/netbeans/java/maven/lib/maven-core-3.0.3.jar!/-0=file:.../maven3/maven-core/src/main/java/
Still broken for me.
Works in a fresh test userdir, just not in my regular userdir. Not sure what the difference is.
This happens when the attached source root has no source for given disassembled class. Most often it happened for sources packed in the zip file having more roots, it was fixed by adding all source roots in zip rather than the first one (jet-main 3553fd79973c).
Still reproducible in 20111114-bfd233b7802b. Again Sources.properties lists the entry (a folder not a ZIP BTW), and MavenProject.java is in the specified location. It seems that org.netbeans.modules.apisupport.project.queries.GlobalSourceForBinaryImpl is shadowing the result with an empty one.
core-main #a5a31bd1f1b2
Thanks, I've always tried to reproduce it with a test IDE (no API support enabled).
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/a5a31bd1f1b2 User: Jesse Glick <jglick@netbeans.org> Log: #201043: Manual source attaching does not work