NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Library Manager + Browse Source Code

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
MassimoHeitor



Joined: 04 Feb 2009
Posts: 8

PostPosted: Mon Sep 06, 2010 7:39 pm    Post subject: Library Manager + Browse Source Code Reply with 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?

(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.





PostPosted: Wed Sep 08, 2010 4:47 pm    Post subject: Library Manager + Browse Source Code Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo