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 177718 - Package view displays incomplete source tree
Summary: Package view displays incomplete source tree
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Autoproject (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-27 02:53 UTC by Petr Jiricka
Modified: 2011-03-16 17:52 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 2009-11-27 02:53:54 UTC
1. Clone this project using git: git://github.com/rzwitserloot/lombok.patcher.git
2. Create an autoproject for it
3. Build the project (using the "dist" target)
4. Expand src folder that just appeared

You will see that only lombok.patcher package is displayed with just one file (Version), although in fact there are many additional files and subpackages (and these are also visible in the Files view).
Comment 1 Jesse Glick 2009-11-27 11:00:06 UTC
Cannot be built on JDK 5. Your issue reproducible when building on JDK 6.

/tmp/lombok.patcher/src#includes=lombok/patcher/Version.java

A bug in how includes/excludes from multiple <javac> runs are coalesced. (In this case, the project maintainers made the somewhat poor decision to keep Version.java in the main source tree even though it is compiled with a different classpath and at a different time than the rest of the sources.)

contrib #51da2ebdf289
Comment 2 Petr Jiricka 2009-11-30 04:22:15 UTC
Thanks for the super-fast fix, works great!
Comment 3 Petr Jiricka 2010-11-23 10:09:50 UTC
This is now happening again with: https://github.com/rzwitserloot/lombok.git - again, just one file src/core/lombok/core/Version.java is detected, reopening.
Comment 4 Jesse Glick 2010-11-23 18:58:40 UTC
Will look at it sometime. I am not currently supposed to be spending time on autoproject.
Comment 5 Petr Jiricka 2010-11-24 09:24:17 UTC
No problem. Also, you already have enough stuff on your plate even without autoproject!
Comment 6 Jesse Glick 2011-03-16 17:52:08 UTC
Caused by odd <ivy:compile> rather than usual <javac>. contrib #afc5868bf133 and also merging into contrib release70 branch.