Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-build-dev] how to fix failure to fetch a plugin?

summary: I can checkout a plugin from its repository with a given tag
(et al) into my workbench. But PDEB seems unable to checkout the same
plugin, using the same CVS details, with my map file.

details:

I'm trying to build a feature with an internal framework that wraps
PDEB (and is known to do so competently). The PDEB log in
.../workspace/.metadata/.log shows the following failure

> !ENTRY org.eclipse.pde.build 2 0 2005-12-13 17:56:03.558
> !MESSAGE An error occured while generating manifest for 
D:\RD\1213_1744-CCBD\com.ibm.etools.webtools.feature\N\N20051213_1745\pde-build\plugins\com.ibm.etools.jsf.validation.
> !STACK 0
> org.eclipse.osgi.service.pluginconversion.PluginConversionException: 
Could not find a plugin.xml or a fragment.xml in 
D:\RD\1213_1744-CCBD\com.ibm.etools.webtools.feature\N\N20051213_1745\pde-build\plugins\com.ibm.etools.jsf.validation.

which in fact contains only

.classpath
.project

My knowledge of PDEB is all-too-scant, but ISTM this is due to PDEB
not fetching the plugin correctly: am I missing something? In any
case, the remainder of the trace is

>   at 
org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:93)
>   at 
org.eclipse.core.runtime.internal.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:689)
>   at 
org.eclipse.pde.internal.build.site.PDEState.convertPluginManifest(PDEState.java:259)
>   at 
org.eclipse.pde.internal.build.site.PDEState.basicLoadManifest(PDEState.java:194)
>   at 
org.eclipse.pde.internal.build.site.PDEState.loadManifest(PDEState.java:246)
>   at 
org.eclipse.pde.internal.build.site.PDEState.addBundle(PDEState.java:130)
>   at 
org.eclipse.pde.internal.build.site.PDEState.addBundles(PDEState.java:288)
>   at 
org.eclipse.pde.internal.build.site.BuildTimeSite.getRegistry(BuildTimeSite.java:72)
>   at 
org.eclipse.pde.internal.build.builder.FeatureBuildScriptGenerator.computeElements(FeatureBuildScriptGenerator.java:110)
>   at 
org.eclipse.pde.internal.build.builder.FeatureBuildScriptGenerator.generateChildrenScripts(FeatureBuildScriptGenerator.java:708)
>   at 
org.eclipse.pde.internal.build.builder.FeatureBuildScriptGenerator.generate(FeatureBuildScriptGenerator.java:226)
>   at 
org.eclipse.pde.internal.build.BuildScriptGenerator.generateFeatures(BuildScriptGenerator.java:160)
>   at 
org.eclipse.pde.internal.build.BuildScriptGenerator.generate(BuildScriptGenerator.java:72)
>   at 
org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTask.run(BuildScriptGeneratorTask.java:79)
>   at 
org.eclipse.pde.internal.build.tasks.BuildScriptGeneratorTask.execute(BuildScriptGeneratorTask.java:71)
>   at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>   at org.apache.tools.ant.Task.perform(Task.java:364)
>   at org.apache.tools.ant.Target.execute(Target.java:341)
>   at org.apache.tools.ant.Target.performTasks(Target.java:369)
>   at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>   at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
>   at 
org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
>   at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>   at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>   at org.apache.tools.ant.Task.perform(Task.java:364)
>   at org.apache.tools.ant.Target.execute(Target.java:341)
>   at org.apache.tools.ant.Target.performTasks(Target.java:369)
>   at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>   at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
>   at 
org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
>   at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>   at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>   at org.apache.tools.ant.Task.perform(Task.java:364)
>   at org.apache.tools.ant.Target.execute(Target.java:341)
>   at org.apache.tools.ant.Target.performTasks(Target.java:369)
>   at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>   at 
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
>   at 
org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
>   at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
>   at 
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
>   at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
>   at org.apache.tools.ant.Task.perform(Task.java:364)
>   at org.apache.tools.ant.Target.execute(Target.java:341)
>   at org.apache.tools.ant.Target.performTasks(Target.java:369)
>   at 
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
>   at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
>   at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
>   at 
org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
>   at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
>   at 
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:704)
>   at 
org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:582)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>   at java.lang.reflect.Method.invoke(Unknown Source)
>   at org.eclipse.ant.core.AntRunner.run(AntRunner.java:494)
>   at 
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
>   at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
>   at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
>   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>   at java.lang.reflect.Method.invoke(Unknown Source)
>   at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
>   at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
>   at org.eclipse.core.launcher.Main.run(Main.java:973)
>   at org.eclipse.core.launcher.Main.main(Main.java:948)

(The complete .log, workspace, and plugin are available to IBMers for
inspection--just ask.) All the other plugins in the feature seem to
fetch OK, and their mapfile entries are all nearly identical: for this
particular plugin's entry, only the plugin name differs from many
other entries which are successfully fetching.

Eclipse can checkout the plugin, using the same {plugin name, tag,
mode, ID, server, port, path}, into my workbench without problem.
I also checked out the plugin into my workspace using the next day's
tag (V70D_20051206_1505); since there were no differences between the
two versions I also tried substituting that tag in the mapfile, but
got the same error from PDEB.

Is there a known fix? If not, is there something else I should try?
Feel free to forward, and to reply directly to me as well as the list.

TIA, Tom Roche, IBM Rational Developer, Constellation



Back to the top