There is a parser database file that corresponds to rt.jar of the JDK
and it provides the information necesary for code completion. The
parser database file that comes with Netbeans 3.3.2 is based on JDK 1.3
which does not have the java.util.logging package.
I think you can fix this by getting the JDK 1.4 compatibility module
(not sure of the exact name) from the update center.
OR
create a new parser database file for 1.4 by mounting src.jar from
JDK1.4, right click on it->tools(menu)->Update parser database(menu item ).
I think this happens automatically in Netbeans 3.4 and the menu item for
updating the database has changed to "Update Code Completion".
Dave Brown wrote:
> I'm using NetBeans 3.3.2 with JSDK 1.4 and for some reason NetBeans code helper will not work with the java.util.logging package. It
> compiles and runs the app using the logging with no problem.
>
> Any idea what the problem may be?
>
> Thanks,
> Dave
Thanks for the reply, I figured it was something like that.
I had another related question regarding the parsing database and current projects. According to the docs it should pick up new
classes I add automatically, correct? I've seen instances where I had to manually update the parser database for classes in my
current project.
Any ideas?
Thanks,
Dave
> --Original Message--
> From: Steve Benigan [mailto:benigan_steve@hotmail.com]
> Sent: Tuesday, August 06, 2002 11:00 AM
> To: nbusers@netbeans.org
> Subject: Re: Problem with code helper and java.util.logging
>
>
> There is a parser database file that corresponds to rt.jar of the JDK
> and it provides the information necesary for code completion. The
> parser database file that comes with Netbeans 3.3.2 is based on JDK 1.3
> which does not have the java.util.logging package.
>
> I think you can fix this by getting the JDK 1.4 compatibility module
> (not sure of the exact name) from the update center.
> OR
> create a new parser database file for 1.4 by mounting src.jar from
> JDK1.4, right click on it->tools(menu)->Update parser database(menu item ).
>
> I think this happens automatically in Netbeans 3.4 and the menu item for
> updating the database has changed to "Update Code Completion".
>
> Dave Brown wrote:
> > I'm using NetBeans 3.3.2 with JSDK 1.4 and for some reason NetBeans code helper will not work with the
> java.util.logging package. It
> > compiles and runs the app using the logging with no problem.
> >
> > Any idea what the problem may be?
> >
> > Thanks,
> > Dave
>
>
>