| Summary: | Links in dropins directory are never rescanned | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Mike Morearty <mike> |
| Component: | p2 | Assignee: | DJ Houghton <dj.houghton> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | jamesblackburn+eclipse, pascal, rtaniwa, simon_kaegi |
| Version: | 3.4.2 | ||
| Target Milestone: | 3.5 M7 | ||
| Hardware: | All | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 299544 | ||
|
Description
Mike Morearty
Hmm -- for that matter, it's not just links. Same is true of directories:
eclipse/
dropins/
mike/
plugins/
myplugin1.jar
If I run like this, and then I add a "myplugin2.jar" into eclipse/dropins/mike/plugins, Eclipse doesn't pick it up.
It seems to only be watching the top-level "dropins" directory for changes.
Again, I want to emphasize that I understand that it would be unacceptable to do an infinitely deep recursive scan; that is not what I am asking for. What I'm asking for is to scan in the "sensible" places:
- the top level
- the eclipse/plugins and eclipse/features subdirs of top-level folders and links
(and by "scan", I mean not only check for new files, but also check for files that have been touched -- e.g. if a .link file was touched, then it should be re-read, because it may point to a different place.)
Argh -- I wrote this:
eclipse/
dropins/
mike/
plugins/
myplugin1.jar
but I meant this:
eclipse/
dropins/
mike/
eclipse/ <== I forgot this line
plugins/
myplugin1.jar
Using the latest build, the scenario described in comment #1 and comment #2 works fine for me on Windows. Pascal, can you try this on your Mac when you get a chance? The scenario which doesn't work for me is the updating of the installed bundles when the link file changes. (as described in comment #0) Note that this works ok if the link file is in the /links folder but not when it is a child in the dropins. The ProfileSynchronizer#isUpToDate check is returning true and we aren't detecting the changes. So the work-around for your specific problems would be: - move your link file to the links/ folder - or specify the osgi.checkConfiguration=true System property which always does a check. (expect slower startup times) I've released changes to the reconciler "is up to date" check. Changes will be available in tonight's nightly build. Closing. *** Bug 233025 has been marked as a duplicate of this bug. *** *** Bug 288755 has been marked as a duplicate of this bug. *** |