Summary: | Need way to refresh JAR files | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Peter Burka <peter_burka> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | eclipse, erich_gamma, paulacox |
Version: | 2.0 | ||
Target Milestone: | 2.0 F2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Peter Burka
2002-05-15 18:18:15 EDT
I don't see how this can be done transparently. So I'd suggest a manual solution. UI offers an action on a JARs to "refresh contents". This would require support from core to flush the corresponding element info from the JAR cache. Moving to JDT CORE for comment. A manual solution would be to close the offending JAR pkg root using IOpenable#close(), then refresh UI for it. Alternatively when building, we can detect this situation and cause a change notification in the next post-change event. This doesn't prevent from introducing a manual refresh. Detecting the change on rebuild ensures that the users builds against an up to date JAR. This is good enough to me. *** Bug 11572 has been marked as a duplicate of this bug. *** Fixed, added IJavaModel#refreshExternalJARs Refresh action works fine Verified |