This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Update center omits OSGi bundles | ||
---|---|---|---|
Product: | www | Reporter: | Jesse Glick <jglick> |
Component: | Builds & Repositories | Assignee: | pgebauer <pgebauer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | enebo, ilgrosso, jlahoda, jtulach, pjiricka, tstupka |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2012-01-09 17:10:45 UTC
Complicates building of NB-Ruby against 7.1, and prevents SQE from doing so at all. Needs to be addressed soon. Could you please check whether the following AUC has fixed the problem? http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/distribution/catalog_stage.xml The AUC now includes the bundles. Unfortunately <autoupdate> still ignores the bundles since they have no targetcluster attribute, due to an apparent bug in <makeupdatedesc>; I am working on a fix, and you will need to regenerate the update center using a patched MakeUpdateDesc.java. AutoUpdate.java also fails to handle bundles at all, it turns out, which I will also fix, but that requires no attention from you as the UC creator. Anyone using bootstrap.url=http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/netbeans/harness/tasks.jar will pick up that fix in due time. (In reply to comment #3) > you will need to regenerate the > update center using a patched MakeUpdateDesc.java. http://hg.netbeans.org/core-main/raw-diff/9b8af74181d9/nbbuild/antsrc/org/netbeans/nbbuild/MakeUpdateDesc.java I have refreshed the file http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/distribution/catalog_stage.xml Could you please check it? Looks good so far as I can tell - please make it live. I have updated 7.1 AUCs http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/distribution/catalog.xml http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/distribution/catalog.xml.gz catalog.xml not only does not include OSGi bundles, but catalog_stage.xml now does not either. Seems to have been a DLC caching problem; fixed catalog.xml now live and confirmed in both SQE and community-ruby. Integrated into 'main-golden', will be available in build *201201250600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9b8af74181d9 User: Jesse Glick <jglick@netbeans.org> Log: #207075: more OSGi handling fixes. Set targetcluster in updates.xml according to directory containing bundle. If a bundle is downloaded, create config/Modules/*.xml for it and otherwise copy the JAR. *** Bug 209119 has been marked as a duplicate of this bug. *** Duplicate issue indicates that an UC on bits.netbeans.org is still broken. I can see the correct catalog.xml at http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/distribution http://bits.netbeans.org/netbeans/7.1/fcs/uc/catalog.xml.gz still appears broken as mentioned in bug #209119. I have updated both catalog.xml and catalog.xml.gz at http://bits.netbeans.org/netbeans/7.1/fcs/uc/ . However I would like to remark that the only valid and up to date catalogs reside at http://dlc.sun.com.edgesuite.net/netbeans/updates/7.1/uc/final/distribution/ . (In reply to comment #15) > the only valid and up to date catalogs reside at dlc.sun.com.edgesuite.net Fine enough, since that is what harness/README suggests (via the redirect from updates.netbeans.org). But since at least someone has come across the bits.netbeans.org UCs (as in bug #209119), these need to be either kept up to date as well, or deleted so that there is no chance of confusion. SPAM - Removed by Administrator |