| Summary: | 7 ... now 1 Galileo projects use "site.xml" in update site URL | ||
|---|---|---|---|
| Product: | Community | Reporter: | David Williams <david_williams> |
| Component: | Cross-Project | Assignee: | Scott Lewis <slewis> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | alex.panchenko, b.muskalla, bluesoldier, ruediger.herrmann |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
David Williams
p2 does actually check for a content.jar first, so the site.xml shouldn't generally be a problem. However, we have seem cases where there is a timeout or other failure getting the content.jar, and then if that is missing it searches for a site.xml, with the bad consequence of generating metadata for the entire site from scratch. We found in the Eclipse project sites we could avoid these problems by removing the site.xml entirely before publishing the repository. (In reply to comment #1) > p2 does actually check for a content.jar first, ... Ah, thanks John. I heard it was "bad to do" and misunderstood. so doesn't matter if in the URL or not ... but best not not to have a site.xml file at all. That'll be a little more complicated for me to check :) but appreciate the advice. the site.xml has been removed from dtp.build. I have removed site.xml from dltk.build No, I misunderstood you... I missed the "using the "site.xml" explicitly in your update site URL" part. If you are explicitly using site.xml in your repository URL, then the p2 repository at the same location will never be seen. If your URL just points to the directory, we will first search for content.jar, then content.xml, then site.xml. My advice would be to remove any particular file name suffix from your repository URL and let p2 determine which suffix to use. The site.xml has been removed from rap.build (p2 meta-data is still missing from the RAP update site - but coming soon) (In reply to comment #6) > The site.xml has been removed from rap.build > (p2 meta-data is still missing from the RAP update site - but coming soon) The RAP update site now contains p2 meta-data ECF is only one still using a "site.xml" file directly in their URL, as of M7. thanks scott. |