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.
Summary: | Want to attach source code to jar file directly. | ||
---|---|---|---|
Product: | java | Reporter: | abs <abs> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | wadechandler |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
abs
2007-01-17 02:47:46 UTC
This is definitely something which is needed. It would work just to have a new project area for extra sources for debugging. Currently you can sort of do this, but it isn't great. You have to create a project which you can open (you won't ever compile it so it doesn't matter if you don't have all the libraries available) and then go to project properties and add multiple source folders for the other sources you want to debug into. If they match the binaries stepping into calls into the binary calls (even if you did not build them) should work. There is already filled requirement for it, also there is already a prototype of shared libraries which solves this problem. Unfortunately it will not be a part of NB 6.0, hopefully 6.1 This seems to me a duplicate of #44035 ( http://www.netbeans.org/issues/show_bug.cgi?id=44035 ) If my understanding is correct, I think issue 44035 is only talking about LibraryManager. http://www.netbeans.org/issues/show_bug.cgi?id=44035 So this issue is slightly different. I don't want to create library, I just add jar files to project and attach source code to it. Eclipse has already such functionality. To abs: Yes, I am working on it to 6.1. Will this function be in part of NetBeans 6.1? 6.1 has only two milestone release and milestone 1 is already released. I've checked NetBeans wiki, but I couldn't find any plan to implement this feature. So what is the status of this issue? Already integrated in trunk (night builds), will be part of Milestone 2. I've confirmed this in 6.1 build. But it has one bad point. That is compile errors of attached source. Why does NetBeans shows compile errors and warnings of library code? Eclipse doesn't show that. Should I create new issue for this? I've confirmed this in 6.1 build. But it has one bad point. That is compile errors of attached source. Why does NetBeans shows compile errors and warnings of library code? Eclipse doesn't show that. Should I create new issue for this? There is already issue for it, see issue #128353. The attached source for the jar doesn't provide correct classpath & source level to the java infrastructure. |