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.
I want to attach source code to jar file directly. I mean, I often debug inside of library's code, so I wanto to attach source code to library's jar file. I know it is possible, if I use library manager. But on web project, jar files are usually put into WEB-INF/lib and share it through svn or cvs. So I have to change my local configuration and can't commit nbproject related files. It's too much of bother. So I use eclipse, if I debug library's code. Because eclipse has ability to attach source code to jar file and it works very good. I need same feature on NetBeans.
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?
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.