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.
Summary: | Libraries are not propagated properly through projects | ||
---|---|---|---|
Product: | projects | Reporter: | Kirill Sorokin <ksorokin> |
Component: | Generic Infrastructure | Assignee: | Milos Kleint <mkleint> |
Status: | VERIFIED DUPLICATE | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Kirill Sorokin
2007-03-30 16:48:59 UTC
You need to add C to A's runtime classpath, at a minimum, or to its compile-time classpath if it additionally needs to compile against classes in C directly. NB does not currently do this for you automatically - see issue #47507. (Project A needs to compile against C if it explicitly refers to any classes in C by name; or if its bytecode would, e.g. by calling a method defined in C on a C-class-valued return value of some method in B. Unfortunately the Java language spec does not precisely define the corner cases here and the precise behavior may be compiler-specific.) I don't know why the error stripe in NB would display different results than Ant, but if you can reproduce with a minimal test case, please reopen as a P3 with details. *** This issue has been marked as a duplicate of 47507 *** Verified duplicate. |