NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
MassimoHeitor
Joined: 04 Feb 2009 Posts: 8
|
Posted: Mon Sep 06, 2010 7:39 pm Post subject: Library Manager + Browse Source Code |
|
|
If I configure a library in NetBeans Library Manager with the full source code directory, and either debug or browse to the source code, the NetBeans editor flags all custom types as errors.
For example, if I browse to the source code for org.apache.log4j.Logger, I see the error "cannot find symbol: org.apache.log4j.Category", which is clearly there. Everything runs fine, it's just that the IDE shows false errors in all library source code, which is annoying, and makes library code harder to browse.
Is this a known bug or is it possible that I'm doing something wrong?
(NetBeans 6.9.1. Happens on Linux with JDK 1.6.20 and Windows with JDK 1.6.21) |
|
| Back to top |
|
 |
Franz Posted via mailing list.
|
Posted: Wed Sep 08, 2010 4:47 pm Post subject: Library Manager + Browse Source Code |
|
|
Hi,
Am 06.09.2010 21:39, schrieb MassimoHeitor:
| Quote: | If I configure a library in NetBeans Library Manager with the full source code directory, and either debug or browse to the source code, the NetBeans editor flags all custom types as errors.
For example, if I browse to the source code for org.apache.log4j.Logger, I see the error "cannot find symbol: org.apache.log4j.Category", which is clearly there. Everything runs fine, it's just that the IDE shows false errors in all library source code, which is annoying, and makes library code harder to browse.
Is this a known bug or is it possible that I'm doing something wrong?
|
I have this problem if I am using the wrong directory for the source-dir
(like "/.../project/" instead of "/.../project/src/"). Maybe you need to
get one directory higher/lower in the hierarchy?
Regards
Franz |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|