Blame SOURCES/eclipse-disable-uses-constraints.patch
|
|
d433ea |
From 889543269853e12925ef00a6e76c3dd85ce5b915 Mon Sep 17 00:00:00 2001
|
|
|
d433ea |
From: Roland Grunberg <rgrunber@redhat.com>
|
|
|
d433ea |
Date: Tue, 25 Oct 2016 16:48:28 -0400
|
|
|
d433ea |
Subject: [PATCH] Disable uses by default (osgi.resolver.usesMode=ignore).
|
|
|
d433ea |
set.
|
|
|
d433ea |
|
|
|
d433ea |
---
|
|
|
d433ea |
.../felix/src/org/apache/felix/resolver/ResolverImpl.java | 4 +++-
|
|
|
d433ea |
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
d433ea |
|
|
|
d433ea |
diff --git rt.equinox.framework/bundles/org.eclipse.osgi/felix/src/org/apache/felix/resolver/ResolverImpl.java rt.equinox.framework/bundles/org.eclipse.osgi/felix/src/org/apache/felix/resolver/ResolverImpl.java
|
|
|
d433ea |
index ded683f..7216865 100755
|
|
|
d433ea |
--- rt.equinox.framework/bundles/org.eclipse.osgi/felix/src/org/apache/felix/resolver/ResolverImpl.java
|
|
|
d433ea |
+++ rt.equinox.framework/bundles/org.eclipse.osgi/felix/src/org/apache/felix/resolver/ResolverImpl.java
|
|
|
d433ea |
@@ -1231,7 +1231,9 @@ public class ResolverImpl implements Resolver
|
|
|
d433ea |
{
|
|
|
d433ea |
public void run()
|
|
|
d433ea |
{
|
|
|
d433ea |
- computeUses(session, allWireCandidates, allPackages, resource);
|
|
|
d433ea |
+ if (! "ignore".equals(System.getProperty("osgi.resolver.usesMode"))) {
|
|
|
d433ea |
+ computeUses(session, allWireCandidates, allPackages, resource);
|
|
|
d433ea |
+ }
|
|
|
d433ea |
}
|
|
|
d433ea |
});
|
|
|
d433ea |
}
|
|
|
d433ea |
--
|
|
|
d433ea |
2.7.4
|
|
|
d433ea |
|