p2 .settings [message #1804073] |
Sun, 17 March 2019 11:43  |
Eclipse User |
|
|
|
I have an eclipse RCP product that is created using ANT scripts.
After building my product I find the following files:
- <exportFolder>/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.artifact.repository.prefs
- <exportFolder>/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.metadata.repository.prefs
My questions are:
1. What are those files used for?
2. Is there a settings that can be used to disable the generation of those files?
3. Is it okay to get rid of those files?
|
|
|
|
|
Re: p2 .settings [message #1804126 is a reply to message #1804113] |
Tue, 19 March 2019 01:39   |
Eclipse User |
|
|
|
As I suggested, it's not strictly needed. The question of how it's used is not documented anywhere so nothing short of debugging what p2 does under the covers will answer that. Preferences are often stored in different scopes, i.e., project, instance (workspace), configuration, and profile, and lookup will often chain these scopes. These files are definitely p2 preferences, but how p2 looks up those preferences isn't entirely clear/obvious, and isn't documented as far as I know.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03330 seconds