Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » FeaturesAndBundlesPublisher: Filter is missing for required capability
FeaturesAndBundlesPublisher: Filter is missing for required capability [message #1836497] Wed, 06 January 2021 00:31
Pablo  eltrán is currently offline Pablo eltránFriend
Messages: 20
Registered: November 2014
Junior Member
Hi,

I'm trying to create a repository (metadata) from pre-built Eclipse bundles and features via P2 publisher as described in the documentation:

https://wiki.eclipse.org/Equinox/p2/Publisher#Features_And_Bundles_Publisher_Application

and getting this error.

====================
Generating metadata for ..
Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 null argument:Filter is missing for required capability org.eclipse.rap in bundle org.eclipse.e4.core.commands org.eclipse.core.runtime.AssertionFailedException: null argument:Filter is missing for required capability org.eclipse.rap in bundle org.eclipse.e4.core.commands

Product publishing ended with the following exception:
org.eclipse.core.runtime.AssertionFailedException: null argument:Filter is missing for required capability org.eclipse.rap in bundle org.eclipse.e4.core.commands
at org.eclipse.core.runtime.Assert.isNotNull(Assert.java:88)
at org.eclipse.equinox.internal.p2.metadata.RequiredPropertiesMatch.createMatchExpressionFromFilter(RequiredPropertiesMatch.java:68)
at org.eclipse.equinox.internal.p2.metadata.RequiredPropertiesMatch.<init>(RequiredPropertiesMatch.java:50)
at org.eclipse.equinox.p2.metadata.MetadataFactory.createRequirement(MetadataFactory.java:642)
at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.addRequirement(BundlesAction.java:399)
at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.doCreateBundleIU(BundlesAction.java:227)
at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.generateBundleIUs(BundlesAction.java:1016)
at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.perform(BundlesAction.java:894)
at org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:213)
at org.eclipse.equinox.internal.p2.artifact.repository.simple.SimpleArtifactRepository.executeBatch(SimpleArtifactRepository.java:1415)
at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:237)
at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:292)
at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:261)
at org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.start(AbstractPublisherApplication.java:327)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.equinox.internal.app.AnyThreadAppLauncher.run(AnyThreadAppLauncher.java:30)
at java.lang.Thread.run(Thread.java:748)

Product publisher application was executed with the following arguments:
-metadataRepository
file://C:/Users/pbelt/Desktop/XXX/repository
-artifactRepository
file://C:/Users/pbelt/Desktop/XXX/repository
-source
C:/Users/pbelt/Desktop/XXX/eclipse
-configs
ANY
-compress
-publishArtifacts

===============

Any ideas?



Thanks,
Pablo
Previous Topic:Self-hosting an arbitrary p2 repository?
Next Topic:meaning of 'p2/.../org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions/jvmargs'
Goto Forum:
  


Current Time: Thu Apr 25 01:55:51 GMT 2024

Powered by FUDForum. Page generated in 0.02550 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top