| No component named org.apache.commons.cli.source:osgi.bundle/ known to Buckminster [message #701753] |
Mon, 25 July 2011 10:39  |
Gabriel F. Messages: 3 Registered: July 2011 |
Junior Member |
|
|
During an ANT-Task Buckminster shows the following error message.
In our target platform there is org.apache.commons.cli:osgi.bundle$1.2.0.v201105210650
Can anybody give me a hint what I can do to solve this problem?
init actor: jdt.ant[<myproject>:eclipse.feature$1.0.0.qualifier#start.task]
INFO: [start <myproject>:eclipse.feature$1.0.0.qualifier#start.task]
ERROR: org.eclipse.buckminster.core.metadata.MissingComponentException: No component named org.apache.commons.cli.source:osgi.bundle/[1.2.0.v201105210650,1.2.0.v201105210650](&(buckminster.download.source=true)(!(eclipse.p2.optional=false))) is known to Buckminster
org.eclipse.buckminster.core.metadata.MissingComponentException: No component named org.apache.commons.cli.source:osgi.bundle/[1.2.0.v201105210650,1.2.0.v201105210650](&(buckminster.download.source=true)(!(eclipse.p2.optional=false))) is known to Buckminster
at org.eclipse.buckminster.core.metadata.WorkspaceInfo.resolveLocal(WorkspaceInfo.java:613)
at org.eclipse.buckminster.core.metadata.WorkspaceInfo.getResolution(WorkspaceInfo.java:504)
at org.eclipse.buckminster.core.metadata.ModelCache.findCSpec(ModelCache.java:46)
at org.eclipse.buckminster.jdt.internal.BMClasspathContainer.addNodeToClassPath(BMClasspathContainer.java:116)
at org.eclipse.buckminster.jdt.internal.BMClasspathContainer.addNodeToClassPath(BMClasspathContainer.java:117)
at org.eclipse.buckminster.jdt.internal.BMClasspathContainer.addNodeToClassPath(BMClasspathContainer.java:117)
at org.eclipse.buckminster.jdt.internal.BMClasspathContainer.<init>(BMClasspathContainer.java:44)
at org.eclipse.buckminster.jdt.internal.ClasspathEmitter.appendPaths(ClasspathEmitter.java:115)
at org.eclipse.buckminster.jdt.internal.ClasspathEmitter.finalClasspathResolve(ClasspathEmitter.java:80)
at org.eclipse.buckminster.jdt.internal.actor.JdtAntActor.addActorPathGroups(JdtAntActor.java:41)
at org.eclipse.buckminster.ant.actor.AntActor.internalPerform(AntActor.java:241)
at org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:195)
at org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143)
at org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454)
at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305)
at org.eclipse.buckminster.core.commands.Perform.internalRun(Perform.java:108)
at org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:91)
at org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:200)
at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:317)
at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:136)
at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:156)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
|
|
|
|
|
|
| Re: No component named org.apache.commons.cli.source:osgi.bundle/ known to Buckminster [message #735976 is a reply to message #725253] |
Thu, 13 October 2011 05:27   |
Andreas Schilling Messages: 16 Registered: April 2010 |
Junior Member |
|
|
I'm also having probably the same problem.
On our Buildserver (Jenkins) everything is fine, however if I want to do a local build from Eclipse (run the respective action that is defined in the CSPEX and that is also used on the buildserver) I get this error for at least one bundle (actually only one error is logged but when using more fine grained logging I see it on several bundles happen).
having a look at the dependency graph shows, that it seems like all *.source bundles of third party libraries are missing, e.g. com.springsource.javax.validation.source
the message then is
No component named com.springsource.javax.validation.source:osgi.bundle$0.0.0#Raw Omni Version is known to Buckminster
I don't really understand why that happens. first I thought that buckminster somehow does not use our target platform (which contains the bundle) when doing the local build but then again it should show ALL bundles to be unresolved and not only the source bundles (or shouldn't it?).
Btw, the manifest of that specific bundle seems to be not 100% correct to me, however for other bundles that also can't be resolved I can see problems on the first glance, so it might have something to do with it or not...
while in theory everything is fine as long as the Jenkins build does not fail I still would like to be able to work with buckminster on my development machine as well 
also, I can't tell you why and when things stopped working locally, because some 1 1/2 years ago when we were setting up the buckminster process everything worked from Eclipse as well.
regards,
Andreas
|
|
|
| Re: No component named org.apache.commons.cli.source:osgi.bundle/ known to Buckminster [message #735987 is a reply to message #735976] |
Thu, 13 October 2011 05:50   |
Thomas Hallgren Messages: 3163 Registered: July 2009 |
Senior Member |
|
|
What version of Buckminster are you running? There's been a recent fix for missing source bundles.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=357060
- thomas
On 2011-10-13 11:27, Andreas Schilling wrote:
> I'm also having probably the same problem.
> On our Buildserver (Jenkins) everything is fine, however if I want to do a local build from Eclipse (run the respective
> action that is defined in the CSPEX and that is also used on the buildserver) I get this error for at least one bundle
> (actually only one error is logged but when using more fine grained logging I see it on several bundles happen).
> having a look at the dependency graph shows, that it seems like all *.source bundles of third party libraries are
> missing, e.g. com.springsource.javax.validation.source
> the message then is
> No component named com.springsource.javax.validation.source:osgi.bundle$0.0.0#Raw Omni Version is known to Buckminster
> I don't really understand why that happens. first I thought that buckminster somehow does not use our target platform
> (which contains the bundle) when doing the local build but then again it should show ALL bundles to be unresolved and
> not only the source bundles (or shouldn't it?).
> Btw, the manifest of that specific bundle seems to be not 100% correct to me, however for other bundles that also can't
> be resolved I can see problems on the first glance, so it might have something to do with it or not...
>
> while in theory everything is fine as long as the Jenkins build does not fail I still would like to be able to work with
> buckminster on my development machine as well :p
> also, I can't tell you why and when things stopped working locally, because some 1 1/2 years ago when we were setting up
> the buckminster process everything worked from Eclipse as well.
>
> regards,
>
> Andreas
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01829 seconds