| Summary: | Cannot build an update site - feature.xml seems corrupt | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Channing Walton <channingwalton> |
| Component: | Build | Assignee: | pde-build-inbox <pde-build-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | kmbulebu, wwarren |
| Version: | 3.5 | ||
| Target Milestone: | --- | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Channing Walton
(In reply to comment #0) > Build Identifier: 20100617-1415 > > Trying to build an update site I got the following error: > > > org.eclipse.core.runtime.CoreException: Problems parsing the feature > file:/Users/channing/Code/apps/eclipse-3.6/features/org.eclipse.pde.junit.runtime.addon_1.0.0.v20100610/feature.xml. > at > org.eclipse.pde.internal.build.site.BuildTimeFeatureFactory.parseBuildFeature(BuildTimeFeatureFactory.java:85) > at > org.eclipse.pde.internal.build.site.BuildTimeFeatureFactory.createFeature(BuildTimeFeatureFactory.java:50) > at > org.eclipse.pde.internal.build.site.BuildTimeSite.createFeature(BuildTimeSite.java:465) > at > org.eclipse.pde.internal.build.site.compatibility.FeatureReference.getFeature(FeatureReference.java:38) > at > org.eclipse.pde.internal.build.site.BuildTimeSite.resolveFeatureReferences(BuildTimeSite.java:325) > at > org.eclipse.pde.internal.build.site.BuildTimeSite.findFeature(BuildTimeSite.java:294) > at > org.eclipse.pde.internal.build.site.BuildTimeSite.findFeature(BuildTimeSite.java:286) > at > org.eclipse.pde.internal.build.BuildScriptGenerator.generateFeatures(BuildScriptGenerator.java:237) > at > org.eclipse.pde.internal.build.BuildScriptGenerator.generate(BuildScriptGenerator.java:112) > at > org.eclipse.pde.internal.core.exports.FeatureExportOperation.doExport(FeatureExportOperation.java:258) > at > org.eclipse.pde.internal.core.exports.FeatureBasedExportOperation.run(FeatureBasedExportOperation.java:50) > at > org.eclipse.pde.internal.core.exports.SiteBuildOperation.run(SiteBuildOperation.java:65) > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) > Contains: Error parsing feature: "require" must include at least one "import" > element. > > > Reproducible: Always I had a similar problem. I made the following change to my "eclipse/features/org.eclipse.pde.junit.runtime.addon_1.0.0.v20100610/feature.xml". file to uh..."fix" it: <requires id="org.eclipse.core.runtime" download-size="0" install-size="0" version="0.0.0" unpack="false"/> to <requires> <import id="org.eclipse.core.runtime" download-size="0" install-size="0" version="0.0.0" unpack="false"/> </requires> After this, my export worked as expected. I don't know why this happened now because last week I was exporting without a problem. I have re-extracted Eclipse since then but it is the same tarball. Who knows, from where such an error grows? I clip the weeds to meet my needs and go on with life bereft of strife. (in all seriousness, i hope i get an email update if someone else actually fixes this because i would like to know) Confirmed using PDE in Indigo RC1 with Helios SR2 as the target platform. Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. Please reopen, if you plan to provide a fix. |