Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodor Boev2017-06-06 14:39:11 +0000
committerAlexander Kurtakov2017-10-03 08:13:41 +0000
commit508127d71a2a2cbc3aad554f2931219ae190a410 (patch)
tree4968d0ab05eec2e9a986ee1eca6cca04153521c8 /bundles/org.eclipse.equinox.p2.publisher.eclipse
parent872431089780603782ca6de7c774059ed8620e3c (diff)
downloadrt.equinox.p2-508127d71a2a2cbc3aad554f2931219ae190a410.tar.gz
rt.equinox.p2-508127d71a2a2cbc3aad554f2931219ae190a410.tar.xz
rt.equinox.p2-508127d71a2a2cbc3aad554f2931219ae190a410.zip
Bug 313553 - Capability: add writing to a metadata repo
Change-Id: I4323f084b7b6b1107d0ccd95d375570dc9c35fb0 Signed-off-by: Todor Boev <rinsvind@gmail.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.publisher.eclipse')
-rw-r--r--bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java b/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java
index 4cf0fc352..925f082eb 100644
--- a/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java
+++ b/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java
@@ -317,6 +317,8 @@ public class BundlesAction extends AbstractPublisherAction {
reqsDeps.add(MetadataFactory.createRequirement(PublisherHelper.CAPABILITY_NS_JAVA_PACKAGE, importSpec.getName(), versionRange, null, optional ? 0 : 1, 1, greedy));
}
+ // TODO Handle all attributes and directives somehow? Especially the "effective" directive.
+ // TODO Make these optional and greedy for backward compatibility?
protected void addGenericRequirement(List<IRequirement> reqsDeps, GenericSpecification requireCapSpec, ManifestElement[] rawRequiresPackageHeader) {
String ldap = requireCapSpec.getMatchingFilter();
ldap = "(&(namespace=" + requireCapSpec.getType() + ")" + ldap + ")"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$

Back to the top