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.

Bug 98796 - External libraries are not on the editor classpath
Summary: External libraries are not on the editor classpath
Status: RESOLVED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-23 13:46 UTC by Petr Jiricka
Modified: 2007-04-06 17:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2007-03-23 13:46:46 UTC
Continuous build from 20070323, Windows XP.

I have a module that specifies an external library using the
<class-path-extension> tag in project.xml. 

However, the Java editor does not see this library on the classpath - it
displays an error in the gutter saying "package xyz does not exist".

Also, the library is not shown under the "Libraries" node in the project view -
it should be.
Comment 1 Jesse Glick 2007-03-23 20:50:28 UTC
Working fine for me. I open core/javahelp, open JavaHelp.java, and no errors;
code completion on javax.help.** works too.

Perhaps you forgot to specify a <binary-origin>?

Regarding Libraries node - see issue #72668.
Comment 2 Petr Jiricka 2007-03-26 07:57:37 UTC
Yes, <binary-origin> is specify. I will look into this more.

Thanks for the pointer to 72668.
Comment 3 Petr Jiricka 2007-03-26 08:22:20 UTC
It must be a Monday morning. Of course I meant to write "<binary-origin> is
specified". This is embarrassing.
Comment 4 Petr Jiricka 2007-04-06 12:45:38 UTC
Works for me now as well, closing. Not sure what it was.
Comment 5 Jesse Glick 2007-04-06 17:21:16 UTC
OK, thanks for update.