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 85348 - goto declaration cannot find sources anymore
Summary: goto declaration cannot find sources anymore
Status: RESOLVED DUPLICATE of bug 128162
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 15:28 UTC by sbeam
Modified: 2008-02-25 12:49 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 sbeam 2006-09-20 15:28:01 UTC
If you change the $dist.dir to a folder outside the project dir:

$dist.dir=../global_dist

Other projects referencing that project cannot find it's sources with the "goto
declaration" anymore. Javadocs are not shown in code completion either. 

Everything builds and runs perfectly though.
Comment 1 Marian Petras 2006-09-20 16:51:57 UTC
Reassigned to editor/navigation.
Comment 2 Vitezslav Stejskal 2007-02-18 23:41:02 UTC
I think the problem is somewhere in the java modules. Here is some more
information. Assuming there are two projects A and B and the B project depends on A.

1. If the $dist.dir property is changed after the project dependency has been
established the B project won't compile.
2. If the $dist.dir property is changed first and then the project dependency is
created the compilation works fine, but some of the editor services do not work
(eg. code completion, javadoc, navigation), some others work fine (eg. fix
imports, syntax & semantic coloring).
Comment 3 Tomas Zezula 2007-02-28 10:24:02 UTC
Seems as a problem in SourceForBinaryQueryImplementation. Which project type are
you using (j2se, web, j2ee)?
Comment 4 Jiri Prox 2008-02-22 14:35:44 UTC
I can reproduce it with j2se project, but in my case code completion works, only source and javadoc cannot be found.
Comment 5 Tomas Zezula 2008-02-25 12:49:58 UTC
The same cause.

*** This issue has been marked as a duplicate of 128162 ***