Community
Participate
Working Groups
I20051130 Bug 113944 shows the need to support exclusion/inclusion filters on library entries. This would allow to hide/show packages/class files in a library without editing it (which cannot be easiliy done for jar files).
See bug 98127 comment c38 for a detailed scenario. It is unclear if this has anything to do with libraries since the code in question was all in my workspace. Note also that completely hiding a package will give us the correct classpath behaviour (great!) but it would be very good to have a strategy for reporting the hiding in a case where ultimately the class is not found. This issue is very important to PDE and it would be great if a solution could be found and implemented in the near future.
Excluding a file is resulting in compiler not being able to load it, and if in binary form and referred to from binaries, it will abrupt from compilation entirely. This is why we added notion of access rules for allowing these types to be seen by compiler normally, but be flagged if referenced from sources. If PDE was willing to compute exclusion rules in case it knows a more accessible version of a given type is present further down on the buildpath, then this could be used. But I believe you'd rather want a specific access rule for saying: FORBIDDEN_BUT_KEEP_LOOKING_FOR_BETTER_MATCH...
This isn't currently on the 3.2 plan.
Suggestion in comment 2 got implemented for 3.2. Still we should consider the support for exclusion/inclusion filters for library entries for improved flexibility in classpath configuration. This combined with better compiler resilience to missing binaries (bug 156736) will improve the situation.
(In reply to comment #4) > Still we should consider the support for exclusion/inclusion filters for > library entries for improved flexibility in classpath configuration. This would indeed be nice to have. However this is time permitting (not a high priority for 3.3).
Unfortunately, not enough time to implement this in 3.3 time frame => defer
Reopen to reassign
*** Bug 61386 has been marked as a duplicate of this bug. ***
time permitting for 3.4
Deferring post 3.4