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 59722 - Netbeans ignore packages/classes from the generated-src folder.
Summary: Netbeans ignore packages/classes from the generated-src folder.
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-08 10:03 UTC by Jan Becicka
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 Jan Becicka 2005-06-08 10:03:56 UTC
Josef dot Holy at sun dot com wrote:

I use netbeans v.4.2, build 200504171800. My project is regular j2se project,
NOT with existing ant script (it's the 'Java project with existing sources').
I have multiple source directories (src is the regular one and
generated-src contains pregenerated jaxb classes from a different
project) and I am facing following problem:

Netbeans ignore (in their suggestions) packages/classes from the
generated-src folder. When I am trying to import package/class from
generated-src to a certain class in src, the suggestion popup ignores
the tree-path to this package/class completely. The 'Fix imports'
functionallity doesn't add this import neither. When I write the import
manually, everything works just fine, compiler errors (unknown
class/symbol) dissapear from the edited class. When I try to access
imported class then, netbeans treat it as a simple java.lang.Object,
providing only Object's basic methods in the suggestion box, so I have
to figure out what methods this class has by myself.
Comment 1 Jan Becicka 2005-09-01 10:19:47 UTC
Josef, I cannot reproduce this bug. Can you attach project, where is this bug
reproducible? Thanks.
Comment 2 Milan Kubec 2005-11-01 13:16:32 UTC
Josef dot Holy at sun dot com, are you able to provide requested information?
Comment 3 Jan Becicka 2005-11-28 13:29:05 UTC
No response from Josef.