| Summary: | [repository] P2 repository preferences issue | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Suganya Devi <suganyadevi.selvaraj> |
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | dj.houghton, pascal, pwebster |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | stalebug | ||
|
Description
Suganya Devi
Also, its caching the old repository information I specified in my P2.inf file. Because it kept using the old repository information. I restarted my eclipse workspace and started the build, now it's not even showing my repository information I have specified in the p2.inf, shows only eclipse update site. I'm confused because, I see my repository information in org.eclipse.pde.build.container.feature/product/p2.inf I noticed that the previous repository information is cached in ${workspace}\.metadata\.plugins\org.eclipse.search\dialog_settings.xml.
Even though I change the repository URL in my P2.inf, its (incl) adding previous repository information found in the cache.
The cache is cleared only on restarting the workspace. Paul, do you know what might be going on here? This seems strange to me. I think that is the IMemento storage file so I have no idea why there would be repository information stored in a memento in the search bundle. (In reply to comment #4) > Paul, do you know what might be going on here? This seems strange to me. I > think that is the IMemento storage file so I have no idea why there would be > repository information stored in a memento in the search bundle. The only reason for them to be mentioned in search is that they were searched for. Nothing in p2 will read stuff out of search. If you show us a segment of the file you are concerned about though, we could be sure. In general, there should be prefs under p2/org.eclipse.equinox.p2.engine and p2/org.eclipse.equinox.p2.engine/profileRegistry/SDKProfile.profile in your install that show repos. If you upgrade from build to build, won't they just accumulate? PW Eclipse prefs under p2/org.eclipse.equinox.p2.engine will have information about the repositories added to Eclipse IDE. But I'm talking about the repositories that I have added to my RCP application. The P2.inf in our application will change based on the environment (dev, QA...), the problem is that even though I change the repo information for each build, Eclipse is using only the initial repositories specified in our P2.inf file. If I restart the workspace, it works fine. This looks like something that we should investigate for 3.7 No time in 3.7. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |