Compare commits
No commits in common. "c8" and "c8s-stream-rhel8" have entirely different histories.
c8
...
c8s-stream
@ -1,2 +1,2 @@
|
|||||||
2325a8753ec3e388d5f062a4e7ba3031cace4cfd SOURCES/eclipse-platform-sources-4.12RC2.tar.xz
|
d16ce0f61de3c9005e2cad8715d4518d99d4f1b0 SOURCES/eclipse-platform-sources-4.16.tar.xz
|
||||||
cc4f1b206f1a5744884558b663b6064987a52a9c SOURCES/org.eclipse.linuxtools.eclipse-build-c985e357223668b4bc1fb76ea6b9e0c12829b7e8.tar.xz
|
8af7a2c8c65958c39370e6ad00540331cbaac181 SOURCES/org.eclipse.linuxtools.eclipse-build-b056b40d26d052b788b790f27ead774ff804ab55.tar.xz
|
||||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,2 +1,2 @@
|
|||||||
SOURCES/eclipse-platform-sources-4.12RC2.tar.xz
|
SOURCES/eclipse-platform-sources-4.16.tar.xz
|
||||||
SOURCES/org.eclipse.linuxtools.eclipse-build-c985e357223668b4bc1fb76ea6b9e0c12829b7e8.tar.xz
|
SOURCES/org.eclipse.linuxtools.eclipse-build-b056b40d26d052b788b790f27ead774ff804ab55.tar.xz
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
From d39c125a6030c88920f188345fee1d624ac4afe1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mat Booth <mat.booth@redhat.com>
|
||||||
|
Date: Tue, 12 Mar 2019 12:58:38 +0000
|
||||||
|
Subject: [PATCH 1/4] Avoid limitation with older shade plug-in versions where
|
||||||
|
it cannot deal with Java 9-style module-info files
|
||||||
|
|
||||||
|
---
|
||||||
|
.../org.eclipse.jdt.launching.javaagent/pom.xml | 8 ++++++++
|
||||||
|
1 file changed, 8 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/pom.xml b/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/pom.xml
|
||||||
|
index 8d32e4fa5..dd76e096a 100644
|
||||||
|
--- a/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/pom.xml
|
||||||
|
+++ b/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/pom.xml
|
||||||
|
@@ -77,6 +77,14 @@
|
||||||
|
</relocation>
|
||||||
|
</relocations>
|
||||||
|
<finalName>javaagent-shaded</finalName>
|
||||||
|
+ <filters>
|
||||||
|
+ <filter>
|
||||||
|
+ <artifact>*:*</artifact>
|
||||||
|
+ <excludes>
|
||||||
|
+ <exclude>**/module-info.class</exclude>
|
||||||
|
+ </excludes>
|
||||||
|
+ </filter>
|
||||||
|
+ </filters>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
31
SOURCES/0002-Allow-bootstrapping-against-OSGi-Core-R6.patch
Normal file
31
SOURCES/0002-Allow-bootstrapping-against-OSGi-Core-R6.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 006d5e833eae44aab2514918acfe20f8ab3992d2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mat Booth <mat.booth@redhat.com>
|
||||||
|
Date: Tue, 12 Mar 2019 15:12:37 +0000
|
||||||
|
Subject: [PATCH 2/4] Allow bootstrapping against OSGi Core R6
|
||||||
|
|
||||||
|
---
|
||||||
|
.../http/servlet/internal/HttpServiceRuntimeImpl.java | 8 ++++++--
|
||||||
|
1 file changed, 6 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/HttpServiceRuntimeImpl.java b/rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/HttpServiceRuntimeImpl.java
|
||||||
|
index 8d07030b8..530f5bb11 100644
|
||||||
|
--- a/rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/HttpServiceRuntimeImpl.java
|
||||||
|
+++ b/rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/HttpServiceRuntimeImpl.java
|
||||||
|
@@ -1341,8 +1341,12 @@ public class HttpServiceRuntimeImpl
|
||||||
|
@Override
|
||||||
|
public Void call() {
|
||||||
|
try {
|
||||||
|
- Dictionary<String,Object> properties = getHsrRegistration().getReference().getProperties();
|
||||||
|
- properties.put(Constants.SERVICE_CHANGECOUNT, getServiceChangecount());
|
||||||
|
+ Dictionary<String,Object> properties = new Hashtable<String,Object>();
|
||||||
|
+ String[] keys = getHsrRegistration().getReference().getPropertyKeys();
|
||||||
|
+ for (String key : keys) {
|
||||||
|
+ properties.put(key, getHsrRegistration().getReference().getProperty(key));
|
||||||
|
+ }
|
||||||
|
+ properties.put("service.changecount", getServiceChangecount());
|
||||||
|
getHsrRegistration().setProperties(properties);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
31
SOURCES/0004-Add-parent-pom-for-old-tycho-pomless.patch
Normal file
31
SOURCES/0004-Add-parent-pom-for-old-tycho-pomless.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 1373863303582bd46daea47db219506c0fbebcee Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mat Booth <mat.booth@redhat.com>
|
||||||
|
Date: Wed, 13 May 2020 15:24:34 +0100
|
||||||
|
Subject: [PATCH 4/4] Add parent pom for old tycho-pomless
|
||||||
|
|
||||||
|
---
|
||||||
|
eclipse.platform.resources/bundles/pom.xml | 12 ++++++++++++
|
||||||
|
1 file changed, 12 insertions(+)
|
||||||
|
create mode 100644 eclipse.platform.resources/bundles/pom.xml
|
||||||
|
|
||||||
|
diff --git a/eclipse.platform.resources/bundles/pom.xml b/eclipse.platform.resources/bundles/pom.xml
|
||||||
|
new file mode 100644
|
||||||
|
index 000000000..44a2f411b
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/eclipse.platform.resources/bundles/pom.xml
|
||||||
|
@@ -0,0 +1,12 @@
|
||||||
|
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
+ <modelVersion>4.0.0</modelVersion>
|
||||||
|
+ <parent>
|
||||||
|
+ <artifactId>eclipse.platform.resources</artifactId>
|
||||||
|
+ <groupId>eclipse.platform.resources</groupId>
|
||||||
|
+ <version>4.16.0-SNAPSHOT</version>
|
||||||
|
+ <relativePath>..</relativePath>
|
||||||
|
+ </parent>
|
||||||
|
+ <groupId>eclipse.platform.resources</groupId>
|
||||||
|
+ <artifactId>eclipse.platform.resources-bundles</artifactId>
|
||||||
|
+ <packaging>pom</packaging>
|
||||||
|
+</project>
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
@ -1,52 +0,0 @@
|
|||||||
diff --git rt.equinox.p2/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/EngineActivator.java rt.equinox.p2/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/EngineActivator.java
|
|
||||||
index 5fc0e73..ed7e4fa 100644
|
|
||||||
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/EngineActivator.java
|
|
||||||
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.engine/src/org/eclipse/equinox/internal/p2/engine/EngineActivator.java
|
|
||||||
@@ -150,7 +150,20 @@ public class EngineActivator implements BundleActivator {
|
|
||||||
}
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
- File[] listFiles = extension.listFiles();
|
|
||||||
+
|
|
||||||
+ // Support the additional 'eclipse' directory if it exists.
|
|
||||||
+ File[] extensionFiles = extension.listFiles(new FilenameFilter() {
|
|
||||||
+ public boolean accept(File dir, String name) {
|
|
||||||
+ return name.equals("eclipse");
|
|
||||||
+ }
|
|
||||||
+ });
|
|
||||||
+
|
|
||||||
+ File[] listFiles;
|
|
||||||
+ if (extensionFiles.length == 1) {
|
|
||||||
+ listFiles = extensionFiles[0].listFiles();
|
|
||||||
+ } else {
|
|
||||||
+ listFiles = extension.listFiles();
|
|
||||||
+ }
|
|
||||||
// new magic - multiple info files, f.e.
|
|
||||||
// egit.info (git feature)
|
|
||||||
// cdt.link (properties file containing link=path) to other info file
|
|
||||||
diff --git rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
|
|
||||||
index 12e4d89..77945ef 100644
|
|
||||||
--- rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
|
|
||||||
+++ rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
|
|
||||||
@@ -160,7 +160,20 @@ public class SimpleConfiguratorUtils {
|
|
||||||
}
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
- File[] listFiles = extension.listFiles();
|
|
||||||
+
|
|
||||||
+ // Support the additional 'eclipse' directory if it exists.
|
|
||||||
+ File[] extensionFiles = extension.listFiles(new FilenameFilter() {
|
|
||||||
+ public boolean accept(File dir, String name) {
|
|
||||||
+ return name.equals("eclipse");
|
|
||||||
+ }
|
|
||||||
+ });
|
|
||||||
+
|
|
||||||
+ File[] listFiles;
|
|
||||||
+ if (extensionFiles.length == 1) {
|
|
||||||
+ listFiles = extensionFiles[0].listFiles();
|
|
||||||
+ } else {
|
|
||||||
+ listFiles = extension.listFiles();
|
|
||||||
+ }
|
|
||||||
// new magic - multiple info files, f.e.
|
|
||||||
// egit.info (git feature)
|
|
||||||
// cdt.link (properties file containing link=path) to other info file
|
|
@ -12,7 +12,7 @@
|
|||||||
if [ "${OS}" = "" ]; then
|
if [ "${OS}" = "" ]; then
|
||||||
--- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak.orig 2019-03-20 10:22:21.420240101 +0000
|
--- rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak.orig 2019-03-20 10:22:21.420240101 +0000
|
||||||
+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak 2019-03-20 10:53:53.375471427 +0000
|
+++ rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/make_linux.mak 2019-03-20 10:53:53.375471427 +0000
|
||||||
@@ -92,7 +92,7 @@
|
@@ -82,7 +82,7 @@
|
||||||
-DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so.0\"" -DGOBJ_LIB="\"libgobject-2.0.so.0\"" \
|
-DPIXBUF_LIB="\"libgdk_pixbuf-2.0.so.0\"" -DGOBJ_LIB="\"libgobject-2.0.so.0\"" \
|
||||||
-DGIO_LIB="\"libgio-2.0.so.0\"" -DGLIB_LIB="\"libglib-2.0.so.0\""
|
-DGIO_LIB="\"libgio-2.0.so.0\"" -DGLIB_LIB="\"libglib-2.0.so.0\""
|
||||||
LFLAGS = ${M_ARCH} -shared -fpic -Wl,--export-dynamic
|
LFLAGS = ${M_ARCH} -shared -fpic -Wl,--export-dynamic
|
||||||
@ -21,31 +21,6 @@
|
|||||||
-fpic \
|
-fpic \
|
||||||
-DLINUX \
|
-DLINUX \
|
||||||
-DDEFAULT_OS="\"$(DEFAULT_OS)\"" \
|
-DDEFAULT_OS="\"$(DEFAULT_OS)\"" \
|
||||||
--- rt.equinox.bundles/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/makefile.orig 2019-03-19 22:40:23.145082352 +0000
|
|
||||||
+++ rt.equinox.bundles/bundles/org.eclipse.equinox.security.linux.x86_64/keystorelinuxnative/makefile 2019-03-20 09:29:20.370457348 +0000
|
|
||||||
@@ -1,7 +1,8 @@
|
|
||||||
LIBSECRET_CFLAGS = `pkg-config --cflags libsecret-1`
|
|
||||||
LIBSECRET_LIBS = `pkg-config --libs libsecret-1`
|
|
||||||
|
|
||||||
-CFLAGS = -shared -fPIC -I"${JAVA_HOME}/include" -I"${JAVA_HOME}/include/linux"
|
|
||||||
+CFLAGS := $(CFLAGS) -fPIC -I"${JAVA_HOME}/include" -I"${JAVA_HOME}/include/linux" $(LIBSECRET_CFLAGS)
|
|
||||||
+LDFLAGS := $(LDFLAGS) -shared $(LIBSECRET_LIBS)
|
|
||||||
|
|
||||||
all: ../libkeystorelinuxnative.so
|
|
||||||
|
|
||||||
@@ -9,10 +10,10 @@
|
|
||||||
rm ../libkeystorelinuxnative.so ../target/keystoreLinuxNative.o
|
|
||||||
|
|
||||||
../libkeystorelinuxnative.so: ../target/keystoreLinuxNative.o
|
|
||||||
- $(CC) $(CFLAGS) -o $@ $< $(LIBSECRET_LIBS)
|
|
||||||
+ $(CC) $(LDFLAGS) -o $@ $<
|
|
||||||
|
|
||||||
../target/keystoreLinuxNative.o: ../target keystoreLinuxNative.c
|
|
||||||
- $(CC) -c -fPIC -I"${JAVA_HOME}/include" -I"${JAVA_HOME}/include/linux" -o $@ $(TESTFLAGS) $(LIBSECRET_CFLAGS) keystoreLinuxNative.c
|
|
||||||
+ $(CC) -c $(CFLAGS) -o $@ $(TESTFLAGS) keystoreLinuxNative.c
|
|
||||||
|
|
||||||
../target:
|
|
||||||
mkdir -p ../target
|
|
||||||
--- eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/linux/makefile.orig 2019-03-20 09:49:40.694899138 +0000
|
--- eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/linux/makefile.orig 2019-03-20 09:49:40.694899138 +0000
|
||||||
+++ eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/linux/makefile 2019-03-20 10:20:21.704664294 +0000
|
+++ eclipse.platform.team/bundles/org.eclipse.core.net/natives/unix/linux/makefile 2019-03-20 10:20:21.704664294 +0000
|
||||||
@@ -25,10 +25,10 @@
|
@@ -25,10 +25,10 @@
|
||||||
|
@ -17,7 +17,7 @@ diff --git rt.equinox.p2/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/o
|
|||||||
index 802ee1b..74023fe 100644
|
index 802ee1b..74023fe 100644
|
||||||
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/PlatformXmlListener.java
|
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/PlatformXmlListener.java
|
||||||
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/PlatformXmlListener.java
|
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/PlatformXmlListener.java
|
||||||
@@ -171,11 +171,24 @@ public class PlatformXmlListener extends DirectoryChangeListener {
|
@@ -172,11 +172,24 @@ public class PlatformXmlListener extends DirectoryChangeListener {
|
||||||
* Ensure that we have a repository for each site in the given configuration.
|
* Ensure that we have a repository for each site in the given configuration.
|
||||||
*/
|
*/
|
||||||
protected void synchronizeConfiguration(Configuration config) {
|
protected void synchronizeConfiguration(Configuration config) {
|
||||||
|
@ -12,7 +12,7 @@ diff --git rt.equinox.framework/bundles/org.eclipse.osgi/felix/src/org/apache/fe
|
|||||||
index ded683f..7216865 100755
|
index ded683f..7216865 100755
|
||||||
--- 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
|
||||||
+++ 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
|
||||||
@@ -1231,7 +1231,9 @@ public class ResolverImpl implements Resolver
|
@@ -1234,7 +1234,9 @@ public class ResolverImpl implements Resolver
|
||||||
{
|
{
|
||||||
public void run()
|
public void run()
|
||||||
{
|
{
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
From ceaa5685fe7f51dae0ce444407d2aea7a49b8896 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Lakshminarayana Nekkanti
|
|
||||||
Date: Mon, 3 Jun 2019 15:12:13 +0530
|
|
||||||
Subject: Bug 542708 - stale JRE shown in Package Explorer after changing it
|
|
||||||
from 9 or above to 11
|
|
||||||
|
|
||||||
Change-Id: Ia9ef62a7e90fb12c9107bfaaf2f47af97fca75fb
|
|
||||||
Signed-off-by: Lakshminarayana Nekkanti <narayana.nekkanti@gmail.com>
|
|
||||||
---
|
|
||||||
.../jdt/internal/ui/packageview/PackageExplorerContentProvider.java | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
|
|
||||||
index ff62fa9eda..143364142a 100644
|
|
||||||
--- a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
|
|
||||||
+++ b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerContentProvider.java
|
|
||||||
@@ -657,7 +657,7 @@ public class PackageExplorerContentProvider extends StandardJavaElementContentPr
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
// if the class path has changed we refresh the entire project
|
|
||||||
- if ((flags & IJavaElementDelta.F_RESOLVED_CLASSPATH_CHANGED) != 0) {
|
|
||||||
+ if ((flags & (IJavaElementDelta.F_CLASSPATH_CHANGED | IJavaElementDelta.F_RESOLVED_CLASSPATH_CHANGED)) != 0) {
|
|
||||||
postRefresh(element, ORIGINAL, element, runnables);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
--
|
|
||||||
cgit v1.2.1
|
|
||||||
|
|
@ -1,114 +0,0 @@
|
|||||||
From 9ecc34bf838eae50a356b20c76d35fb62a423563 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Stephan Herrmann
|
|
||||||
Date: Tue, 18 Jun 2019 16:28:49 +0200
|
|
||||||
Subject: Bug 548211 - "Remove" in the Module dependencies tab does not remove
|
|
||||||
system modules
|
|
||||||
|
|
||||||
- more fixes, concerning update on Apply and re-open with only java.base
|
|
||||||
|
|
||||||
Change-Id: I39a7a1da6c8ae733010009372fd36a88814e4faf
|
|
||||||
---
|
|
||||||
.../ui/wizards/buildpaths/BuildPathsBlock.java | 3 +++
|
|
||||||
.../ui/wizards/buildpaths/CPListElement.java | 24 +++++++++++++++-------
|
|
||||||
.../wizards/buildpaths/ModuleDependenciesPage.java | 13 ++++++++++++
|
|
||||||
3 files changed, 33 insertions(+), 7 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
|
|
||||||
index 3fec77d579..37229a834b 100644
|
|
||||||
--- a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
|
|
||||||
+++ b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/BuildPathsBlock.java
|
|
||||||
@@ -395,6 +395,9 @@ public class BuildPathsBlock {
|
|
||||||
}
|
|
||||||
|
|
||||||
protected void doUpdateUI() {
|
|
||||||
+ if (fModulesPage.needReInit()) {
|
|
||||||
+ init(fCurrJProject, null, null); // extent of system modules was changed, re-init fClassPathList
|
|
||||||
+ }
|
|
||||||
fBuildPathDialogField.refresh();
|
|
||||||
fClassPathList.refresh();
|
|
||||||
boolean is9OrHigherAfter= JavaModelUtil.is9OrHigher(fCurrJProject);
|
|
||||||
diff --git a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java
|
|
||||||
index a3c475e7ea..c670c0770f 100644
|
|
||||||
--- a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java
|
|
||||||
+++ b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/CPListElement.java
|
|
||||||
@@ -42,6 +42,7 @@ import org.eclipse.jdt.core.IModuleDescription;
|
|
||||||
import org.eclipse.jdt.core.IPackageFragmentRoot;
|
|
||||||
import org.eclipse.jdt.core.JavaCore;
|
|
||||||
import org.eclipse.jdt.core.JavaModelException;
|
|
||||||
+import org.eclipse.jdt.core.provisional.JavaModelAccess;
|
|
||||||
|
|
||||||
|
|
||||||
import org.eclipse.jdt.internal.corext.util.JavaModelUtil;
|
|
||||||
@@ -207,13 +208,22 @@ public class CPListElement {
|
|
||||||
boolean modulesAdded= false;
|
|
||||||
if (containerEntry != null) {
|
|
||||||
IPackageFragmentRoot[] fragmentRoots= fProject.findPackageFragmentRoots(containerEntry);
|
|
||||||
- if (fragmentRoots != null && fragmentRoots.length > 1) {
|
|
||||||
- for (IPackageFragmentRoot fragmentRoot : fragmentRoots) {
|
|
||||||
- IModuleDescription currModule= fragmentRoot.getModuleDescription();
|
|
||||||
- if (currModule != null) {
|
|
||||||
- CPListElement curr= create(this, pseudoEntry, currModule, true, fProject);
|
|
||||||
- fChildren.add(curr);
|
|
||||||
- modulesAdded= true;
|
|
||||||
+ if (fragmentRoots != null) {
|
|
||||||
+ // detect if system library:
|
|
||||||
+ boolean addChildren= false;
|
|
||||||
+ if (fragmentRoots.length > 0) {
|
|
||||||
+ IModuleDescription module= fragmentRoots[0].getModuleDescription();
|
|
||||||
+ if (module != null && JavaModelAccess.isSystemModule(module))
|
|
||||||
+ addChildren= true;
|
|
||||||
+ }
|
|
||||||
+ if (addChildren) {
|
|
||||||
+ for (IPackageFragmentRoot fragmentRoot : fragmentRoots) {
|
|
||||||
+ IModuleDescription currModule= fragmentRoot.getModuleDescription();
|
|
||||||
+ if (currModule != null) {
|
|
||||||
+ CPListElement curr= create(this, pseudoEntry, currModule, true, fProject);
|
|
||||||
+ fChildren.add(curr);
|
|
||||||
+ modulesAdded= true;
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
diff --git a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ModuleDependenciesPage.java b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ModuleDependenciesPage.java
|
|
||||||
index b813d22956..e9f1c9feff 100644
|
|
||||||
--- a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ModuleDependenciesPage.java
|
|
||||||
+++ b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ModuleDependenciesPage.java
|
|
||||||
@@ -164,6 +164,7 @@ public class ModuleDependenciesPage extends BuildPathBasePage {
|
|
||||||
private Collection<String> fAllDefaultSystemModules; // if current is unnamed module: transitive closure of default root modules (names)
|
|
||||||
|
|
||||||
public final Map<String,String> fPatchMap= new HashMap<>();
|
|
||||||
+ private boolean needReInit= false;
|
|
||||||
|
|
||||||
public ModuleDependenciesPage(IStatusChangeListener context, CheckedListDialogField<CPListElement> classPathList) {
|
|
||||||
fClassPathList= classPathList;
|
|
||||||
@@ -530,6 +531,7 @@ public class ModuleDependenciesPage extends BuildPathBasePage {
|
|
||||||
}
|
|
||||||
updateLimitModules(cpListElement.findAttributeElement(CPListElement.MODULE));
|
|
||||||
fModuleList.refresh();
|
|
||||||
+ this.needReInit= true;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void addToSystemModules(List<IModuleDescription> modulesToAdd) throws JavaModelException {
|
|
||||||
@@ -655,8 +657,19 @@ public class ModuleDependenciesPage extends BuildPathBasePage {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+ this.needReInit= true;
|
|
||||||
}
|
|
||||||
|
|
||||||
+ /** Destructively reed the needReInit flag.
|
|
||||||
+ * @return {@code true} if the classpath needs to be reinitialized due to change of extent of the system library
|
|
||||||
+ */
|
|
||||||
+ public boolean needReInit() {
|
|
||||||
+ try {
|
|
||||||
+ return this.needReInit;
|
|
||||||
+ } finally {
|
|
||||||
+ this.needReInit= false;
|
|
||||||
+ }
|
|
||||||
+ }
|
|
||||||
private Set<String> computeForwardClosure(List<String> seeds) {
|
|
||||||
Set<String> closure= new HashSet<>();
|
|
||||||
collectForwardClosure(seeds, closure);
|
|
||||||
--
|
|
||||||
cgit v1.2.1
|
|
||||||
|
|
@ -1,94 +0,0 @@
|
|||||||
From 5ca45e97b527b5a4d4ed4ce92e32720859911968 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Stephan Herrmann
|
|
||||||
Date: Sat, 15 Jun 2019 20:47:45 +0200
|
|
||||||
Subject: Bug 548211 - "Remove" in the Module dependencies tab does not remove
|
|
||||||
system modules
|
|
||||||
|
|
||||||
Change-Id: I633fa86e5911c50b17a1c7ef188805902942e1db
|
|
||||||
---
|
|
||||||
.../jdt/internal/ui/wizards/NewWizardMessages.java | 1 +
|
|
||||||
.../ui/wizards/NewWizardMessages.properties | 1 +
|
|
||||||
.../wizards/buildpaths/ModuleDependenciesPage.java | 22 ++++++++++++++++++----
|
|
||||||
3 files changed, 20 insertions(+), 4 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java
|
|
||||||
index 3a66ae56ed..961aa63bba 100644
|
|
||||||
--- a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java
|
|
||||||
+++ b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.java
|
|
||||||
@@ -564,6 +564,7 @@ public final class NewWizardMessages extends NLS {
|
|
||||||
public static String ModuleDependenciesPage_removeCurrentModule_error;
|
|
||||||
public static String ModuleDependenciesPage_removeModule_error_with_hint;
|
|
||||||
public static String ModuleDependenciesPage_removeSystemModule_error_hint;
|
|
||||||
+ public static String ModuleDependenciesPage_moduleIsRequired_error_hint;
|
|
||||||
|
|
||||||
public static String ModuleDependenciesAdapter_patchConflict_title;
|
|
||||||
public static String ModuleDependenciesAdapter_patchConflict_message;
|
|
||||||
diff --git a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties
|
|
||||||
index feb30bc627..a3d8a04624 100644
|
|
||||||
--- a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties
|
|
||||||
+++ b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewWizardMessages.properties
|
|
||||||
@@ -605,6 +605,7 @@ ModuleDependenciesPage_removeCurrentModule_error=Cannot remove the current modul
|
|
||||||
ModuleDependenciesPage_removeModule_error_with_hint=Cannot remove module ''{0}''{1}
|
|
||||||
ModuleDependenciesPage_removeSystemModule_error_hint=\nOnly system modules can be removed here.\n\
|
|
||||||
To remove other modules please remove them from the Modulepath (Projects or Libraries tab).
|
|
||||||
+ModuleDependenciesPage_moduleIsRequired_error_hint=\nIt is required along the path {0}
|
|
||||||
|
|
||||||
ModuleDependenciesAdapter_patchConflict_title=Patch module conflict
|
|
||||||
ModuleDependenciesAdapter_patchConflict_message=The {0} {1} was declared to patch module ''{2}''.\n\
|
|
||||||
diff --git a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ModuleDependenciesPage.java b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ModuleDependenciesPage.java
|
|
||||||
index ccc5c3317a..b813d22956 100644
|
|
||||||
--- a/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ModuleDependenciesPage.java
|
|
||||||
+++ b/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/buildpaths/ModuleDependenciesPage.java
|
|
||||||
@@ -614,7 +614,16 @@ public class ModuleDependenciesPage extends BuildPathBasePage {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
selectedModuleNames.add(moduleName);
|
|
||||||
- collectModulesToRemove(moduleName, allModulesToRemove);
|
|
||||||
+ String problemModule= collectModulesToRemove(moduleName, allModulesToRemove);
|
|
||||||
+ if (problemModule != null) {
|
|
||||||
+ int lastArrow= problemModule.lastIndexOf("->"); //$NON-NLS-1$
|
|
||||||
+ String leafMod= lastArrow == -1 ? problemModule : problemModule.substring(lastArrow+2);
|
|
||||||
+ MessageDialog.openError(getShell(), NewWizardMessages.ModuleDependenciesPage_removeModule_dialog_title,
|
|
||||||
+ MessageFormat.format(NewWizardMessages.ModuleDependenciesPage_removeModule_error_with_hint,
|
|
||||||
+ leafMod,
|
|
||||||
+ MessageFormat.format(NewWizardMessages.ModuleDependenciesPage_moduleIsRequired_error_hint, problemModule)));
|
|
||||||
+ return;
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
String seedModules= String.join(", ", selectedModuleNames); //$NON-NLS-1$
|
|
||||||
if (allModulesToRemove.size() == selectedModuleNames.size()) {
|
|
||||||
@@ -664,15 +673,20 @@ public class ModuleDependenciesPage extends BuildPathBasePage {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
- private void collectModulesToRemove(String mod, Set<String> modulesToRemove) {
|
|
||||||
+ private String collectModulesToRemove(String mod, Set<String> modulesToRemove) {
|
|
||||||
if (fModuleList.fNames.contains(mod) && modulesToRemove.add(mod)) {
|
|
||||||
List<String> requireds= fModuleRequiredByModules.get(mod);
|
|
||||||
if (requireds != null) {
|
|
||||||
for (String required : requireds) {
|
|
||||||
- collectModulesToRemove(required, modulesToRemove);
|
|
||||||
+ if (fModuleList.getModuleKind(required) == ModuleKind.Focus)
|
|
||||||
+ return required + "->" + mod; //$NON-NLS-1$
|
|
||||||
+ String problemModule= collectModulesToRemove(required, modulesToRemove);
|
|
||||||
+ if (problemModule != null)
|
|
||||||
+ return problemModule + "->" + mod; //$NON-NLS-1$
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+ return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
private boolean confirmRemoveModule(String message) {
|
|
||||||
@@ -741,7 +755,7 @@ public class ModuleDependenciesPage extends BuildPathBasePage {
|
|
||||||
List<String> dominators= fModuleRequiredByModules.get(name);
|
|
||||||
if (dominators != null) {
|
|
||||||
for (String dominator : dominators) {
|
|
||||||
- if (names.contains(dominator)) {
|
|
||||||
+ if (names.contains(dominator) && fModuleList.getModuleKind(dominator) == ModuleKind.System) {
|
|
||||||
continue outer;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
--
|
|
||||||
cgit v1.2.1
|
|
||||||
|
|
@ -1,23 +1,26 @@
|
|||||||
From 42b1d14319f47d477f057a14aa1e2481729c6b13 Mon Sep 17 00:00:00 2001
|
From 6dd34f0b0365e0529f3852c688bfd99519f035d1 Mon Sep 17 00:00:00 2001
|
||||||
From: Mat Booth <mat.booth@redhat.com>
|
From: Mat Booth <mat.booth@redhat.com>
|
||||||
Date: Thu, 6 Dec 2018 11:38:58 +0000
|
Date: Thu, 6 Dec 2018 11:38:58 +0000
|
||||||
Subject: [PATCH 1/2] Change features bundling third-party modules to feature
|
Subject: [PATCH] IU inclusion changes:
|
||||||
requirements
|
|
||||||
|
|
||||||
|
* Change features bundling third-party modules to feature requirements
|
||||||
|
* Make some IU name changes to accommodate for distro-specific packaging
|
||||||
---
|
---
|
||||||
.../org.eclipse.jdt-feature/feature.xml | 114 ++-----------
|
.../org.eclipse.jdt-feature/feature.xml | 114 ++-----------
|
||||||
.../org.eclipse.pde-feature/feature.xml | 16 +-
|
.../org.eclipse.pde-feature/feature.xml | 16 +-
|
||||||
.../org.eclipse.platform.doc.isv/pom.xml | 11 +-
|
.../bundles/org.eclipse.jdt.doc.isv/pom.xml | 2 +-
|
||||||
|
.../bundles/org.eclipse.pde.doc.user/pom.xml | 2 +-
|
||||||
|
.../org.eclipse.platform.doc.isv/pom.xml | 10 +-
|
||||||
.../org.eclipse.help-feature/feature.xml | 130 +++------------
|
.../org.eclipse.help-feature/feature.xml | 130 +++------------
|
||||||
.../org.eclipse.platform-feature/feature.xml | 18 +--
|
.../org.eclipse.platform-feature/feature.xml | 18 +--
|
||||||
.../org.eclipse.sdk.tests/feature.xml | 58 ++-----
|
.../org.eclipse.sdk.tests/feature.xml | 58 ++-----
|
||||||
.../org.eclipse.test-feature/feature.xml | 56 +------
|
.../org.eclipse.test-feature/feature.xml | 56 +------
|
||||||
.../org.eclipse.tips.feature/feature.xml | 11 +-
|
.../org.eclipse.tips.feature/feature.xml | 11 +-
|
||||||
.../features/org.eclipse.e4.rcp/feature.xml | 150 ++----------------
|
.../features/org.eclipse.e4.rcp/feature.xml | 150 ++----------------
|
||||||
9 files changed, 83 insertions(+), 481 deletions(-)
|
11 files changed, 87 insertions(+), 480 deletions(-)
|
||||||
|
|
||||||
diff --git a/eclipse.jdt/org.eclipse.jdt-feature/feature.xml b/eclipse.jdt/org.eclipse.jdt-feature/feature.xml
|
diff --git a/eclipse.jdt/org.eclipse.jdt-feature/feature.xml b/eclipse.jdt/org.eclipse.jdt-feature/feature.xml
|
||||||
index 06887d901..364cae9d8 100644
|
index e12ef6a13..6deae2a13 100644
|
||||||
--- a/eclipse.jdt/org.eclipse.jdt-feature/feature.xml
|
--- a/eclipse.jdt/org.eclipse.jdt-feature/feature.xml
|
||||||
+++ b/eclipse.jdt/org.eclipse.jdt-feature/feature.xml
|
+++ b/eclipse.jdt/org.eclipse.jdt-feature/feature.xml
|
||||||
@@ -19,6 +19,23 @@
|
@@ -19,6 +19,23 @@
|
||||||
@ -44,7 +47,7 @@ index 06887d901..364cae9d8 100644
|
|||||||
<plugin
|
<plugin
|
||||||
id="org.eclipse.jdt"
|
id="org.eclipse.jdt"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
@@ -160,103 +177,6 @@
|
@@ -167,103 +184,6 @@
|
||||||
version="0.0.0"
|
version="0.0.0"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
@ -149,7 +152,7 @@ index 06887d901..364cae9d8 100644
|
|||||||
id="org.eclipse.jdt.doc.user"
|
id="org.eclipse.jdt.doc.user"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
diff --git a/eclipse.pde.ui/features/org.eclipse.pde-feature/feature.xml b/eclipse.pde.ui/features/org.eclipse.pde-feature/feature.xml
|
diff --git a/eclipse.pde.ui/features/org.eclipse.pde-feature/feature.xml b/eclipse.pde.ui/features/org.eclipse.pde-feature/feature.xml
|
||||||
index 4197cffde..85ab44540 100644
|
index 57a58c6d5..a9c3e2c9b 100644
|
||||||
--- a/eclipse.pde.ui/features/org.eclipse.pde-feature/feature.xml
|
--- a/eclipse.pde.ui/features/org.eclipse.pde-feature/feature.xml
|
||||||
+++ b/eclipse.pde.ui/features/org.eclipse.pde-feature/feature.xml
|
+++ b/eclipse.pde.ui/features/org.eclipse.pde-feature/feature.xml
|
||||||
@@ -21,6 +21,8 @@
|
@@ -21,6 +21,8 @@
|
||||||
@ -183,24 +186,25 @@ index 4197cffde..85ab44540 100644
|
|||||||
id="org.eclipse.pde.api.tools"
|
id="org.eclipse.pde.api.tools"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml
|
diff --git a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml
|
||||||
index f3432dba5..c70631e90 100644
|
index 5b9e03021..1702d4dc6 100644
|
||||||
--- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml
|
--- a/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml
|
||||||
+++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml
|
+++ b/eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml
|
||||||
@@ -78,12 +78,7 @@
|
@@ -78,12 +78,12 @@
|
||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
<type>eclipse-plugin</type>
|
<type>eclipse-plugin</type>
|
||||||
- <id>javax.annotation</id>
|
- <id>javax.annotation</id>
|
||||||
- <versionRange>0.0.0</versionRange>
|
+ <id>javax.annotation</id>
|
||||||
- </requirement>
|
<versionRange>0.0.0</versionRange>
|
||||||
- <requirement>
|
</requirement>
|
||||||
- <type>eclipse-plugin</type>
|
<requirement>
|
||||||
|
<type>eclipse-plugin</type>
|
||||||
- <id>javax.el</id>
|
- <id>javax.el</id>
|
||||||
+ <id>javax.el-api</id>
|
+ <id>javax.el-api</id>
|
||||||
<versionRange>0.0.0</versionRange>
|
<versionRange>0.0.0</versionRange>
|
||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
@@ -75,7 +70,7 @@
|
@@ -93,7 +93,7 @@
|
||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
<type>eclipse-plugin</type>
|
<type>eclipse-plugin</type>
|
||||||
@ -209,7 +213,7 @@ index f3432dba5..c70631e90 100644
|
|||||||
<versionRange>0.0.0</versionRange>
|
<versionRange>0.0.0</versionRange>
|
||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
@@ -95,7 +90,7 @@
|
@@ -118,7 +118,7 @@
|
||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
<type>eclipse-plugin</type>
|
<type>eclipse-plugin</type>
|
||||||
@ -219,7 +223,7 @@ index f3432dba5..c70631e90 100644
|
|||||||
</requirement>
|
</requirement>
|
||||||
<requirement>
|
<requirement>
|
||||||
diff --git a/eclipse.platform.releng/features/org.eclipse.help-feature/feature.xml b/eclipse.platform.releng/features/org.eclipse.help-feature/feature.xml
|
diff --git a/eclipse.platform.releng/features/org.eclipse.help-feature/feature.xml b/eclipse.platform.releng/features/org.eclipse.help-feature/feature.xml
|
||||||
index 853db711d..5195b6d59 100644
|
index 79fa77d7e..5f3d6f6d0 100644
|
||||||
--- a/eclipse.platform.releng/features/org.eclipse.help-feature/feature.xml
|
--- a/eclipse.platform.releng/features/org.eclipse.help-feature/feature.xml
|
||||||
+++ b/eclipse.platform.releng/features/org.eclipse.help-feature/feature.xml
|
+++ b/eclipse.platform.releng/features/org.eclipse.help-feature/feature.xml
|
||||||
@@ -21,69 +21,6 @@
|
@@ -21,69 +21,6 @@
|
||||||
@ -372,7 +376,7 @@ index 853db711d..5195b6d59 100644
|
|||||||
+ </requires>
|
+ </requires>
|
||||||
</feature>
|
</feature>
|
||||||
diff --git a/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml b/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
|
diff --git a/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml b/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
|
||||||
index f825d4539..a9b974ca5 100644
|
index 94f21e6f8..694d49dc1 100644
|
||||||
--- a/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
|
--- a/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
|
||||||
+++ b/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
|
+++ b/eclipse.platform.releng/features/org.eclipse.platform-feature/feature.xml
|
||||||
@@ -19,6 +19,11 @@
|
@@ -19,6 +19,11 @@
|
||||||
@ -415,7 +419,7 @@ index f825d4539..a9b974ca5 100644
|
|||||||
id="org.eclipse.compare.core"
|
id="org.eclipse.compare.core"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
diff --git a/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml b/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
diff --git a/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml b/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
||||||
index a3a7d14a0..f0dab84a3 100644
|
index 6d7659ab9..23f4e6524 100644
|
||||||
--- a/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
--- a/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
||||||
+++ b/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
+++ b/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
||||||
@@ -19,6 +19,15 @@
|
@@ -19,6 +19,15 @@
|
||||||
@ -434,7 +438,7 @@ index a3a7d14a0..f0dab84a3 100644
|
|||||||
<includes
|
<includes
|
||||||
id="org.eclipse.test"
|
id="org.eclipse.test"
|
||||||
version="0.0.0"/>
|
version="0.0.0"/>
|
||||||
@@ -421,20 +430,6 @@
|
@@ -427,20 +436,6 @@
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="0.0.0"/>
|
version="0.0.0"/>
|
||||||
|
|
||||||
@ -455,7 +459,7 @@ index a3a7d14a0..f0dab84a3 100644
|
|||||||
<plugin
|
<plugin
|
||||||
id="org.eclipse.equinox.p2.installer"
|
id="org.eclipse.equinox.p2.installer"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
@@ -484,41 +479,6 @@
|
@@ -490,41 +485,6 @@
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="0.0.0"/>
|
version="0.0.0"/>
|
||||||
|
|
||||||
@ -498,7 +502,7 @@ index a3a7d14a0..f0dab84a3 100644
|
|||||||
id="org.eclipse.ui.tests.pluginchecks"
|
id="org.eclipse.ui.tests.pluginchecks"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
diff --git a/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml b/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
diff --git a/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml b/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
||||||
index 1dcc94c1c..2a4871027 100644
|
index 1f422b76e..9e26326c3 100644
|
||||||
--- a/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
--- a/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
||||||
+++ b/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
+++ b/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
||||||
@@ -19,6 +19,14 @@
|
@@ -19,6 +19,14 @@
|
||||||
@ -576,7 +580,7 @@ index 1dcc94c1c..2a4871027 100644
|
|||||||
-
|
-
|
||||||
</feature>
|
</feature>
|
||||||
diff --git a/eclipse.platform.ua/org.eclipse.tips.feature/feature.xml b/eclipse.platform.ua/org.eclipse.tips.feature/feature.xml
|
diff --git a/eclipse.platform.ua/org.eclipse.tips.feature/feature.xml b/eclipse.platform.ua/org.eclipse.tips.feature/feature.xml
|
||||||
index 88d843b0f..d5b8195bc 100644
|
index b8f52fe1a..a1d866a52 100644
|
||||||
--- a/eclipse.platform.ua/org.eclipse.tips.feature/feature.xml
|
--- a/eclipse.platform.ua/org.eclipse.tips.feature/feature.xml
|
||||||
+++ b/eclipse.platform.ua/org.eclipse.tips.feature/feature.xml
|
+++ b/eclipse.platform.ua/org.eclipse.tips.feature/feature.xml
|
||||||
@@ -32,6 +32,10 @@
|
@@ -32,6 +32,10 @@
|
||||||
@ -603,7 +607,7 @@ index 88d843b0f..d5b8195bc 100644
|
|||||||
-
|
-
|
||||||
</feature>
|
</feature>
|
||||||
diff --git a/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml b/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
|
diff --git a/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml b/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
|
||||||
index ba217da7b..464451193 100644
|
index 0ce4361be..ac28b73c2 100644
|
||||||
--- a/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
|
--- a/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
|
||||||
+++ b/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
|
+++ b/eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml
|
||||||
@@ -22,6 +22,23 @@
|
@@ -22,6 +22,23 @@
|
||||||
@ -615,7 +619,7 @@ index ba217da7b..464451193 100644
|
|||||||
+ <import plugin="org.apache.batik.util" />
|
+ <import plugin="org.apache.batik.util" />
|
||||||
+ <import plugin="org.w3c.dom.svg" />
|
+ <import plugin="org.w3c.dom.svg" />
|
||||||
+ <import plugin="javax.inject" />
|
+ <import plugin="javax.inject" />
|
||||||
+ <import plugin="javax.annotation-api" />
|
+ <import plugin="javax.annotation" />
|
||||||
+ <import plugin="org.apache.batik.i18n" />
|
+ <import plugin="org.apache.batik.i18n" />
|
||||||
+ <import plugin="org.apache.batik.constants" />
|
+ <import plugin="org.apache.batik.constants" />
|
||||||
+ <import plugin="org.apache.xmlgraphics" />
|
+ <import plugin="org.apache.xmlgraphics" />
|
||||||
@ -763,7 +767,7 @@ index ba217da7b..464451193 100644
|
|||||||
<plugin
|
<plugin
|
||||||
id="org.eclipse.equinox.preferences"
|
id="org.eclipse.equinox.preferences"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
@@ -511,27 +423,6 @@
|
@@ -504,27 +416,6 @@
|
||||||
version="0.0.0"
|
version="0.0.0"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
@ -791,7 +795,7 @@ index ba217da7b..464451193 100644
|
|||||||
<plugin
|
<plugin
|
||||||
id="org.eclipse.equinox.console"
|
id="org.eclipse.equinox.console"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
@@ -560,13 +451,6 @@
|
@@ -553,13 +444,6 @@
|
||||||
version="0.0.0"
|
version="0.0.0"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
@ -806,5 +810,5 @@ index ba217da7b..464451193 100644
|
|||||||
id="org.eclipse.e4.emf.xpath"
|
id="org.eclipse.e4.emf.xpath"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
--
|
--
|
||||||
2.19.1
|
2.21.1
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
private static final String SIMPLE_PROFILE_REGISTRY_INTERNAL = "_simpleProfileRegistry_internal_"; //$NON-NLS-1$
|
private static final String SIMPLE_PROFILE_REGISTRY_INTERNAL = "_simpleProfileRegistry_internal_"; //$NON-NLS-1$
|
||||||
private static final String PROFILE_REGISTRY = "profile registry"; //$NON-NLS-1$
|
private static final String PROFILE_REGISTRY = "profile registry"; //$NON-NLS-1$
|
||||||
private static final String PROFILE_PROPERTIES_FILE = "state.properties"; //$NON-NLS-1$
|
private static final String PROFILE_PROPERTIES_FILE = "state.properties"; //$NON-NLS-1$
|
||||||
@@ -279,6 +280,14 @@
|
@@ -274,6 +275,14 @@
|
||||||
//fragments support - remeber the property
|
//fragments support - remeber the property
|
||||||
internalSetProfileStateProperty(profile, profile.getTimestamp(), SIMPLE_PROFILE_REGISTRY_INTERNAL + getExtTimeStamp(), getExtTimeStamp());
|
internalSetProfileStateProperty(profile, profile.getTimestamp(), SIMPLE_PROFILE_REGISTRY_INTERNAL + getExtTimeStamp(), getExtTimeStamp());
|
||||||
agent.registerService(SERVICE_SHARED_INSTALL_NEW_TIMESTAMP, Long.toString(profile.getTimestamp()));
|
agent.registerService(SERVICE_SHARED_INSTALL_NEW_TIMESTAMP, Long.toString(profile.getTimestamp()));
|
||||||
@ -23,7 +23,7 @@
|
|||||||
} else {
|
} else {
|
||||||
//This is the first time we create the shared profile. Tag it as such and also remember the timestamp of the base
|
//This is the first time we create the shared profile. Tag it as such and also remember the timestamp of the base
|
||||||
internalSetProfileStateProperty(profile, profile.getTimestamp(), IProfile.STATE_PROP_SHARED_INSTALL, IProfile.STATE_SHARED_INSTALL_VALUE_INITIAL);
|
internalSetProfileStateProperty(profile, profile.getTimestamp(), IProfile.STATE_PROP_SHARED_INSTALL, IProfile.STATE_SHARED_INSTALL_VALUE_INITIAL);
|
||||||
@@ -312,6 +321,13 @@
|
@@ -307,6 +316,13 @@
|
||||||
if (agent.getService(SERVICE_SHARED_INSTALL_NEW_TIMESTAMP) != null)
|
if (agent.getService(SERVICE_SHARED_INSTALL_NEW_TIMESTAMP) != null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@ -37,17 +37,17 @@
|
|||||||
String baseTimestamp = getBaseTimestamp(profile.getProfileId());
|
String baseTimestamp = getBaseTimestamp(profile.getProfileId());
|
||||||
String extTimestamp = getExtTimeStamp();
|
String extTimestamp = getExtTimeStamp();
|
||||||
if (baseTimestamp == null) {
|
if (baseTimestamp == null) {
|
||||||
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java
|
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java.orig 2019-09-13 14:45:20.806922186 +0100
|
||||||
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java
|
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.reconciler.dropins/src/org/eclipse/equinox/internal/p2/reconciler/dropins/ProfileSynchronizer.java 2019-09-13 14:46:41.124689025 +0100
|
||||||
@@ -563,6 +563,7 @@
|
@@ -560,6 +560,7 @@
|
||||||
|
|
||||||
// get all IUs from all our repos
|
// get all IUs from all our repos
|
||||||
IQueryResult<IInstallableUnit> allIUs = getAllIUsFromRepos();
|
IQueryResult<IInstallableUnit> allIUs = getAllIUsFromRepos();
|
||||||
+ HashSet<IInstallableUnit> removedFromAllIUs = new HashSet<IInstallableUnit>();
|
+ HashSet<IInstallableUnit> removedFromAllIUs = new HashSet<IInstallableUnit>();
|
||||||
for (Iterator<IInstallableUnit> iter = allIUs.iterator(); iter.hasNext();) {
|
for (Iterator<IInstallableUnit> iter = allIUs.iterator(); iter.hasNext();) {
|
||||||
final IInstallableUnit iu = iter.next();
|
final IInstallableUnit iu = iter.next();
|
||||||
IInstallableUnit existing = profileIUs.get(iu);
|
IInstallableUnit existing = profileIUs.get(iu);
|
||||||
@@ -576,6 +577,7 @@
|
@@ -573,6 +574,7 @@
|
||||||
// (and more expensive) way to find this out is to do an IU profile property query.
|
// (and more expensive) way to find this out is to do an IU profile property query.
|
||||||
if (two == null) {
|
if (two == null) {
|
||||||
// the IU is already installed so don't mark it as a dropin now - see bug 404619.
|
// the IU is already installed so don't mark it as a dropin now - see bug 404619.
|
||||||
@ -55,7 +55,7 @@
|
|||||||
iter.remove();
|
iter.remove();
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -618,7 +620,7 @@
|
@@ -614,7 +616,7 @@
|
||||||
}
|
}
|
||||||
// if the IU from the profile is in the "all available" list, then it is already added
|
// if the IU from the profile is in the "all available" list, then it is already added
|
||||||
// otherwise if it isn't in the repo then we have to remove it from the profile.
|
// otherwise if it isn't in the repo then we have to remove it from the profile.
|
||||||
@ -64,25 +64,25 @@
|
|||||||
toRemove.add(iu);
|
toRemove.add(iu);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -792,8 +794,8 @@
|
@@ -787,7 +789,8 @@
|
||||||
IStatus installerPlanStatus = engine.perform(plan.getInstallerPlan(), phaseSet, monitor);
|
|
||||||
if (!installerPlanStatus.isOK())
|
if (!installerPlanStatus.isOK())
|
||||||
return installerPlanStatus;
|
return installerPlanStatus;
|
||||||
-
|
|
||||||
- applyConfiguration(true);
|
- applyConfiguration(true);
|
||||||
+ if (isReconciliationApplicationRunning())
|
+ if (isReconciliationApplicationRunning())
|
||||||
+ applyConfiguration(true);
|
+ applyConfiguration(true);
|
||||||
}
|
}
|
||||||
return engine.perform(plan, phaseSet, monitor);
|
return engine.perform(plan, phaseSet, monitor);
|
||||||
}
|
}
|
||||||
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/migration/MigrationWizard.java.orig 2018-04-25 20:31:57.931223008 +0100
|
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/migration/MigrationWizard.java.orig 2019-09-13 14:42:54.512346840 +0100
|
||||||
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/migration/MigrationWizard.java 2018-04-25 20:32:11.069144336 +0100
|
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui.sdk.scheduler/src/org/eclipse/equinox/internal/p2/ui/sdk/scheduler/migration/MigrationWizard.java 2019-09-13 14:43:12.003296065 +0100
|
||||||
@@ -151,7 +151,7 @@
|
@@ -158,8 +158,7 @@
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean performCancel() {
|
public boolean performCancel() {
|
||||||
- String[] buttons = new String[] {IDialogConstants.YES_LABEL, ProvUIMessages.MigrationPage_LATER_BUTTON, IDialogConstants.NO_LABEL};
|
- String[] buttons = new String[] { IDialogConstants.YES_LABEL, ProvUIMessages.MigrationPage_LATER_BUTTON,
|
||||||
+ String[] buttons = new String[] {IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL};
|
- IDialogConstants.NO_LABEL };
|
||||||
MessageDialog dialog = new MessageDialog(getShell(), ProvUIMessages.MigrationPage_CONFIRMATION_TITLE, null, ProvUIMessages.MigrationPage_CONFIRMATION_DIALOG, MessageDialog.QUESTION, buttons, 2);
|
+ String[] buttons = new String[] { IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL };
|
||||||
|
MessageDialog dialog = new MessageDialog(getShell(), ProvUIMessages.MigrationPage_CONFIRMATION_TITLE, null,
|
||||||
|
ProvUIMessages.MigrationPage_CONFIRMATION_DIALOG, MessageDialog.QUESTION, buttons, 2);
|
||||||
|
|
||||||
return rememberCancellationDecision(dialog.open());
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- eclipse.pde.ui/ui/org.eclipse.pde.ui.tests/src/org/eclipse/pde/ui/tests/target/MinimalTargetDefinitionPersistenceTests.java.orig 2016-04-19 20:07:36.947017206 +0100
|
--- eclipse.pde.ui/ui/org.eclipse.pde.ui.tests/src/org/eclipse/pde/ui/tests/target/MinimalTargetDefinitionPersistenceTests.java.orig 2016-04-19 20:07:36.947017206 +0100
|
||||||
+++ eclipse.pde.ui/ui/org.eclipse.pde.ui.tests/src/org/eclipse/pde/ui/tests/target/MinimalTargetDefinitionPersistenceTests.java 2016-04-19 20:09:59.166077383 +0100
|
+++ eclipse.pde.ui/ui/org.eclipse.pde.ui.tests/src/org/eclipse/pde/ui/tests/target/MinimalTargetDefinitionPersistenceTests.java 2016-04-19 20:09:59.166077383 +0100
|
||||||
@@ -76,7 +76,7 @@
|
@@ -80,7 +80,7 @@
|
||||||
*/
|
*/
|
||||||
protected IPath getJdtFeatureLocation() {
|
protected IPath getJdtFeatureLocation() {
|
||||||
IPath path = new Path(TargetPlatform.getDefaultLocation());
|
IPath path = new Path(TargetPlatform.getDefaultLocation());
|
||||||
@ -13,7 +13,7 @@ diff --git rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/eq
|
|||||||
index f1f38f0..f9111e6 100644
|
index f1f38f0..f9111e6 100644
|
||||||
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
|
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
|
||||||
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
|
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/reconciler/dropins/AbstractReconcilerTest.java
|
||||||
@@ -217,7 +217,7 @@
|
@@ -246,7 +246,7 @@
|
||||||
if (parent != null) {
|
if (parent != null) {
|
||||||
File[] children = parent.listFiles((FileFilter) pathname -> {
|
File[] children = parent.listFiles((FileFilter) pathname -> {
|
||||||
String name = pathname.getName();
|
String name = pathname.getName();
|
||||||
@ -52,16 +52,16 @@ diff --git eclipse.jdt.core/org.eclipse.jdt.compiler.apt.tests/build.properties
|
|||||||
index bc8963d..fbe4da3 100644
|
index bc8963d..fbe4da3 100644
|
||||||
--- eclipse.jdt.core/org.eclipse.jdt.compiler.apt.tests/build.properties
|
--- eclipse.jdt.core/org.eclipse.jdt.compiler.apt.tests/build.properties
|
||||||
+++ eclipse.jdt.core/org.eclipse.jdt.compiler.apt.tests/build.properties
|
+++ eclipse.jdt.core/org.eclipse.jdt.compiler.apt.tests/build.properties
|
||||||
@@ -25,3 +25,6 @@
|
@@ -28,3 +28,6 @@
|
||||||
src.includes = about.html
|
src.includes = about.html
|
||||||
compilerArg=-proc:none
|
compilerArg=-proc:none
|
||||||
jars.extra.classpath = lib/java10api.jar
|
jars.extra.classpath = lib/java14api.jar
|
||||||
+source.lib/apttestprocessors.jar = processors/
|
+source.lib/apttestprocessors.jar = processors/
|
||||||
+jars.compile.order = lib/apttestprocessors.jar,\
|
+jars.compile.order = lib/apttestprocessors.jar,\
|
||||||
+ .
|
+ .
|
||||||
--- eclipse.platform/ant/org.eclipse.ant.tests.ui/build.properties.orig 2016-03-24 14:25:47.076289150 +0000
|
--- eclipse.platform/ant/org.eclipse.ant.tests.ui/build.properties.orig 2016-03-24 14:25:47.076289150 +0000
|
||||||
+++ eclipse.platform/ant/org.eclipse.ant.tests.ui/build.properties 2016-03-24 14:26:39.528660802 +0000
|
+++ eclipse.platform/ant/org.eclipse.ant.tests.ui/build.properties 2016-03-24 14:26:39.528660802 +0000
|
||||||
@@ -25,6 +25,8 @@
|
@@ -28,6 +28,8 @@
|
||||||
Ant Tests/
|
Ant Tests/
|
||||||
|
|
||||||
source.lib/antUITestsSupport.jar = test support/
|
source.lib/antUITestsSupport.jar = test support/
|
||||||
@ -73,7 +73,7 @@ index bc8963d..fbe4da3 100644
|
|||||||
output.anttestsui.jar = bin/
|
output.anttestsui.jar = bin/
|
||||||
--- eclipse.jdt.ui/org.eclipse.jdt.ui.tests/build.properties.orig 2016-03-25 15:09:40.557786910 +0000
|
--- eclipse.jdt.ui/org.eclipse.jdt.ui.tests/build.properties.orig 2016-03-25 15:09:40.557786910 +0000
|
||||||
+++ eclipse.jdt.ui/org.eclipse.jdt.ui.tests/build.properties 2016-03-25 15:12:08.476059326 +0000
|
+++ eclipse.jdt.ui/org.eclipse.jdt.ui.tests/build.properties 2016-03-25 15:12:08.476059326 +0000
|
||||||
@@ -22,3 +22,5 @@
|
@@ -25,3 +25,5 @@
|
||||||
leaks/,\
|
leaks/,\
|
||||||
performance/
|
performance/
|
||||||
javacWarnings..=-raw,-unchecked
|
javacWarnings..=-raw,-unchecked
|
||||||
@ -188,7 +188,7 @@ index bc8963d..fbe4da3 100644
|
|||||||
+SearchResultView.removed_resource= <removed resource>
|
+SearchResultView.removed_resource= <removed resource>
|
||||||
--- eclipse.platform/ant/org.eclipse.ant.tests.core/build.properties.orig 2017-03-03 14:20:53.868573338 +0000
|
--- eclipse.platform/ant/org.eclipse.ant.tests.core/build.properties.orig 2017-03-03 14:20:53.868573338 +0000
|
||||||
+++ eclipse.platform/ant/org.eclipse.ant.tests.core/build.properties 2017-03-06 14:26:42.382365639 +0000
|
+++ eclipse.platform/ant/org.eclipse.ant.tests.core/build.properties 2017-03-06 14:26:42.382365639 +0000
|
||||||
@@ -23,6 +23,8 @@
|
@@ -26,6 +26,8 @@
|
||||||
source.anttestscore.jar = test plugin/,\
|
source.anttestscore.jar = test plugin/,\
|
||||||
tests/
|
tests/
|
||||||
source.lib/antTestsSupport.jar = test support/
|
source.lib/antTestsSupport.jar = test support/
|
||||||
@ -226,7 +226,7 @@ index bc8963d..fbe4da3 100644
|
|||||||
+
|
+
|
||||||
--- eclipse.pde.build/org.eclipse.pde.build.tests/test.xml.orig 2017-04-28 11:49:47.046123546 +0100
|
--- eclipse.pde.build/org.eclipse.pde.build.tests/test.xml.orig 2017-04-28 11:49:47.046123546 +0100
|
||||||
+++ eclipse.pde.build/org.eclipse.pde.build.tests/test.xml 2017-04-28 12:05:11.947521737 +0100
|
+++ eclipse.pde.build/org.eclipse.pde.build.tests/test.xml 2017-04-28 12:05:11.947521737 +0100
|
||||||
@@ -156,13 +156,6 @@
|
@@ -159,13 +159,6 @@
|
||||||
id="org.eclipse.jdt.source.feature.group"
|
id="org.eclipse.jdt.source.feature.group"
|
||||||
version="" />
|
version="" />
|
||||||
<iu
|
<iu
|
||||||
@ -266,3 +266,15 @@ index bc8963d..fbe4da3 100644
|
|||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
--- eclipse.jdt.debug/org.eclipse.jdt.debug.ui/build.properties.orig 2019-12-19 05:19:24.194321737 +0000
|
||||||
|
+++ eclipse.jdt.debug/org.eclipse.jdt.debug.ui/build.properties 2019-12-19 05:20:03.702264652 +0000
|
||||||
|
@@ -21,6 +21,9 @@
|
||||||
|
|
||||||
|
src.includes = about.html,\
|
||||||
|
schema/
|
||||||
|
+source.snippetsupport.jar=Snippet Support/
|
||||||
|
source.. = ui/
|
||||||
|
output.. = bin/
|
||||||
|
+output.snippetsupport.jar = snippet_bin/
|
||||||
|
javacWarnings..=-unavoidableGenericProblems
|
||||||
|
+javacWarnings.snippersupport.jar=-unavoidableGenericProblems
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
commit 4bfc5a7c6d8c2aaf954c113d805419472de2bcaf
|
From a23545ef5b4cbb94ff048fda2839ba08c3593d50 Mon Sep 17 00:00:00 2001
|
||||||
Author: Mat Booth <mat.booth@redhat.com>
|
From: Mat Booth <mat.booth@redhat.com>
|
||||||
Date: Thu May 3 15:58:49 2018 +0100
|
Date: Thu, 3 May 2018 15:58:49 +0100
|
||||||
|
Subject: [PATCH] Bug 534326 - Awkward p2 UI when many droplets are installed
|
||||||
|
Filter out software site locations where we know that they are p2 droplets in
|
||||||
|
places we show the list to the user. Change-Id:
|
||||||
|
I12364223850862783cb7cffd32fb7428fbf6b270 Signed-off-by: Mat Booth
|
||||||
|
<mat.booth@redhat.com>
|
||||||
|
|
||||||
Bug 534326 - Awkward p2 UI when many droplets are installed
|
---
|
||||||
|
.../p2/ui/dialogs/RepositorySelectionGroup.java | 13 +++++++++++++
|
||||||
Filter out software site locations where we know that they are p2
|
.../equinox/p2/ui/RepositoryManipulationPage.java | 15 ++++++++++++++-
|
||||||
droplets in places we show the list to the user.
|
2 files changed, 27 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
Change-Id: I12364223850862783cb7cffd32fb7428fbf6b270
|
|
||||||
Signed-off-by: Mat Booth <mat.booth@redhat.com>
|
|
||||||
|
|
||||||
diff --git a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java
|
diff --git a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java
|
||||||
index e6eef8c39..fe5970e79 100644
|
index d07be5d43..c666f8fdc 100644
|
||||||
--- a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java
|
--- a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java
|
||||||
+++ b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java
|
+++ b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java
|
||||||
@@ -303,6 +303,19 @@ public class RepositorySelectionGroup {
|
@@ -303,6 +303,19 @@ public class RepositorySelectionGroup {
|
||||||
@ -35,7 +37,7 @@ index e6eef8c39..fe5970e79 100644
|
|||||||
final String[] items;
|
final String[] items;
|
||||||
if (hasLocalSites) {
|
if (hasLocalSites) {
|
||||||
diff --git a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
|
diff --git a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
|
||||||
index d796aefd0..c03924f90 100644
|
index 78fb5398e..b8e724b66 100644
|
||||||
--- a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
|
--- a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
|
||||||
+++ b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
|
+++ b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
|
||||||
@@ -133,9 +133,22 @@ public class RepositoryManipulationPage extends PreferencePage implements IWorkb
|
@@ -133,9 +133,22 @@ public class RepositoryManipulationPage extends PreferencePage implements IWorkb
|
||||||
@ -43,22 +45,25 @@ index d796aefd0..c03924f90 100644
|
|||||||
Object[] children = super.fetchChildren(o, monitor);
|
Object[] children = super.fetchChildren(o, monitor);
|
||||||
cachedElements = new Hashtable<>(children.length);
|
cachedElements = new Hashtable<>(children.length);
|
||||||
+ String fragments = System.getProperty("p2.fragments"); //$NON-NLS-1$
|
+ String fragments = System.getProperty("p2.fragments"); //$NON-NLS-1$
|
||||||
for (int i = 0; i < children.length; i++) {
|
for (Object element : children) {
|
||||||
if (children[i] instanceof MetadataRepositoryElement) {
|
if (element instanceof MetadataRepositoryElement) {
|
||||||
- put((MetadataRepositoryElement) children[i]);
|
- put((MetadataRepositoryElement) element);
|
||||||
+ // Filter out locations that are actually installed p2 droplets
|
+ // Filter out locations that are actually installed p2 droplets
|
||||||
+ if (fragments != null) {
|
+ if (fragments != null) {
|
||||||
+ boolean isDroplet = false;
|
+ boolean isDroplet = false;
|
||||||
+ for (String root : fragments.split(",")) { //$NON-NLS-1$
|
+ for (String root : fragments.split(",")) { //$NON-NLS-1$
|
||||||
+ URI childLoc = ((MetadataRepositoryElement) children[i]).getLocation();
|
+ URI childLoc = ((MetadataRepositoryElement) element).getLocation();
|
||||||
+ if (childLoc.getPath() != null && childLoc.getPath().startsWith(root)) {
|
+ if (childLoc.getPath() != null && childLoc.getPath().startsWith(root)) {
|
||||||
+ isDroplet = true;
|
+ isDroplet = true;
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
+ if (!isDroplet) {
|
+ if (!isDroplet) {
|
||||||
+ put((MetadataRepositoryElement) children[i]);
|
+ put((MetadataRepositoryElement) element);
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
--
|
||||||
|
2.21.1
|
||||||
|
|
||||||
|
@ -1,22 +1,26 @@
|
|||||||
--- rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java.orig 2014-03-24 12:06:59.530918305 +0000
|
diff --git a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
|
||||||
+++ rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java 2014-03-24 12:07:42.709932098 +0000
|
index 144571914..7e99bc880 100644
|
||||||
@@ -1351,7 +1351,7 @@
|
--- a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
|
||||||
|
+++ b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
|
||||||
|
@@ -1330,7 +1330,7 @@ public class Main {
|
||||||
String appVersion = props.getProperty(PRODUCT_SITE_VERSION);
|
String appVersion = props.getProperty(PRODUCT_SITE_VERSION);
|
||||||
if (appVersion == null || appVersion.trim().length() == 0)
|
if (appVersion == null || appVersion.trim().length() == 0)
|
||||||
appVersion = ""; //$NON-NLS-1$
|
appVersion = ""; //$NON-NLS-1$
|
||||||
- appName += File.separator + appId + "_" + appVersion + "_" + installDirHash; //$NON-NLS-1$ //$NON-NLS-2$
|
- appName += File.separator + appId + "_" + appVersion + "_" + installDirHash; //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
+ appName += File.separator + appId + "_" + installDirHash; //$NON-NLS-1$ //$NON-NLS-2$
|
+ appName += File.separator + appId + "_" + installDirHash; //$NON-NLS-1$
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
// Do nothing if we get an exception. We will default to a standard location
|
// Do nothing if we get an exception. We will default to a standard location
|
||||||
// in the user's home dir.
|
// in the user's home dir.
|
||||||
--- rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/location/EquinoxLocations.java.orig 2014-03-24 12:05:52.666896971 +0000
|
diff --git a/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/location/EquinoxLocations.java b/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/location/EquinoxLocations.java
|
||||||
+++ rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/location/EquinoxLocations.java 2014-03-24 12:06:46.076914704 +0000
|
index 0c13ace6f..d92d4fc45 100755
|
||||||
@@ -308,7 +308,7 @@
|
--- a/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/location/EquinoxLocations.java
|
||||||
|
+++ b/rt.equinox.framework/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/location/EquinoxLocations.java
|
||||||
|
@@ -308,7 +308,7 @@ public class EquinoxLocations {
|
||||||
String appVersion = props.getProperty(PRODUCT_SITE_VERSION);
|
String appVersion = props.getProperty(PRODUCT_SITE_VERSION);
|
||||||
if (appVersion == null || appVersion.trim().length() == 0)
|
if (appVersion == null || appVersion.trim().length() == 0)
|
||||||
appVersion = ""; //$NON-NLS-1$
|
appVersion = ""; //$NON-NLS-1$
|
||||||
- appName += File.separator + appId + "_" + appVersion + "_" + installDirHash; //$NON-NLS-1$ //$NON-NLS-2$
|
- appName += File.separator + appId + "_" + appVersion + "_" + installDirHash; //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
+ appName += File.separator + appId + "_" + installDirHash; //$NON-NLS-1$ //$NON-NLS-2$
|
+ appName += File.separator + appId + "_" + installDirHash; //$NON-NLS-1$
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
// Do nothing if we get an exception. We will default to a standard location
|
// Do nothing if we get an exception. We will default to a standard location
|
||||||
// in the user's home dir.
|
// in the user's home dir.
|
||||||
|
@ -19,7 +19,7 @@ diff --git rt.equinox.p2/bundles/org.eclipse.equinox.p2.extensionlocation/src/or
|
|||||||
index 342e33e..425a166 100644
|
index 342e33e..425a166 100644
|
||||||
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationArtifactRepository.java
|
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationArtifactRepository.java
|
||||||
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationArtifactRepository.java
|
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationArtifactRepository.java
|
||||||
@@ -283,6 +283,22 @@ public class ExtensionLocationArtifactRepository extends AbstractRepository<IArt
|
@@ -284,6 +284,22 @@ public class ExtensionLocationArtifactRepository extends AbstractRepository<IArt
|
||||||
return artifactRepository.getProperties();
|
return artifactRepository.getProperties();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,318 +0,0 @@
|
|||||||
Submodule eclipse.jdt.debug contains modified content
|
|
||||||
diff --git a/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/src/main/java/org/eclipse/jdt/launching/internal/weaving/ClassfileTransformer.java b/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/src/main/java/org/eclipse/jdt/launching/internal/weaving/ClassfileTransformer.java
|
|
||||||
index ec9788a9f..d7914d1ac 100644
|
|
||||||
--- a/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/src/main/java/org/eclipse/jdt/launching/internal/weaving/ClassfileTransformer.java
|
|
||||||
+++ b/eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/src/main/java/org/eclipse/jdt/launching/internal/weaving/ClassfileTransformer.java
|
|
||||||
@@ -25,10 +25,10 @@ public class ClassfileTransformer {
|
|
||||||
private static final String STRATA_ID = "jdt"; //$NON-NLS-1$
|
|
||||||
|
|
||||||
/** max supported java class format major version, must match {@link #ASM_API} below **/
|
|
||||||
- public static final int MAX_CLASS_MAJOR = Opcodes.V12;
|
|
||||||
+ public static final int MAX_CLASS_MAJOR = Opcodes.V10;
|
|
||||||
|
|
||||||
/** supported ASM API version, must match {@link #MAX_CLASS_MAJOR} above */
|
|
||||||
- private static final int ASM_API = Opcodes.ASM7;
|
|
||||||
+ private static final int ASM_API = Opcodes.ASM6;
|
|
||||||
|
|
||||||
public byte[] transform(byte[] classfileBuffer, final String location) {
|
|
||||||
|
|
||||||
Submodule eclipse.pde.ui contains modified content
|
|
||||||
diff --git a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/builder/ReferenceExtractor.java b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/builder/ReferenceExtractor.java
|
|
||||||
index e6d64cf8dc..39b6182e8d 100644
|
|
||||||
--- a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/builder/ReferenceExtractor.java
|
|
||||||
+++ b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/builder/ReferenceExtractor.java
|
|
||||||
@@ -82,7 +82,7 @@ public class ReferenceExtractor extends ClassVisitor {
|
|
||||||
protected List<Reference> references;
|
|
||||||
|
|
||||||
public ClassFileSignatureVisitor() {
|
|
||||||
- super(Opcodes.ASM7);
|
|
||||||
+ super(Opcodes.ASM6);
|
|
||||||
this.references = new ArrayList<>();
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -250,7 +250,7 @@ public class ReferenceExtractor extends ClassVisitor {
|
|
||||||
* @param mv
|
|
||||||
*/
|
|
||||||
public ClassFileMethodVisitor(MethodVisitor mv, String name, int argumentcount) {
|
|
||||||
- super(Opcodes.ASM7, mv);
|
|
||||||
+ super(Opcodes.ASM6, mv);
|
|
||||||
this.argumentcount = argumentcount;
|
|
||||||
this.linePositionTracker = new LinePositionTracker();
|
|
||||||
this.lastLineNumber = -1;
|
|
||||||
@@ -635,7 +635,7 @@ public class ReferenceExtractor extends ClassVisitor {
|
|
||||||
class ClassFileFieldVisitor extends FieldVisitor {
|
|
||||||
|
|
||||||
ClassFileFieldVisitor() {
|
|
||||||
- super(Opcodes.ASM7);
|
|
||||||
+ super(Opcodes.ASM6);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
@@ -991,7 +991,7 @@ public class ReferenceExtractor extends ClassVisitor {
|
|
||||||
* {@link ReferenceModifiers}
|
|
||||||
*/
|
|
||||||
public ReferenceExtractor(IApiType type, Set<Reference> collector, int referenceKinds) {
|
|
||||||
- super(Opcodes.ASM7, new ClassNode());
|
|
||||||
+ super(Opcodes.ASM6, new ClassNode());
|
|
||||||
fType = type;
|
|
||||||
this.collector = collector;
|
|
||||||
fReferenceKinds = referenceKinds;
|
|
||||||
@@ -1008,7 +1008,7 @@ public class ReferenceExtractor extends ClassVisitor {
|
|
||||||
* @param tracker
|
|
||||||
*/
|
|
||||||
protected ReferenceExtractor(IApiType type, Set<Reference> collector, int referenceKinds, FieldTracker tracker) {
|
|
||||||
- super(Opcodes.ASM7, new ClassNode());
|
|
||||||
+ super(Opcodes.ASM6, new ClassNode());
|
|
||||||
fType = type;
|
|
||||||
this.collector = collector;
|
|
||||||
fReferenceKinds = referenceKinds;
|
|
||||||
diff --git a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/comparator/SignatureDecoder.java b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/comparator/SignatureDecoder.java
|
|
||||||
index e6e38604eb..490598b7b9 100644
|
|
||||||
--- a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/comparator/SignatureDecoder.java
|
|
||||||
+++ b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/comparator/SignatureDecoder.java
|
|
||||||
@@ -32,7 +32,7 @@ final class SignatureDecoder extends SignatureVisitor {
|
|
||||||
SignatureDescriptor signatureDescriptor;
|
|
||||||
|
|
||||||
public SignatureDecoder(SignatureDescriptor signatureDescriptor) {
|
|
||||||
- super(Opcodes.ASM7);
|
|
||||||
+ super(Opcodes.ASM6);
|
|
||||||
this.signatureDescriptor = signatureDescriptor;
|
|
||||||
}
|
|
||||||
|
|
||||||
diff --git a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/TypeStructureBuilder.java b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/TypeStructureBuilder.java
|
|
||||||
index 4ff1492e86..7dc03b6aa4 100644
|
|
||||||
--- a/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/TypeStructureBuilder.java
|
|
||||||
+++ b/eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/model/TypeStructureBuilder.java
|
|
||||||
@@ -57,7 +57,7 @@ public class TypeStructureBuilder extends ClassVisitor {
|
|
||||||
* unknown
|
|
||||||
*/
|
|
||||||
TypeStructureBuilder(ClassVisitor cv, IApiComponent component, IApiTypeRoot file) {
|
|
||||||
- super(Opcodes.ASM7, cv);
|
|
||||||
+ super(Opcodes.ASM6, cv);
|
|
||||||
fComponent = component;
|
|
||||||
fFile = file;
|
|
||||||
}
|
|
||||||
@@ -154,7 +154,7 @@ public class TypeStructureBuilder extends ClassVisitor {
|
|
||||||
}
|
|
||||||
}
|
|
||||||
final ApiMethod method = fType.addMethod(name, desc, signature, laccess, names);
|
|
||||||
- return new MethodVisitor(Opcodes.ASM7,
|
|
||||||
+ return new MethodVisitor(Opcodes.ASM6,
|
|
||||||
super.visitMethod(laccess, name, desc, signature, exceptions)) {
|
|
||||||
@Override
|
|
||||||
public AnnotationVisitor visitAnnotation(String sig, boolean visible) {
|
|
||||||
@@ -190,7 +190,7 @@ public class TypeStructureBuilder extends ClassVisitor {
|
|
||||||
int traceCount = 0;
|
|
||||||
|
|
||||||
public AnnotationDefaultVisitor(ApiMethod method) {
|
|
||||||
- super(Opcodes.ASM7);
|
|
||||||
+ super(Opcodes.ASM6);
|
|
||||||
this.method = method;
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -308,7 +308,7 @@ public class TypeStructureBuilder extends ClassVisitor {
|
|
||||||
String typeName;
|
|
||||||
|
|
||||||
public EnclosingMethodSetter(ClassVisitor cv, String typeName) {
|
|
||||||
- super(Opcodes.ASM7, cv);
|
|
||||||
+ super(Opcodes.ASM6, cv);
|
|
||||||
this.typeName = typeName.replace('.', '/');
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -341,7 +341,7 @@ public class TypeStructureBuilder extends ClassVisitor {
|
|
||||||
protected EnclosingMethodSetter setter;
|
|
||||||
|
|
||||||
public TypeNameFinder(MethodVisitor mv, EnclosingMethodSetter enclosingMethodSetter) {
|
|
||||||
- super(Opcodes.ASM7, mv);
|
|
||||||
+ super(Opcodes.ASM6, mv);
|
|
||||||
this.setter = enclosingMethodSetter;
|
|
||||||
}
|
|
||||||
|
|
||||||
Submodule eclipse.platform.ui contains modified content
|
|
||||||
diff --git a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests.css.swt/META-INF/MANIFEST.MF b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests.css.swt/META-INF/MANIFEST.MF
|
|
||||||
index eb08f62a5d..c11656359b 100644
|
|
||||||
--- a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests.css.swt/META-INF/MANIFEST.MF
|
|
||||||
+++ b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests.css.swt/META-INF/MANIFEST.MF
|
|
||||||
@@ -10,8 +10,9 @@ Require-Bundle: org.junit,
|
|
||||||
org.w3c.css.sac,
|
|
||||||
org.eclipse.e4.ui.css.swt.theme;bundle-version="0.9.1",
|
|
||||||
org.eclipse.ui;bundle-version="3.106.0",
|
|
||||||
+ org.hamcrest.core;bundle-version="1.3.0",
|
|
||||||
org.hamcrest.library;bundle-version="1.3.0",
|
|
||||||
- org.mockito;bundle-version="2.13.0",
|
|
||||||
+ org.mockito.mockito-core,
|
|
||||||
org.eclipse.equinox.preferences;bundle-version="3.5.200",
|
|
||||||
org.eclipse.ui.forms,
|
|
||||||
org.eclipse.ui.views.properties.tabbed
|
|
||||||
diff --git a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/META-INF/MANIFEST.MF b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/META-INF/MANIFEST.MF
|
|
||||||
index 19458ab029..986226a097 100644
|
|
||||||
--- a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/META-INF/MANIFEST.MF
|
|
||||||
+++ b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/META-INF/MANIFEST.MF
|
|
||||||
@@ -31,8 +31,9 @@ Require-Bundle: org.eclipse.emf.ecore.xmi;bundle-version="2.4.0",
|
|
||||||
org.eclipse.core.expressions;bundle-version="3.4.200",
|
|
||||||
org.eclipse.e4.ui.workbench.addons.swt;bundle-version="0.9.0",
|
|
||||||
org.eclipse.e4.ui.css.swt;bundle-version="0.11.0",
|
|
||||||
+ org.hamcrest.core;bundle-version="1.3.0",
|
|
||||||
org.hamcrest.library;bundle-version="1.3.0",
|
|
||||||
- org.mockito;bundle-version="2.13.0",
|
|
||||||
+ org.mockito.mockito-core,
|
|
||||||
org.eclipse.e4.ui.css.core;bundle-version="0.10.100",
|
|
||||||
org.eclipse.test.performance;bundle-version="3.13.0"
|
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
|
||||||
diff --git a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/workbench/renderers/swt/ThemeDefinitionChangedHandlerTest.java b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/workbench/renderers/swt/ThemeDefinitionChangedHandlerTest.java
|
|
||||||
index 6d98e184d3..7def31d02c 100644
|
|
||||||
--- a/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/workbench/renderers/swt/ThemeDefinitionChangedHandlerTest.java
|
|
||||||
+++ b/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/workbench/renderers/swt/ThemeDefinitionChangedHandlerTest.java
|
|
||||||
@@ -16,7 +16,7 @@ package org.eclipse.e4.ui.workbench.renderers.swt;
|
|
||||||
|
|
||||||
import static org.junit.Assert.assertEquals;
|
|
||||||
import static org.junit.Assert.assertTrue;
|
|
||||||
-import static org.mockito.ArgumentMatchers.any;
|
|
||||||
+import static org.mockito.Matchers.any;
|
|
||||||
import static org.mockito.Mockito.doReturn;
|
|
||||||
import static org.mockito.Mockito.mock;
|
|
||||||
import static org.mockito.Mockito.never;
|
|
||||||
diff --git a/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/StylingPreferencesHandlerTest.java b/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/StylingPreferencesHandlerTest.java
|
|
||||||
index 99654e3845..07facbb824 100644
|
|
||||||
--- a/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/StylingPreferencesHandlerTest.java
|
|
||||||
+++ b/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/StylingPreferencesHandlerTest.java
|
|
||||||
@@ -13,8 +13,8 @@
|
|
||||||
*******************************************************************************/
|
|
||||||
package org.eclipse.ui.tests.themes;
|
|
||||||
|
|
||||||
-import static org.mockito.ArgumentMatchers.anyBoolean;
|
|
||||||
-import static org.mockito.ArgumentMatchers.anyObject;
|
|
||||||
+import static org.mockito.Matchers.anyBoolean;
|
|
||||||
+import static org.mockito.Matchers.anyObject;
|
|
||||||
import static org.mockito.Mockito.doReturn;
|
|
||||||
import static org.mockito.Mockito.mock;
|
|
||||||
import static org.mockito.Mockito.spy;
|
|
||||||
diff --git a/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/WorkbenchThemeChangedHandlerTest.java b/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/WorkbenchThemeChangedHandlerTest.java
|
|
||||||
index 5c6d765a76..fa59d14187 100644
|
|
||||||
--- a/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/WorkbenchThemeChangedHandlerTest.java
|
|
||||||
+++ b/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/themes/WorkbenchThemeChangedHandlerTest.java
|
|
||||||
@@ -15,10 +15,10 @@
|
|
||||||
package org.eclipse.ui.tests.themes;
|
|
||||||
|
|
||||||
import static org.eclipse.ui.internal.themes.WorkbenchThemeManager.EMPTY_COLOR_VALUE;
|
|
||||||
-import static org.mockito.ArgumentMatchers.any;
|
|
||||||
-import static org.mockito.ArgumentMatchers.anyObject;
|
|
||||||
-import static org.mockito.ArgumentMatchers.eq;
|
|
||||||
-import static org.mockito.ArgumentMatchers.isNull;
|
|
||||||
+import static org.mockito.Matchers.any;
|
|
||||||
+import static org.mockito.Matchers.anyObject;
|
|
||||||
+import static org.mockito.Matchers.eq;
|
|
||||||
+import static org.mockito.Matchers.isNull;
|
|
||||||
import static org.mockito.Mockito.doReturn;
|
|
||||||
import static org.mockito.Mockito.mock;
|
|
||||||
import static org.mockito.Mockito.never;
|
|
||||||
@@ -102,11 +102,11 @@ public class WorkbenchThemeChangedHandlerTest extends TestCase {
|
|
||||||
verify(colorRegistry, times(1)).put(eq("colorDefinition"), any(RGB.class));
|
|
||||||
verify(colorRegistry, times(1)).put(eq("colorDefinition"), eq(EMPTY_COLOR_VALUE));
|
|
||||||
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class),
|
|
||||||
eq(fontRegistry), eq(fontDefinition1), any(IPreferenceStore.class));
|
|
||||||
verify(handler, never()).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class),
|
|
||||||
eq(fontRegistry), eq(fontDefinition2), any(IPreferenceStore.class));
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class),
|
|
||||||
eq(colorRegistry), eq(colorDefinition), any(IPreferenceStore.class));
|
|
||||||
|
|
||||||
verify(stylingEngine, times(1)).style(fontDefinition2);
|
|
||||||
@@ -165,22 +165,22 @@ public class WorkbenchThemeChangedHandlerTest extends TestCase {
|
|
||||||
//then
|
|
||||||
verify(stylingEngine, times(1)).style(fontDefinition1);
|
|
||||||
verify(fontRegistry, times(1)).put("fontDefinition1", null);
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(fontRegistry), eq(fontDefinition1),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(fontRegistry), eq(fontDefinition1),
|
|
||||||
any(IPreferenceStore.class));
|
|
||||||
|
|
||||||
verify(stylingEngine, times(1)).style(fontDefinition2);
|
|
||||||
verify(fontRegistry, never()).put(eq("fontDefinition2"), any(FontData[].class));
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(fontRegistry), eq(fontDefinition2),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(fontRegistry), eq(fontDefinition2),
|
|
||||||
any(IPreferenceStore.class));
|
|
||||||
|
|
||||||
verify(stylingEngine, times(1)).style(colorDefinition1);
|
|
||||||
verify(colorRegistry, never()).put(eq("colorDefinition1"), any(RGB.class));
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(colorRegistry), eq(colorDefinition1),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(colorRegistry), eq(colorDefinition1),
|
|
||||||
any(IPreferenceStore.class));
|
|
||||||
|
|
||||||
verify(stylingEngine, times(1)).style(colorDefinition2);
|
|
||||||
verify(colorRegistry, times(1)).put("colorDefinition2", null);
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(colorRegistry), eq(colorDefinition2),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(colorRegistry), eq(colorDefinition2),
|
|
||||||
any(IPreferenceStore.class));
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -227,9 +227,9 @@ public class WorkbenchThemeChangedHandlerTest extends TestCase {
|
|
||||||
verify(colorRegistry, times(1)).put("colorDefinition", null);
|
|
||||||
assertEquals(1, themeRegistry.getColors().length);
|
|
||||||
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(fontRegistry), eq(fontDefinition),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(fontRegistry), eq(fontDefinition),
|
|
||||||
any(IPreferenceStore.class));
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(colorRegistry), eq(colorDefinition),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(colorRegistry), eq(colorDefinition),
|
|
||||||
any(IPreferenceStore.class));
|
|
||||||
|
|
||||||
verify(handler, times(1)).resetThemeRegistries(themeRegistry, fontRegistry, colorRegistry);
|
|
||||||
@@ -297,13 +297,13 @@ public class WorkbenchThemeChangedHandlerTest extends TestCase {
|
|
||||||
verify(colorRegistry, times(1)).put(eq("colorDefinition2"), any(RGB.class));
|
|
||||||
verify(colorRegistry, times(1)).put(eq("colorDefinition2"), eq(EMPTY_COLOR_VALUE));
|
|
||||||
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(fontRegistry), eq(fontDefinition1),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(fontRegistry), eq(fontDefinition1),
|
|
||||||
any(IPreferenceStore.class));
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(fontRegistry), eq(fontDefinition2),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(fontRegistry), eq(fontDefinition2),
|
|
||||||
any(IPreferenceStore.class));
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(colorRegistry), eq(colorDefinition1),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(colorRegistry), eq(colorDefinition1),
|
|
||||||
any(IPreferenceStore.class));
|
|
||||||
- verify(handler, times(1)).populateDefinition(isNull(), isNull(), eq(colorRegistry), eq(colorDefinition2),
|
|
||||||
+ verify(handler, times(1)).populateDefinition(any(ITheme.class), any(org.eclipse.ui.themes.ITheme.class), eq(colorRegistry), eq(colorDefinition2),
|
|
||||||
any(IPreferenceStore.class));
|
|
||||||
|
|
||||||
verify(handler, times(1)).resetThemeRegistries(themeRegistry, fontRegistry, colorRegistry);
|
|
||||||
diff --git a/eclipse.platform.ui/tests/org.eclipse.ui.tests/META-INF/MANIFEST.MF b/eclipse.platform.ui/tests/org.eclipse.ui.tests/META-INF/MANIFEST.MF
|
|
||||||
index 45c025610f..484f3a0092 100644
|
|
||||||
--- a/eclipse.platform.ui/tests/org.eclipse.ui.tests/META-INF/MANIFEST.MF
|
|
||||||
+++ b/eclipse.platform.ui/tests/org.eclipse.ui.tests/META-INF/MANIFEST.MF
|
|
||||||
@@ -44,7 +44,7 @@ Require-Bundle: org.eclipse.core.resources,
|
|
||||||
org.eclipse.osgi.services;bundle-version="3.3.100",
|
|
||||||
org.hamcrest.core;bundle-version="1.3.0",
|
|
||||||
org.hamcrest.library;bundle-version="1.3.0",
|
|
||||||
- org.mockito;bundle-version="2.13.0"
|
|
||||||
+ org.mockito.mockito-core
|
|
||||||
Import-Package: javax.annotation
|
|
||||||
Eclipse-AutoStart: true
|
|
||||||
Export-Package: org.eclipse.ui.tests.api,
|
|
||||||
diff --git a/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml b/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
||||||
index 5514138f..ac5c0ee4 100644
|
|
||||||
--- a/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
||||||
+++ b/eclipse.platform.releng/features/org.eclipse.sdk.tests/feature.xml
|
|
||||||
@@ -23,7 +23,7 @@
|
|
||||||
<import plugin="org.apache.commons.io" />
|
|
||||||
<import plugin="org.hamcrest.core" />
|
|
||||||
<import plugin="org.hamcrest.library" />
|
|
||||||
- <import plugin="org.mockito" />
|
|
||||||
+ <import plugin="org.mockito.mockito-core" />
|
|
||||||
<import plugin="org.objenesis" />
|
|
||||||
</requires>
|
|
||||||
|
|
||||||
diff --git a/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml b/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
|
||||||
index d4728693..297e1031 100644
|
|
||||||
--- a/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
|
||||||
+++ b/eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
|
||||||
@@ -24,7 +24,7 @@
|
|
||||||
<import plugin="org.easymock" />
|
|
||||||
<import plugin="org.hamcrest.core" />
|
|
||||||
<import plugin="org.hamcrest.library" />
|
|
||||||
- <import plugin="org.mockito" />
|
|
||||||
+ <import plugin="org.mockito.mockito-core" />
|
|
||||||
</requires>
|
|
||||||
|
|
||||||
<plugin
|
|
@ -1,8 +1,8 @@
|
|||||||
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java.orig 2018-04-25 15:35:44.914031196 +0100
|
--- rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java.orig 2020-06-18 18:36:53.668369677 +0100
|
||||||
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java 2018-04-25 15:36:17.546856697 +0100
|
+++ rt.equinox.p2/bundles/org.eclipse.equinox.p2.publisher.eclipse/src/org/eclipse/equinox/p2/publisher/eclipse/BundlesAction.java 2020-06-18 18:37:10.061182586 +0100
|
||||||
@@ -885,7 +885,7 @@
|
@@ -1010,7 +1010,7 @@
|
||||||
//First check to see if there is already an IU around for this
|
IInstallableUnit bundleIU = queryForIU(result, bd.getSymbolicName(),
|
||||||
IInstallableUnit bundleIU = queryForIU(result, bd.getSymbolicName(), PublisherHelper.fromOSGiVersion(bd.getVersion()));
|
PublisherHelper.fromOSGiVersion(bd.getVersion()));
|
||||||
IArtifactKey bundleArtKey = createBundleArtifactKey(bd.getSymbolicName(), bd.getVersion().toString());
|
IArtifactKey bundleArtKey = createBundleArtifactKey(bd.getSymbolicName(), bd.getVersion().toString());
|
||||||
- if (bundleIU == null) {
|
- if (bundleIU == null) {
|
||||||
+ if (bundleIU == null || !bd.getLocation().equals(bundleIU.getProperty("file.name"))) {
|
+ if (bundleIU == null || !bd.getLocation().equals(bundleIU.getProperty("file.name"))) {
|
||||||
|
@ -47,18 +47,17 @@
|
|||||||
import org.eclipse.equinox.http.servlet.ExtendedHttpService;
|
import org.eclipse.equinox.http.servlet.ExtendedHttpService;
|
||||||
import org.eclipse.equinox.http.servlet.RangeAwareServletContextHelper;
|
import org.eclipse.equinox.http.servlet.RangeAwareServletContextHelper;
|
||||||
import org.eclipse.equinox.http.servlet.context.ContextPathCustomizer;
|
import org.eclipse.equinox.http.servlet.context.ContextPathCustomizer;
|
||||||
@@ -2665,65 +2661,6 @@
|
@@ -2657,66 +2653,6 @@
|
||||||
Assert.assertEquals("bundleresource", requestAdvisor.request("testDefaultHttpContextResource"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- @Test
|
@Test
|
||||||
- public void test_commonsFileUpload() throws Exception {
|
- public void test_commonsFileUpload() throws Exception {
|
||||||
- Servlet servlet = new HttpServlet() {
|
- Servlet servlet = new HttpServlet() {
|
||||||
- private static final long serialVersionUID = 1L;
|
- private static final long serialVersionUID = 1L;
|
||||||
-
|
-
|
||||||
- @Override
|
- @Override
|
||||||
- protected void doPost(HttpServletRequest req, HttpServletResponse resp)
|
- protected void doPost(HttpServletRequest req, HttpServletResponse resp)
|
||||||
- throws IOException, ServletException {
|
- throws IOException {
|
||||||
-
|
-
|
||||||
- boolean isMultipart = ServletFileUpload.isMultipartContent(req);
|
- boolean isMultipart = ServletFileUpload.isMultipartContent(req);
|
||||||
- Assert.assertTrue(isMultipart);
|
- Assert.assertTrue(isMultipart);
|
||||||
@ -96,12 +95,12 @@
|
|||||||
- }
|
- }
|
||||||
- };
|
- };
|
||||||
-
|
-
|
||||||
- Dictionary<String, Object> props = new Hashtable<String, Object>();
|
- Dictionary<String, Object> props = new Hashtable<>();
|
||||||
- props.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_SERVLET_NAME, "S16");
|
- props.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_SERVLET_NAME, "S16");
|
||||||
- props.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_SERVLET_PATTERN, "/Servlet16/*");
|
- props.put(HttpWhiteboardConstants.HTTP_WHITEBOARD_SERVLET_PATTERN, "/Servlet16/*");
|
||||||
- registrations.add(getBundleContext().registerService(Servlet.class, servlet, props));
|
- registrations.add(getBundleContext().registerService(Servlet.class, servlet, props));
|
||||||
-
|
-
|
||||||
- Map<String, List<Object>> map = new HashMap<String, List<Object>>();
|
- Map<String, List<Object>> map = new HashMap<>();
|
||||||
-
|
-
|
||||||
- map.put("file", Arrays.<Object>asList(getClass().getResource("blue.png")));
|
- map.put("file", Arrays.<Object>asList(getClass().getResource("blue.png")));
|
||||||
-
|
-
|
||||||
@ -110,6 +109,8 @@
|
|||||||
- Assert.assertEquals("200", result.get("responseCode").get(0));
|
- Assert.assertEquals("200", result.get("responseCode").get(0));
|
||||||
- Assert.assertEquals("blue.png|image/png|292", result.get("responseBody").get(0));
|
- Assert.assertEquals("blue.png|image/png|292", result.get("responseBody").get(0));
|
||||||
- }
|
- }
|
||||||
|
-
|
||||||
@Test
|
- @Test
|
||||||
public void test_PathEncodings_Bug540970() throws Exception {
|
public void test_PathEncodings_Bug540970() throws Exception {
|
||||||
|
Servlet servlet = new HttpServlet() {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
From 72e58be8c9c5fbc6f6527318b4381a58cebfc120 Mon Sep 17 00:00:00 2001
|
From 7843458db4b359cbee040c17ddda21d5fa6ddd35 Mon Sep 17 00:00:00 2001
|
||||||
From: Roland Grunberg <rgrunber@redhat.com>
|
From: Roland Grunberg <rgrunber@redhat.com>
|
||||||
Date: Thu, 7 Apr 2016 10:23:49 -0400
|
Date: Thu, 7 Apr 2016 10:23:49 -0400
|
||||||
Subject: [PATCH] Support reading BundleInfo from p2 Droplets enabled
|
Subject: [PATCH] Support reading BundleInfo from p2 Droplets enabled
|
||||||
@ -6,28 +6,26 @@ Subject: [PATCH] Support reading BundleInfo from p2 Droplets enabled
|
|||||||
|
|
||||||
- Additionally support reading source bundles from p2 Droplets location
|
- Additionally support reading source bundles from p2 Droplets location
|
||||||
---
|
---
|
||||||
ui/org.eclipse.pde.core/META-INF/MANIFEST.MF | 3 +-
|
.../org.eclipse.pde.core/META-INF/MANIFEST.MF | 1 +
|
||||||
.../src/org/eclipse/pde/internal/core/P2Utils.java | 48 +++++++++++++++++++---
|
.../eclipse/pde/internal/core/P2Utils.java | 50 +++++++++++++++++--
|
||||||
2 files changed, 45 insertions(+), 6 deletions(-)
|
2 files changed, 46 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
diff --git eclipse.pde.ui/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF eclipse.pde.ui/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF
|
diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF b/eclipse.pde.ui/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF
|
||||||
index 7c20994..ab702e3 100644
|
index f045abd5b..864665785 100644
|
||||||
--- eclipse.pde.ui/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF
|
--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF
|
||||||
+++ eclipse.pde.ui/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF
|
+++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/META-INF/MANIFEST.MF
|
||||||
@@ -104,6 +104,7 @@ Require-Bundle:
|
@@ -102,5 +102,6 @@ Require-Bundle:
|
||||||
org.eclipse.core.filesystem;bundle-version="[1.0.0,2.0.0)"
|
org.eclipse.core.filesystem;bundle-version="[1.0.0,2.0.0)"
|
||||||
Eclipse-LazyStart: true
|
Eclipse-LazyStart: true
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
||||||
-Import-Package: com.ibm.icu.util
|
+Import-Package: org.eclipse.equinox.internal.simpleconfigurator.utils
|
||||||
+Import-Package: com.ibm.icu.util,
|
|
||||||
+ org.eclipse.equinox.internal.simpleconfigurator.utils
|
|
||||||
Bundle-ActivationPolicy: lazy
|
Bundle-ActivationPolicy: lazy
|
||||||
Automatic-Module-Name: org.eclipse.pde.core
|
Automatic-Module-Name: org.eclipse.pde.core
|
||||||
diff --git eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/P2Utils.java eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/P2Utils.java
|
diff --git a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/P2Utils.java b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/P2Utils.java
|
||||||
index fbd4b81..55cd40e 100644
|
index 696d2318f..7ab4596d5 100644
|
||||||
--- eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/P2Utils.java
|
--- a/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/P2Utils.java
|
||||||
+++ eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/P2Utils.java
|
+++ b/eclipse.pde.ui/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/P2Utils.java
|
||||||
@@ -17,8 +17,9 @@
|
@@ -17,8 +17,9 @@ package org.eclipse.pde.internal.core;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.FileNotFoundException;
|
import java.io.FileNotFoundException;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -39,7 +37,7 @@ index fbd4b81..55cd40e 100644
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
@@ -31,7 +32,9 @@
|
@@ -31,7 +32,9 @@ import org.eclipse.core.runtime.IStatus;
|
||||||
import org.eclipse.core.runtime.NullProgressMonitor;
|
import org.eclipse.core.runtime.NullProgressMonitor;
|
||||||
import org.eclipse.core.runtime.Path;
|
import org.eclipse.core.runtime.Path;
|
||||||
import org.eclipse.core.runtime.Status;
|
import org.eclipse.core.runtime.Status;
|
||||||
@ -49,7 +47,7 @@ index fbd4b81..55cd40e 100644
|
|||||||
import org.eclipse.equinox.p2.core.IProvisioningAgent;
|
import org.eclipse.equinox.p2.core.IProvisioningAgent;
|
||||||
import org.eclipse.equinox.p2.core.IProvisioningAgentProvider;
|
import org.eclipse.equinox.p2.core.IProvisioningAgentProvider;
|
||||||
import org.eclipse.equinox.p2.engine.IEngine;
|
import org.eclipse.equinox.p2.engine.IEngine;
|
||||||
@@ -60,6 +63,7 @@
|
@@ -60,6 +63,7 @@ import org.eclipse.pde.core.plugin.IPluginModelBase;
|
||||||
import org.eclipse.pde.core.plugin.TargetPlatform;
|
import org.eclipse.pde.core.plugin.TargetPlatform;
|
||||||
import org.eclipse.pde.internal.build.BundleHelper;
|
import org.eclipse.pde.internal.build.BundleHelper;
|
||||||
import org.eclipse.pde.internal.core.plugin.PluginBase;
|
import org.eclipse.pde.internal.core.plugin.PluginBase;
|
||||||
@ -57,7 +55,7 @@ index fbd4b81..55cd40e 100644
|
|||||||
import org.osgi.framework.Constants;
|
import org.osgi.framework.Constants;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -139,7 +143,16 @@
|
@@ -139,7 +143,16 @@ public class P2Utils {
|
||||||
try {
|
try {
|
||||||
URL bundlesTxt = new URL(configurationArea.getProtocol(), configurationArea.getHost(), new File(configurationArea.getFile(), SimpleConfiguratorManipulator.BUNDLES_INFO_PATH).getAbsolutePath());
|
URL bundlesTxt = new URL(configurationArea.getProtocol(), configurationArea.getHost(), new File(configurationArea.getFile(), SimpleConfiguratorManipulator.BUNDLES_INFO_PATH).getAbsolutePath());
|
||||||
File home = basePath.toFile();
|
File home = basePath.toFile();
|
||||||
@ -75,7 +73,7 @@ index fbd4b81..55cd40e 100644
|
|||||||
if (bundles == null || bundles.length == 0) {
|
if (bundles == null || bundles.length == 0) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -171,11 +184,38 @@
|
@@ -168,11 +181,38 @@ public class P2Utils {
|
||||||
try {
|
try {
|
||||||
File home = basePath.toFile();
|
File home = basePath.toFile();
|
||||||
URL srcBundlesTxt = new URL(configurationArea.getProtocol(), configurationArea.getHost(), configurationArea.getFile().concat(SimpleConfiguratorManipulator.SOURCE_INFO_PATH));
|
URL srcBundlesTxt = new URL(configurationArea.getProtocol(), configurationArea.getHost(), configurationArea.getFile().concat(SimpleConfiguratorManipulator.SOURCE_INFO_PATH));
|
||||||
@ -113,8 +111,9 @@ index fbd4b81..55cd40e 100644
|
|||||||
}
|
}
|
||||||
- return srcBundles;
|
- return srcBundles;
|
||||||
+ return allSrcBundles.toArray(new BundleInfo[0]);
|
+ return allSrcBundles.toArray(new BundleInfo[0]);
|
||||||
} catch (MalformedURLException e) {
|
} catch (IOException e) {
|
||||||
PDECore.log(e);
|
PDECore.log(e);
|
||||||
return null;
|
return null;
|
||||||
--
|
--
|
||||||
2.7.4
|
2.21.1
|
||||||
|
|
||||||
|
@ -112,15 +112,15 @@ index 7e1f520..734dd10 100644
|
|||||||
+requires.7.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=s390x)(!(org.eclipse.swt.buildtime=true)))
|
+requires.7.filter = (&(osgi.os=linux)(osgi.ws=gtk)(osgi.arch=s390x)(!(org.eclipse.swt.buildtime=true)))
|
||||||
--- a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh 2017-04-19 13:31:15.000000000 +0100
|
--- a/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh 2017-04-19 13:31:15.000000000 +0100
|
||||||
+++ b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh 2017-04-23 16:58:34.022207885 +0100
|
+++ b/rt.equinox.framework/features/org.eclipse.equinox.executable.feature/library/gtk/build.sh 2017-04-23 16:58:34.022207885 +0100
|
||||||
@@ -109,7 +109,7 @@
|
@@ -100,7 +100,7 @@
|
||||||
"s390x")
|
"s390x")
|
||||||
defaultOSArch="s390x"
|
defaultOSArch="s390x"
|
||||||
defaultJava=DEFAULT_JAVA_EXEC
|
defaultJava=DEFAULT_JAVA_EXEC
|
||||||
- OUTPUT_DIR="$EXEC_DIR/contributed/$defaultWS/$defaultOS/$defaultOSArch"
|
- OUTPUT_DIR="$EXEC_DIR/contributed/$defaultWS/$defaultOS/$defaultOSArch"
|
||||||
+ OUTPUT_DIR="$EXEC_DIR/bin/$defaultWS/$defaultOS/$defaultOSArch"
|
+ OUTPUT_DIR="$EXEC_DIR/bin/$defaultWS/$defaultOS/$defaultOSArch"
|
||||||
;;
|
;;
|
||||||
arm*)
|
"aarch64")
|
||||||
defaultOSArch="arm"
|
defaultOSArch="aarch64"
|
||||||
--- a/rt.equinox.framework/pom.xml 2017-04-26 22:19:15.548461372 +0100
|
--- a/rt.equinox.framework/pom.xml 2017-04-26 22:19:15.548461372 +0100
|
||||||
+++ b/rt.equinox.framework/pom.xml 2017-04-26 22:20:41.348571492 +0100
|
+++ b/rt.equinox.framework/pom.xml 2017-04-26 22:20:41.348571492 +0100
|
||||||
@@ -77,6 +77,18 @@
|
@@ -77,6 +77,18 @@
|
||||||
|
@ -24,7 +24,7 @@ index d88d0a6..07fe087 100644
|
|||||||
+ org.eclipse.osgi.util;version="1.1.0",
|
+ org.eclipse.osgi.util;version="1.1.0",
|
||||||
org.osgi.framework;version="1.3.0",
|
org.osgi.framework;version="1.3.0",
|
||||||
org.osgi.framework.namespace;version="1.0.0",
|
org.osgi.framework.namespace;version="1.0.0",
|
||||||
org.osgi.framework.wiring;version="1.2.0",
|
org.osgi.framework.startlevel;version="1.0.0",
|
||||||
diff --git rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
|
diff --git rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
|
||||||
index ab69b88..d6bf121 100644
|
index ab69b88..d6bf121 100644
|
||||||
--- rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
|
--- rt.equinox.p2/bundles/org.eclipse.equinox.simpleconfigurator/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
|
||||||
|
@ -1,27 +1,47 @@
|
|||||||
--- eclipse.platform.swt.binaries/bundles/binaries-parent/pom.xml.orig 2019-05-01 16:18:20.026476746 +0100
|
From dd7d5dd0a820b3efd1a7955a7b80c881a40ddafc Mon Sep 17 00:00:00 2001
|
||||||
+++ eclipse.platform.swt.binaries/bundles/binaries-parent/pom.xml 2019-05-01 16:18:30.068453716 +0100
|
From: Mat Booth <mat.booth@redhat.com>
|
||||||
@@ -75,18 +75,6 @@
|
Date: Sat, 21 Mar 2020 15:29:00 +0000
|
||||||
|
Subject: [PATCH] Avoid the need to have javascript interpreter in the build
|
||||||
|
root
|
||||||
|
|
||||||
|
---
|
||||||
|
.../bundles/binaries-parent/pom.xml | 17 ------
|
||||||
|
.../bundles/org.eclipse.swt/buildSWT.xml | 53 ++++---------------
|
||||||
|
2 files changed, 11 insertions(+), 59 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/eclipse.platform.swt.binaries/bundles/binaries-parent/pom.xml b/eclipse.platform.swt.binaries/bundles/binaries-parent/pom.xml
|
||||||
|
index 4d209cfdc..eab439ae5 100644
|
||||||
|
--- a/eclipse.platform.swt.binaries/bundles/binaries-parent/pom.xml
|
||||||
|
+++ b/eclipse.platform.swt.binaries/bundles/binaries-parent/pom.xml
|
||||||
|
@@ -75,23 +75,6 @@
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
- <dependencies>
|
- <dependencies>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>org.mozilla</groupId>
|
- <groupId>org.mozilla</groupId>
|
||||||
- <artifactId>rhino</artifactId>
|
- <artifactId>rhino-runtime</artifactId>
|
||||||
- <version>1.7.10</version>
|
- <version>1.7.12</version>
|
||||||
|
- </dependency>
|
||||||
|
- <dependency>
|
||||||
|
- <groupId>org.apache.ant</groupId>
|
||||||
|
- <artifactId>ant</artifactId>
|
||||||
|
- <version>1.10.7</version>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- <dependency>
|
- <dependency>
|
||||||
- <groupId>org.apache.ant</groupId>
|
- <groupId>org.apache.ant</groupId>
|
||||||
- <artifactId>ant-apache-bsf</artifactId>
|
- <artifactId>ant-apache-bsf</artifactId>
|
||||||
- <version>1.10.6</version>
|
- <version>1.10.7</version>
|
||||||
- </dependency>
|
- </dependency>
|
||||||
- </dependencies>
|
- </dependencies>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
--- eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml.orig 2019-05-01 15:19:21.784965731 +0100
|
diff --git a/eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml b/eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml
|
||||||
+++ eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml 2019-05-01 16:40:48.623849151 +0100
|
index 9d4bb1b6f..6c1cdf690 100644
|
||||||
@@ -399,27 +399,8 @@
|
--- a/eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml
|
||||||
|
+++ b/eclipse.platform.swt/bundles/org.eclipse.swt/buildSWT.xml
|
||||||
|
@@ -374,27 +374,8 @@
|
||||||
<!-- Set swt_version, new_version, (and rev, min_ver, maj_ver, new_rev, new_min_ver, new_maj_ver) from the make_common.mak -->
|
<!-- Set swt_version, new_version, (and rev, min_ver, maj_ver, new_rev, new_min_ver, new_maj_ver) from the make_common.mak -->
|
||||||
<target name="get_version" unless="swt_version">
|
<target name="get_version" unless="swt_version">
|
||||||
<loadproperties srcFile="${repo.src}/${file_make_common}"/>
|
<loadproperties srcFile="${repo.src}/${file_make_common}"/>
|
||||||
@ -50,7 +70,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="get_new_release_version" unless="min_ver">
|
<target name="get_new_release_version" unless="min_ver">
|
||||||
@@ -548,11 +529,7 @@
|
@@ -523,11 +504,7 @@
|
||||||
</condition>
|
</condition>
|
||||||
<property name="fragment_dir" value="${repo.bin}/bundles/${fragment}"/>
|
<property name="fragment_dir" value="${repo.bin}/bundles/${fragment}"/>
|
||||||
<property name="sha1_file" value="${fragment_dir}/build.sha1"/>
|
<property name="sha1_file" value="${fragment_dir}/build.sha1"/>
|
||||||
@ -63,7 +83,7 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="update_sha1_file_in_fragment">
|
<target name="update_sha1_file_in_fragment">
|
||||||
@@ -686,23 +663,15 @@
|
@@ -661,23 +638,15 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="copy.library.src">
|
<target name="copy.library.src">
|
||||||
@ -96,3 +116,6 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- Params: swt.ws, swt.os, swt.arch -->
|
<!-- Params: swt.ws, swt.os, swt.arch -->
|
||||||
|
--
|
||||||
|
2.21.1
|
||||||
|
|
||||||
|
@ -22,8 +22,38 @@
|
|||||||
@@ -9,6 +9,7 @@
|
@@ -9,6 +9,7 @@
|
||||||
Require-Bundle: org.eclipse.pde.ui;bundle-version="3.10.0",
|
Require-Bundle: org.eclipse.pde.ui;bundle-version="3.10.0",
|
||||||
org.eclipse.pde.ui.templates;bundle-version="3.6.0",
|
org.eclipse.pde.ui.templates;bundle-version="3.6.0",
|
||||||
org.junit;bundle-version="4.12.0",
|
org.junit;bundle-version="4.13.0",
|
||||||
+ org.hamcrest.core;bundle-version="1.3.0",
|
+ org.hamcrest.core;bundle-version="1.3.0",
|
||||||
org.eclipse.core.runtime;bundle-version="3.13.0",
|
org.eclipse.core.runtime;bundle-version="3.13.0",
|
||||||
org.eclipse.core.resources;bundle-version="3.12.0",
|
org.eclipse.core.resources;bundle-version="3.12.0",
|
||||||
org.eclipse.ui.ide;bundle-version="3.13.0",
|
org.eclipse.ui.ide;bundle-version="3.13.0",
|
||||||
|
--- eclipse.platform.text/org.eclipse.text.tests/META-INF/MANIFEST.MF.orig 2019-09-21 16:37:52.645515694 +0100
|
||||||
|
+++ eclipse.platform.text/org.eclipse.text.tests/META-INF/MANIFEST.MF 2019-09-21 16:38:25.034443980 +0100
|
||||||
|
@@ -13,6 +13,7 @@
|
||||||
|
org.eclipse.core.commands;bundle-version="[3.5.0,4.0.0)",
|
||||||
|
org.eclipse.core.runtime;bundle-version="[3.5.0,4.0.0)",
|
||||||
|
org.eclipse.text;bundle-version="[3.6.3,4.0.0)",
|
||||||
|
+ org.hamcrest.core;bundle-version="1.3.0",
|
||||||
|
org.junit;bundle-version="4.12.0"
|
||||||
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
|
||||||
|
Eclipse-BundleShape: dir
|
||||||
|
--- eclipse.pde.ui/ui/org.eclipse.pde.junit.runtime.tests/META-INF/MANIFEST.MF.orig 2019-09-21 17:06:17.944749329 +0100
|
||||||
|
+++ eclipse.pde.ui/ui/org.eclipse.pde.junit.runtime.tests/META-INF/MANIFEST.MF 2019-09-21 17:06:43.846692344 +0100
|
||||||
|
@@ -9,6 +9,7 @@
|
||||||
|
Bundle-ActivationPolicy: lazy
|
||||||
|
Eclipse-BundleShape: dir
|
||||||
|
Require-Bundle: org.junit,
|
||||||
|
+ org.hamcrest.core;bundle-version="1.3.0",
|
||||||
|
org.hamcrest.library;bundle-version="1.3.0",
|
||||||
|
org.eclipse.core.runtime;bundle-version="3.15.400",
|
||||||
|
org.eclipse.pde.launching;bundle-version="3.7.700",
|
||||||
|
--- eclipse.pde.ui/ui/org.eclipse.pde.ui.tests/META-INF/MANIFEST.MF.orig 2019-09-23 09:46:23.507897561 +0100
|
||||||
|
+++ eclipse.pde.ui/ui/org.eclipse.pde.ui.tests/META-INF/MANIFEST.MF 2019-09-23 09:46:45.658839342 +0100
|
||||||
|
@@ -7,6 +7,7 @@
|
||||||
|
Bundle-Activator: org.eclipse.pde.ui.tests.PDETestsPlugin
|
||||||
|
Bundle-Vendor: Eclipse.org
|
||||||
|
Require-Bundle: org.junit,
|
||||||
|
+ org.hamcrest.core,
|
||||||
|
org.eclipse.pde.ui,
|
||||||
|
org.eclipse.ui,
|
||||||
|
org.eclipse.core.resources,
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
diff --git a/eclipse.platform/ant/org.eclipse.ant.launching/remote/org/eclipse/ant/internal/launching/remote/AntSecurityManager.java b/eclipse.platform/ant/org.eclipse.ant.launching/remote/org/eclipse/ant/internal/launching/remote/AntSecurityManager.java
|
|
||||||
index b6c0d1e68..a35e683d7 100644
|
|
||||||
--- a/eclipse.platform/ant/org.eclipse.ant.launching/remote/org/eclipse/ant/internal/launching/remote/AntSecurityManager.java
|
|
||||||
+++ b/eclipse.platform/ant/org.eclipse.ant.launching/remote/org/eclipse/ant/internal/launching/remote/AntSecurityManager.java
|
|
||||||
@@ -19,12 +19,6 @@ import java.net.SocketPermission;
|
|
||||||
import java.security.Permission;
|
|
||||||
import java.util.PropertyPermission;
|
|
||||||
|
|
||||||
-import org.eclipse.ant.core.AntCorePlugin;
|
|
||||||
-import org.eclipse.ant.core.AntSecurityException;
|
|
||||||
-import org.eclipse.core.runtime.IStatus;
|
|
||||||
-import org.eclipse.core.runtime.Platform;
|
|
||||||
-import org.eclipse.core.runtime.Status;
|
|
||||||
-
|
|
||||||
/**
|
|
||||||
* A security manager that always throws an <code>AntSecurityException</code> if the calling thread attempts to cause the Java Virtual Machine to
|
|
||||||
* exit/halt or if the restricted thread attempts to set a System property. Otherwise this manager just delegates to the pre-existing manager passed
|
|
||||||
@@ -453,8 +447,6 @@ public class AntSecurityManager extends SecurityManager {
|
|
||||||
return super.getInCheck();
|
|
||||||
}
|
|
||||||
catch (NoSuchMethodException | SecurityException e) {
|
|
||||||
- Platform.getLog(AntCorePlugin.getPlugin().getBundle()).log(new Status(IStatus.WARNING, "org.eclipse.ant.launching", //$NON-NLS-1$
|
|
||||||
- RemoteAntMessages.getString("AntSecurityManager.getInCheck"))); //$NON-NLS-1$
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
80
SOURCES/force-clean-after-p2-operations.patch
Normal file
80
SOURCES/force-clean-after-p2-operations.patch
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
From d964680827a248e8a312c000c4c2443f96c8c459 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mat Booth <mat.booth@redhat.com>
|
||||||
|
Date: Fri, 27 Sep 2019 14:52:54 +0100
|
||||||
|
Subject: [PATCH] Force a clean on the restart after p2 operations
|
||||||
|
|
||||||
|
---
|
||||||
|
.../META-INF/MANIFEST.MF | 2 +-
|
||||||
|
.../bundles/org.eclipse.equinox.launcher/pom.xml | 2 +-
|
||||||
|
.../src/org/eclipse/equinox/launcher/Main.java | 13 +++++++++++++
|
||||||
|
.../internal/p2/ui/ProvisioningOperationRunner.java | 6 ++++++
|
||||||
|
4 files changed, 21 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/META-INF/MANIFEST.MF b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/META-INF/MANIFEST.MF
|
||||||
|
index 497e5d6fa..a118a0e4c 100644
|
||||||
|
--- a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/META-INF/MANIFEST.MF
|
||||||
|
+++ b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/META-INF/MANIFEST.MF
|
||||||
|
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
||||||
|
Bundle-ManifestVersion: 2
|
||||||
|
Bundle-Name: %pluginName
|
||||||
|
Bundle-SymbolicName: org.eclipse.equinox.launcher;singleton:=true
|
||||||
|
-Bundle-Version: 1.5.700.qualifier
|
||||||
|
+Bundle-Version: 1.5.701.qualifier
|
||||||
|
Main-Class: org.eclipse.equinox.launcher.Main
|
||||||
|
Bundle-ClassPath: .
|
||||||
|
Bundle-Vendor: %providerName
|
||||||
|
diff --git a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml
|
||||||
|
index 43849b5b8..c5d2cdfea 100644
|
||||||
|
--- a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml
|
||||||
|
+++ b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/pom.xml
|
||||||
|
@@ -19,6 +19,6 @@
|
||||||
|
</parent>
|
||||||
|
<groupId>org.eclipse.equinox</groupId>
|
||||||
|
<artifactId>org.eclipse.equinox.launcher</artifactId>
|
||||||
|
- <version>1.5.700-SNAPSHOT</version>
|
||||||
|
+ <version>1.5.701-SNAPSHOT</version>
|
||||||
|
<packaging>eclipse-plugin</packaging>
|
||||||
|
</project>
|
||||||
|
diff --git a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
|
||||||
|
index d013ff7c2..65f4cfd8a 100644
|
||||||
|
--- a/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
|
||||||
|
+++ b/rt.equinox.framework/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
|
||||||
|
@@ -560,6 +560,18 @@
|
||||||
|
setupVMProperties();
|
||||||
|
processConfiguration();
|
||||||
|
|
||||||
|
+ File oca = new File(getConfigurationLocation().toURI());
|
||||||
|
+ File ocaFile = new File(oca, "clean_on_restart");
|
||||||
|
+ if (ocaFile.exists()) {
|
||||||
|
+ System.err.println("Clean triggered."); //$NON-NLS-1$
|
||||||
|
+ ocaFile.delete();
|
||||||
|
+ commands = Arrays.copyOf(args, args.length + 1);
|
||||||
|
+ commands[commands.length-1] = CLEAN;
|
||||||
|
+ passThruArgs = Arrays.copyOf(passThruArgs, passThruArgs.length + 1);
|
||||||
|
+ passThruArgs[passThruArgs.length-1] = CLEAN;
|
||||||
|
+ setupVMProperties();
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
if (protectBase && (System.getProperty(PROP_SHARED_CONFIG_AREA) == null)) {
|
||||||
|
System.err.println("This application is configured to run in a cascaded mode only."); //$NON-NLS-1$
|
||||||
|
System.setProperty(PROP_EXITCODE, Integer.toString(14));
|
||||||
|
diff --git a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvisioningOperationRunner.java b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvisioningOperationRunner.java
|
||||||
|
index a70b640ba..8a002ebc2 100644
|
||||||
|
--- a/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvisioningOperationRunner.java
|
||||||
|
+++ b/rt.equinox.p2/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvisioningOperationRunner.java
|
||||||
|
@@ -72,6 +72,12 @@ public class ProvisioningOperationRunner {
|
||||||
|
* @param restartPolicy
|
||||||
|
*/
|
||||||
|
void requestRestart(final int restartPolicy) {
|
||||||
|
+ String oca = System.getProperty("osgi.configuration.area");
|
||||||
|
+ try {
|
||||||
|
+ java.io.File ocaCleanFile = new java.io.File(new java.net.URL(oca).toURI());
|
||||||
|
+ new java.io.File(ocaCleanFile, "clean_on_restart").createNewFile();
|
||||||
|
+ } catch (Exception e) { /* Eh, we tried... */ }
|
||||||
|
+
|
||||||
|
// Global override of restart (used in test cases).
|
||||||
|
if (suppressRestart)
|
||||||
|
return;
|
||||||
|
--
|
||||||
|
2.20.1
|
||||||
|
|
110
SOURCES/toolchains.xml
Normal file
110
SOURCES/toolchains.xml
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
<toolchains>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<id>CDC-1.0/Foundation-1.0</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-1.8.0</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<id>CDC-1.1/Foundation-1.1</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-1.8.0</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
|
||||||
|
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<id>OSGi/Minimum-1.0</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-1.8.0</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<id>OSGi/Minimum-1.1</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-1.8.0</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<id>OSGi/Minimum-1.2</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-1.8.0</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
|
||||||
|
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<id>J2SE-1.4</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-1.8.0</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<id>J2SE-1.5</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-1.8.0</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<id>JavaSE-1.6</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-1.8.0</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<id>JavaSE-1.7</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-1.8.0</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<id>JavaSE-1.8</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-1.8.0</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
<toolchain>
|
||||||
|
<type>jdk</type>
|
||||||
|
<provides>
|
||||||
|
<id>JavaSE-11</id>
|
||||||
|
</provides>
|
||||||
|
<configuration>
|
||||||
|
<jdkHome>/usr/lib/jvm/java-11</jdkHome>
|
||||||
|
</configuration>
|
||||||
|
</toolchain>
|
||||||
|
|
||||||
|
</toolchains>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -3,17 +3,17 @@
|
|||||||
# this is a way to bootstrap Eclipse on secondary archs.
|
# this is a way to bootstrap Eclipse on secondary archs.
|
||||||
%bcond_with bootstrap
|
%bcond_with bootstrap
|
||||||
|
|
||||||
# Set this to avoid building contributor tools and tests
|
# Set this to avoid building contributor tools
|
||||||
%bcond_without contrib_tools
|
%bcond_without contrib_tools
|
||||||
|
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
%global eb_commit c985e357223668b4bc1fb76ea6b9e0c12829b7e8
|
%global eb_commit b056b40d26d052b788b790f27ead774ff804ab55
|
||||||
%global eclipse_rel %{version}RC2
|
%global eclipse_rel %{version}
|
||||||
%global eclipse_tag S-%{eclipse_rel}-201906051800
|
%global eclipse_tag R-%{eclipse_rel}-202006040540
|
||||||
|
|
||||||
%global _jetty_version 9.4.19
|
%global _jetty_version 9.4.30
|
||||||
%global _lucene_version 8.0.0
|
%global _lucene_version 8.4.1
|
||||||
%global _batik_version 1.11
|
%global _batik_version 1.11
|
||||||
|
|
||||||
%ifarch %{ix86}
|
%ifarch %{ix86}
|
||||||
@ -39,10 +39,17 @@ Epoch: 1
|
|||||||
%global use_wayland 0
|
%global use_wayland 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Glassfish EE APIs that moved to jakarta namespace
|
||||||
|
%if 0%{?fedora}
|
||||||
|
%global _jakarta_annotations jakarta.annotation-api
|
||||||
|
%else
|
||||||
|
%global _jakarta_annotations javax.annotation-api
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: An open, extensible IDE
|
Summary: An open, extensible IDE
|
||||||
Name: eclipse
|
Name: eclipse
|
||||||
Version: 4.12
|
Version: 4.16
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: EPL-2.0
|
License: EPL-2.0
|
||||||
URL: http://www.eclipse.org/
|
URL: http://www.eclipse.org/
|
||||||
|
|
||||||
@ -53,6 +60,9 @@ Source0: https://download.eclipse.org/eclipse/downloads/drops4/%{eclipse_tag}/ec
|
|||||||
# %%{eb_commit} | xz > org.eclipse.linuxtools.eclipse-build-%%{eb_commit}.tar.xz
|
# %%{eb_commit} | xz > org.eclipse.linuxtools.eclipse-build-%%{eb_commit}.tar.xz
|
||||||
Source1: http://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.eclipse-build.git/snapshot/org.eclipse.linuxtools.eclipse-build-%{eb_commit}.tar.xz
|
Source1: http://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.eclipse-build.git/snapshot/org.eclipse.linuxtools.eclipse-build-%{eb_commit}.tar.xz
|
||||||
|
|
||||||
|
# Toolchain configurations for all EEs needed by Eclipse bundles
|
||||||
|
Source2: toolchains.xml
|
||||||
|
|
||||||
# Eclipse should not include source for dependencies that are not supplied by this package
|
# Eclipse should not include source for dependencies that are not supplied by this package
|
||||||
# and should not include source for bundles that are not relevant to our platform
|
# and should not include source for bundles that are not relevant to our platform
|
||||||
Patch0: eclipse-no-source-for-dependencies.patch
|
Patch0: eclipse-no-source-for-dependencies.patch
|
||||||
@ -71,8 +81,6 @@ Patch4: eclipse-secondary-arches.patch
|
|||||||
|
|
||||||
Patch5: eclipse-debug-symbols.patch
|
Patch5: eclipse-debug-symbols.patch
|
||||||
|
|
||||||
#Patch6: eclipse-test-support.patch
|
|
||||||
|
|
||||||
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=408138
|
# https://bugs.eclipse.org/bugs/show_bug.cgi?id=408138
|
||||||
Patch12: eclipse-fix-dropins.patch
|
Patch12: eclipse-fix-dropins.patch
|
||||||
|
|
||||||
@ -84,7 +92,6 @@ Patch12: eclipse-fix-dropins.patch
|
|||||||
# javax.el -> javax.el-api
|
# javax.el -> javax.el-api
|
||||||
# javax.servlet -> javax.servlet-api
|
# javax.servlet -> javax.servlet-api
|
||||||
# org.apache.jasper.glassfish -> org.glassfish.web.javax.servlet.jsp
|
# org.apache.jasper.glassfish -> org.glassfish.web.javax.servlet.jsp
|
||||||
# javax.annotation -> javax.annotation-api
|
|
||||||
# org.w3c.dom.smil -> removed
|
# org.w3c.dom.smil -> removed
|
||||||
Patch13: eclipse-feature-plugins-to-category-ius.patch
|
Patch13: eclipse-feature-plugins-to-category-ius.patch
|
||||||
|
|
||||||
@ -94,7 +101,6 @@ Patch14: eclipse-support-symlink-bundles.patch
|
|||||||
Patch15: eclipse-fix-tests.patch
|
Patch15: eclipse-fix-tests.patch
|
||||||
|
|
||||||
# Droplet fixes
|
# Droplet fixes
|
||||||
Patch16: eclipse-adjust-droplets.patch
|
|
||||||
Patch17: eclipse-pde-tp-support-droplets.patch
|
Patch17: eclipse-pde-tp-support-droplets.patch
|
||||||
|
|
||||||
# Disable uses by default
|
# Disable uses by default
|
||||||
@ -119,20 +125,20 @@ Patch24: eclipse-swt-avoid-javascript-at-build.patch
|
|||||||
# Avoid optional dep used only for tests
|
# Avoid optional dep used only for tests
|
||||||
Patch25: eclipse-patch-out-fileupload-dep.patch
|
Patch25: eclipse-patch-out-fileupload-dep.patch
|
||||||
|
|
||||||
# See https://bugs.eclipse.org/bugs/show_bug.cgi?id=548211
|
# Force a clean on the restart after p2 operations
|
||||||
Patch26: eclipse-ebz548211.patch
|
Patch26: force-clean-after-p2-operations.patch
|
||||||
Patch27: eclipse-ebz548211-2.patch
|
|
||||||
|
|
||||||
# See https://bugs.eclipse.org/bugs/show_bug.cgi?id=542708
|
# SCL-specific patches
|
||||||
Patch28: eclipse-ebz542708.patch
|
Patch100: 0001-Avoid-limitation-with-older-shade-plug-in-versions-w.patch
|
||||||
|
Patch101: 0002-Allow-bootstrapping-against-OSGi-Core-R6.patch
|
||||||
|
Patch102: 0004-Add-parent-pom-for-old-tycho-pomless.patch
|
||||||
|
|
||||||
# Fix regression in ant support
|
# Upstream no longer supports non-64bit arches
|
||||||
Patch29: fix-ant-execution.patch
|
ExclusiveArch: x86_64
|
||||||
|
|
||||||
# Use ASM 6 instead of 7
|
# Require both JDKs until Eclipse can fully move onto Java 11
|
||||||
Patch30: eclipse-mockito.patch
|
BuildRequires: java-11-openjdk-devel
|
||||||
|
BuildRequires: java-1.8.0-openjdk-devel
|
||||||
ExclusiveArch: x86_64
|
|
||||||
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: tycho
|
BuildRequires: tycho
|
||||||
@ -162,19 +168,16 @@ BuildRequires: pkgconfig(libsecret-1)
|
|||||||
BuildRequires: pkgconfig(gtk+-2.0)
|
BuildRequires: pkgconfig(gtk+-2.0)
|
||||||
BuildRequires: pkgconfig(gtk+-3.0)
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||||
BuildRequires: icu4j >= 1:64.2
|
BuildRequires: icu4j >= 1:65.1
|
||||||
BuildRequires: ant >= 1.10.5
|
BuildRequires: ant >= 1.10.5
|
||||||
BuildRequires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf
|
|
||||||
BuildRequires: ant-commons-net ant-javamail ant-jdepend ant-junit ant-swing ant-jsch ant-testutil ant-apache-xalan2 ant-jmf ant-xz
|
|
||||||
BuildRequires: jsch >= 0:0.1.46-2
|
BuildRequires: jsch >= 0:0.1.46-2
|
||||||
BuildRequires: apache-commons-el >= 1.0-22
|
|
||||||
BuildRequires: apache-commons-logging
|
BuildRequires: apache-commons-logging
|
||||||
BuildRequires: apache-commons-codec
|
BuildRequires: apache-commons-codec
|
||||||
BuildRequires: apache-commons-jxpath
|
BuildRequires: apache-commons-jxpath
|
||||||
BuildRequires: osgi(org.apache.felix.gogo.shell) >= 1.1.0
|
BuildRequires: osgi(org.apache.felix.gogo.shell) >= 1.1.0
|
||||||
BuildRequires: osgi(org.apache.felix.gogo.command) >= 1.0.2
|
BuildRequires: osgi(org.apache.felix.gogo.command) >= 1.0.2
|
||||||
BuildRequires: osgi(org.apache.felix.gogo.runtime) >= 1.1.0
|
BuildRequires: osgi(org.apache.felix.gogo.runtime) >= 1.1.0
|
||||||
BuildRequires: osgi(org.apache.felix.scr) >= 2.1.16
|
BuildRequires: felix-scr >= 2.1.16-4
|
||||||
BuildRequires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
|
BuildRequires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
|
||||||
BuildRequires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
|
BuildRequires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
|
||||||
BuildRequires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
|
BuildRequires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
|
||||||
@ -191,7 +194,7 @@ BuildRequires: junit5 >= 5.4.0
|
|||||||
BuildRequires: apiguardian
|
BuildRequires: apiguardian
|
||||||
BuildRequires: hamcrest
|
BuildRequires: hamcrest
|
||||||
BuildRequires: sat4j
|
BuildRequires: sat4j
|
||||||
BuildRequires: objectweb-asm >= 6.1.1
|
BuildRequires: objectweb-asm >= 7.0
|
||||||
BuildRequires: sac
|
BuildRequires: sac
|
||||||
BuildRequires: batik-css >= %{_batik_version}
|
BuildRequires: batik-css >= %{_batik_version}
|
||||||
BuildRequires: batik-util >= %{_batik_version}
|
BuildRequires: batik-util >= %{_batik_version}
|
||||||
@ -199,8 +202,8 @@ BuildRequires: google-gson
|
|||||||
BuildRequires: xmlgraphics-commons >= 2.3
|
BuildRequires: xmlgraphics-commons >= 2.3
|
||||||
BuildRequires: xml-commons-apis
|
BuildRequires: xml-commons-apis
|
||||||
BuildRequires: atinject
|
BuildRequires: atinject
|
||||||
BuildRequires: eclipse-ecf-core >= 3.14.5
|
BuildRequires: eclipse-ecf-core >= 3.14.8
|
||||||
BuildRequires: eclipse-emf-core >= 1:2.18.0
|
BuildRequires: eclipse-emf-core >= 1:2.22.0
|
||||||
BuildRequires: eclipse-license2
|
BuildRequires: eclipse-license2
|
||||||
BuildRequires: glassfish-annotation-api
|
BuildRequires: glassfish-annotation-api
|
||||||
BuildRequires: glassfish-el-api >= 3.0.1
|
BuildRequires: glassfish-el-api >= 3.0.1
|
||||||
@ -218,10 +221,9 @@ BuildRequires: osgi(osgi.annotation)
|
|||||||
# For building docs and apitooling
|
# For building docs and apitooling
|
||||||
BuildRequires: eclipse-pde
|
BuildRequires: eclipse-pde
|
||||||
%if %{with contrib_tools}
|
%if %{with contrib_tools}
|
||||||
# For contributor tools and tests
|
# For contributor tools
|
||||||
BuildRequires: eclipse-egit
|
BuildRequires: eclipse-egit
|
||||||
BuildRequires: eclipse-emf-runtime
|
BuildRequires: eclipse-emf-runtime
|
||||||
BuildRequires: mockito >= 2.23.9
|
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -232,8 +234,6 @@ everything in between.
|
|||||||
|
|
||||||
%package swt
|
%package swt
|
||||||
Summary: SWT Library for GTK+
|
Summary: SWT Library for GTK+
|
||||||
Requires: java-headless >= 1:1.8.0
|
|
||||||
Requires: javapackages-tools
|
|
||||||
Requires: gtk3
|
Requires: gtk3
|
||||||
Requires: webkitgtk4
|
Requires: webkitgtk4
|
||||||
|
|
||||||
@ -242,8 +242,6 @@ SWT Library for GTK+.
|
|||||||
|
|
||||||
%package equinox-osgi
|
%package equinox-osgi
|
||||||
Summary: Eclipse OSGi - Equinox
|
Summary: Eclipse OSGi - Equinox
|
||||||
Requires: java-headless >= 1:1.8.0
|
|
||||||
Requires: javapackages-tools
|
|
||||||
Provides: osgi(system.bundle) = %{epoch}:%{version}
|
Provides: osgi(system.bundle) = %{epoch}:%{version}
|
||||||
|
|
||||||
%description equinox-osgi
|
%description equinox-osgi
|
||||||
@ -251,21 +249,19 @@ Eclipse OSGi - Equinox
|
|||||||
|
|
||||||
%package platform
|
%package platform
|
||||||
Summary: Eclipse platform common files
|
Summary: Eclipse platform common files
|
||||||
Recommends: eclipse-abrt
|
Requires: java-11-openjdk-devel
|
||||||
Recommends: eclipse-usage
|
Requires: javapackages-tools
|
||||||
|
|
||||||
|
|
||||||
Requires: ant >= 1.10.5
|
Requires: ant >= 1.10.5
|
||||||
Requires: ant-antlr ant-apache-bcel ant-apache-log4j ant-apache-oro ant-apache-regexp ant-apache-resolver ant-commons-logging ant-apache-bsf
|
|
||||||
Requires: ant-commons-net ant-javamail ant-jdepend ant-junit ant-swing ant-jsch ant-testutil ant-apache-xalan2 ant-jmf ant-xz
|
|
||||||
Requires: jsch >= 0.1.46-2
|
Requires: jsch >= 0.1.46-2
|
||||||
Requires: apache-commons-el >= 1.0-23
|
|
||||||
Requires: apache-commons-logging
|
Requires: apache-commons-logging
|
||||||
Requires: apache-commons-codec
|
Requires: apache-commons-codec
|
||||||
Requires: apache-commons-jxpath
|
Requires: apache-commons-jxpath
|
||||||
Requires: osgi(org.apache.felix.gogo.shell) >= 1.1.0
|
Requires: osgi(org.apache.felix.gogo.shell) >= 1.1.0
|
||||||
Requires: osgi(org.apache.felix.gogo.command) >= 1.0.2
|
Requires: osgi(org.apache.felix.gogo.command) >= 1.0.2
|
||||||
Requires: osgi(org.apache.felix.gogo.runtime) >= 1.1.0
|
Requires: osgi(org.apache.felix.gogo.runtime) >= 1.1.0
|
||||||
Requires: osgi(org.apache.felix.scr) >= 2.1.16
|
Requires: felix-scr >= 2.1.16-4
|
||||||
Requires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
|
Requires: osgi(org.eclipse.jetty.util) >= %{_jetty_version}
|
||||||
Requires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
|
Requires: osgi(org.eclipse.jetty.server) >= %{_jetty_version}
|
||||||
Requires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
|
Requires: osgi(org.eclipse.jetty.http) >= %{_jetty_version}
|
||||||
@ -277,34 +273,28 @@ Requires: lucene-core >= %{_lucene_version}
|
|||||||
Requires: lucene-analysis >= %{_lucene_version}
|
Requires: lucene-analysis >= %{_lucene_version}
|
||||||
Requires: lucene-queryparser >= %{_lucene_version}
|
Requires: lucene-queryparser >= %{_lucene_version}
|
||||||
Requires: lucene-analyzers-smartcn >= %{_lucene_version}
|
Requires: lucene-analyzers-smartcn >= %{_lucene_version}
|
||||||
Requires: sat4j
|
|
||||||
Requires: sac
|
|
||||||
Requires: batik-css >= %{_batik_version}
|
Requires: batik-css >= %{_batik_version}
|
||||||
Requires: batik-util >= %{_batik_version}
|
Requires: batik-util >= %{_batik_version}
|
||||||
Requires: xmlgraphics-commons >= 2.3
|
Requires: xmlgraphics-commons >= 2.3
|
||||||
Requires: xml-commons-apis
|
Requires: xml-commons-apis
|
||||||
Requires: atinject
|
Requires: atinject
|
||||||
Requires: eclipse-ecf-core >= 3.14.5
|
Requires: eclipse-ecf-core >= 3.14.8
|
||||||
Requires: eclipse-emf-core >= 1:2.18.0
|
Requires: eclipse-emf-core >= 1:2.22.0
|
||||||
Requires: glassfish-annotation-api
|
Requires: glassfish-annotation-api
|
||||||
Requires: glassfish-el-api >= 3.0.1
|
Requires: glassfish-el-api >= 3.0.1
|
||||||
Requires: glassfish-el >= 3.0.1
|
Requires: glassfish-el >= 3.0.1
|
||||||
Requires: glassfish-jsp-api >= 2.2.1-4
|
Requires: glassfish-jsp-api >= 2.2.1-4
|
||||||
Requires: glassfish-jsp >= 2.2.5
|
Requires: glassfish-jsp >= 2.2.5
|
||||||
Requires: glassfish-servlet-api >= 3.1.0
|
Requires: glassfish-servlet-api >= 3.1.0
|
||||||
Requires: icu4j >= 1:64.2
|
Requires: icu4j >= 1:65.1
|
||||||
Requires: %{name}-swt = %{epoch}:%{version}-%{release}
|
Requires: %{name}-swt = %{epoch}:%{version}-%{release}
|
||||||
Requires: %{name}-equinox-osgi = %{epoch}:%{version}-%{release}
|
Requires: %{name}-equinox-osgi = %{epoch}:%{version}-%{release}
|
||||||
Requires: httpcomponents-core
|
Requires: httpcomponents-core
|
||||||
Requires: httpcomponents-client
|
Requires: httpcomponents-client
|
||||||
Requires: osgi(org.tukaani.xz)
|
|
||||||
|
|
||||||
# Provides/obsoletes added in F26
|
# Obsoletes added in F31
|
||||||
# This is the best place to add this because adding it to the nls RPMs causes every
|
Obsoletes: eclipse-epp-logging <= 2.0.8-4
|
||||||
# single language pack to be installed, which is not desireable -- it needs to be
|
Obsoletes: eclipse-abrt <= 0.0.3-10
|
||||||
# obsoleted by exactly one thing.
|
|
||||||
Provides: eclipse-nls = %{version}-%{release}
|
|
||||||
Obsoletes: eclipse-nls < %{version}-%{release}
|
|
||||||
|
|
||||||
%description platform
|
%description platform
|
||||||
The Eclipse Platform is the base of all IDE plugins. This does not include the
|
The Eclipse Platform is the base of all IDE plugins. This does not include the
|
||||||
@ -316,6 +306,7 @@ BuildArch: noarch
|
|||||||
|
|
||||||
Provides: %{name} = %{epoch}:%{version}-%{release}
|
Provides: %{name} = %{epoch}:%{version}-%{release}
|
||||||
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
||||||
|
Requires: java-11-openjdk-src
|
||||||
Requires: junit >= 4.12
|
Requires: junit >= 4.12
|
||||||
Requires: junit5 >= 5.4.0
|
Requires: junit5 >= 5.4.0
|
||||||
Requires: osgi(org.hamcrest.core)
|
Requires: osgi(org.hamcrest.core)
|
||||||
@ -332,7 +323,7 @@ Summary: Eclipse Plugin Development Environment
|
|||||||
|
|
||||||
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
||||||
Requires: %{name}-jdt = %{epoch}:%{version}-%{release}
|
Requires: %{name}-jdt = %{epoch}:%{version}-%{release}
|
||||||
Requires: objectweb-asm >= 6.1.1
|
Requires: objectweb-asm >= 7.0
|
||||||
|
|
||||||
%description pde
|
%description pde
|
||||||
Eclipse Plugin Development Environment. This package is required for
|
Eclipse Plugin Development Environment. This package is required for
|
||||||
@ -351,25 +342,17 @@ install from existing P2 repositories or as a framework to build branded
|
|||||||
installer UIs.
|
installer UIs.
|
||||||
|
|
||||||
%if %{without bootstrap} && %{with contrib_tools}
|
%if %{without bootstrap} && %{with contrib_tools}
|
||||||
|
|
||||||
%package contributor-tools
|
%package contributor-tools
|
||||||
Summary: Tools for Eclipse Contributors
|
Summary: Tools for Eclipse Contributors
|
||||||
|
# No longer shipping tests
|
||||||
|
Obsoletes: %{name}-tests < 1:4.14-2
|
||||||
|
|
||||||
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
Requires: %{name}-platform = %{epoch}:%{version}-%{release}
|
||||||
Requires: easymock
|
|
||||||
Requires: hamcrest
|
|
||||||
Requires: mockito >= 2.23.9
|
|
||||||
|
|
||||||
%description contributor-tools
|
%description contributor-tools
|
||||||
This package contains tools specifically for Eclipse contributors. It includes
|
This package contains tools specifically for Eclipse contributors. It includes
|
||||||
SWT tools, E4 tools, Rel-Eng tools and Eclipse Test frameworks.
|
SWT tools, E4 tools, Rel-Eng tools and Eclipse Test frameworks.
|
||||||
|
|
||||||
%package tests
|
|
||||||
Summary: Eclipse Tests
|
|
||||||
|
|
||||||
Requires: %{name}-contributor-tools = %{epoch}:%{version}-%{release}
|
|
||||||
|
|
||||||
%description tests
|
|
||||||
Eclipse Tests.
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -382,7 +365,7 @@ tar --strip-components=1 -xf %{SOURCE0}
|
|||||||
tar --strip-components=1 -xf %{SOURCE1}
|
tar --strip-components=1 -xf %{SOURCE1}
|
||||||
|
|
||||||
# Delete pre-built binary artifacts except some test data that cannot be generated
|
# Delete pre-built binary artifacts except some test data that cannot be generated
|
||||||
find . ! -path "*/JCL/*" ! -name "rtstubs*.jar" ! -name "java10api.jar" ! -name "j9stubs.jar" \
|
find . ! -path "*/JCL/*" ! -name "rtstubs*.jar" ! -name "java14api.jar" ! -name "j9stubs.jar" ! -name "annotations.jar" \
|
||||||
-type f -name *.jar -delete
|
-type f -name *.jar -delete
|
||||||
find . -type f -name *.class -delete
|
find . -type f -name *.class -delete
|
||||||
find . -type f -name *.so -delete
|
find . -type f -name *.so -delete
|
||||||
@ -394,17 +377,15 @@ rm -rf rt.equinox.binaries/org.eclipse.equinox.executable/{bin,contributed}/
|
|||||||
|
|
||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2 -p1
|
||||||
%patch3
|
%patch3
|
||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch5
|
%patch5
|
||||||
#%patch6
|
|
||||||
%patch12
|
%patch12
|
||||||
%patch13 -p1
|
%patch13 -p1
|
||||||
%patch14
|
%patch14
|
||||||
%patch15
|
%patch15
|
||||||
%patch16
|
%patch17 -p1
|
||||||
%patch17
|
|
||||||
%patch18
|
%patch18
|
||||||
%patch19
|
%patch19
|
||||||
%patch20
|
%patch20
|
||||||
@ -414,19 +395,20 @@ rm -rf rt.equinox.binaries/org.eclipse.equinox.executable/{bin,contributed}/
|
|||||||
%endif
|
%endif
|
||||||
%patch22
|
%patch22
|
||||||
%patch23 -p1
|
%patch23 -p1
|
||||||
%patch24
|
%patch24 -p1
|
||||||
%patch25
|
%patch25
|
||||||
%patch26 -p1
|
%patch26 -p1
|
||||||
%patch27 -p1
|
|
||||||
%patch28 -p1
|
# SCL-specific patches
|
||||||
%patch29 -p1
|
%patch100 -p1
|
||||||
%patch30 -p1
|
%patch101 -p1
|
||||||
|
%patch102 -p1
|
||||||
|
|
||||||
# Optional (unused) multipart support (see patch 25)
|
# Optional (unused) multipart support (see patch 25)
|
||||||
rm rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/multipart/MultipartSupport{Impl,FactoryImpl,Part}.java
|
rm rt.equinox.bundles/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/multipart/MultipartSupport{Impl,FactoryImpl,Part}.java
|
||||||
|
|
||||||
# Remove python-based test
|
# No strict bin includes
|
||||||
rm eclipse.platform.swt/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/swt/tests/gtk/accessibility/Bug543949_ComponentExtentsTest.py
|
sed -i -e '/jgit.dirtyWorkingTree>/a<strictSrcIncludes>false</strictSrcIncludes><strictBinIncludes>false</strictBinIncludes>' eclipse-platform-parent/pom.xml
|
||||||
|
|
||||||
# Remove jgit deps because building from source tarball, not a git repo
|
# Remove jgit deps because building from source tarball, not a git repo
|
||||||
%pom_remove_dep :tycho-buildtimestamp-jgit eclipse-platform-parent
|
%pom_remove_dep :tycho-buildtimestamp-jgit eclipse-platform-parent
|
||||||
@ -452,9 +434,6 @@ rm eclipse.platform.swt/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/
|
|||||||
%pom_disable_module features/org.eclipse.equinox.sdk rt.equinox.bundles
|
%pom_disable_module features/org.eclipse.equinox.sdk rt.equinox.bundles
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.console.jaas.fragment rt.equinox.bundles
|
%pom_disable_module bundles/org.eclipse.equinox.console.jaas.fragment rt.equinox.bundles
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.console.ssh rt.equinox.bundles
|
%pom_disable_module bundles/org.eclipse.equinox.console.ssh rt.equinox.bundles
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.console.ssh.tests rt.equinox.bundles
|
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.console.tests rt.equinox.bundles
|
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.ip rt.equinox.bundles
|
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.transforms.xslt rt.equinox.bundles
|
%pom_disable_module bundles/org.eclipse.equinox.transforms.xslt rt.equinox.bundles
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.transforms.hook rt.equinox.bundles
|
%pom_disable_module bundles/org.eclipse.equinox.transforms.hook rt.equinox.bundles
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.weaving.caching.j9 rt.equinox.bundles
|
%pom_disable_module bundles/org.eclipse.equinox.weaving.caching.j9 rt.equinox.bundles
|
||||||
@ -465,22 +444,26 @@ rm eclipse.platform.swt/tests/org.eclipse.swt.tests.gtk/ManualTests/org/eclipse/
|
|||||||
%pom_disable_module features/org.eclipse.equinox.p2.sdk rt.equinox.p2
|
%pom_disable_module features/org.eclipse.equinox.p2.sdk rt.equinox.p2
|
||||||
%pom_disable_module features/org.eclipse.equinox.server.p2 rt.equinox.bundles
|
%pom_disable_module features/org.eclipse.equinox.server.p2 rt.equinox.bundles
|
||||||
%pom_disable_module features/org.eclipse.equinox.serverside.sdk rt.equinox.bundles
|
%pom_disable_module features/org.eclipse.equinox.serverside.sdk rt.equinox.bundles
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.p2.tests.reconciler.product rt.equinox.p2
|
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.optimizers rt.equinox.p2
|
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.optimizers rt.equinox.p2
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.p2.tests.optimizers rt.equinox.p2
|
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.processors rt.equinox.p2
|
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.processors rt.equinox.p2
|
||||||
|
%pom_disable_module bundles/org.eclipse.equinox.p2.artifact.checksums.bouncycastle rt.equinox.p2
|
||||||
|
|
||||||
# Don't need annotations for obsolete JDKs
|
# Don't need annotations for obsolete JDKs
|
||||||
%pom_disable_module org.eclipse.jdt.annotation_v1 eclipse.jdt.core
|
%pom_disable_module org.eclipse.jdt.annotation_v1 eclipse.jdt.core
|
||||||
%pom_xpath_remove "plugin[@version='1.1.400.qualifier']" eclipse.jdt/org.eclipse.jdt-feature/feature.xml
|
%pom_xpath_remove "plugin[@version='1.1.500.qualifier']" eclipse.jdt/org.eclipse.jdt-feature/feature.xml
|
||||||
sed -i -e '/org\.eclipse\.jdt\.annotation;bundle-version="\[1\.1\.0,2\.0\.0)"/d' \
|
|
||||||
eclipse.jdt.core/org.eclipse.jdt.core.tests.{model,builder,compiler}/META-INF/MANIFEST.MF \
|
# javax.annotation -> jakarta.annotation-api
|
||||||
eclipse.jdt.core/org.eclipse.jdt.apt.pluggable.tests/META-INF/MANIFEST.MF \
|
sed -i -e 's/javax.annotation/%{_jakarta_annotations}/' eclipse-platform-parent/pom.xml \
|
||||||
eclipse.jdt.ui/org.eclipse.jdt.ui.tests/META-INF/MANIFEST.MF
|
eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml \
|
||||||
sed -i -e 's/javax.annotation/javax.annotation-api/' eclipse-platform-parent/pom.xml \
|
eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/pom.xml \
|
||||||
eclipse.jdt.core/org.eclipse.jdt.core.tests.compiler/META-INF/MANIFEST.MF
|
eclipse.platform.common/bundles/org.eclipse.pde.doc.user/pom.xml \
|
||||||
|
eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml
|
||||||
|
|
||||||
|
# Fix requirement on junit 4
|
||||||
|
sed -i -e 's/4.13.0,5.0.0/4.12.0,5.0.0/' eclipse.jdt.ui/org.eclipse.jdt.junit.core/src/org/eclipse/jdt/internal/junit/buildpath/BuildPathSupport.java
|
||||||
|
|
||||||
# Disable examples
|
# Disable examples
|
||||||
|
%pom_disable_module infocenter-web eclipse.platform.ua
|
||||||
%pom_disable_module examples rt.equinox.p2
|
%pom_disable_module examples rt.equinox.p2
|
||||||
%pom_disable_module examples eclipse.platform.ui
|
%pom_disable_module examples eclipse.platform.ui
|
||||||
%pom_disable_module org.eclipse.debug.examples.core eclipse.platform.debug
|
%pom_disable_module org.eclipse.debug.examples.core eclipse.platform.debug
|
||||||
@ -493,20 +476,35 @@ sed -i -e 's/javax.annotation/javax.annotation-api/' eclipse-platform-parent/pom
|
|||||||
%pom_disable_module examples/org.eclipse.compare.examples eclipse.platform.team
|
%pom_disable_module examples/org.eclipse.compare.examples eclipse.platform.team
|
||||||
%pom_disable_module examples/org.eclipse.compare.examples.xml eclipse.platform.team
|
%pom_disable_module examples/org.eclipse.compare.examples.xml eclipse.platform.team
|
||||||
%pom_disable_module examples/org.eclipse.team.examples.filesystem eclipse.platform.team
|
%pom_disable_module examples/org.eclipse.team.examples.filesystem eclipse.platform.team
|
||||||
|
%pom_disable_module org.eclipse.jface.text.examples eclipse.platform.text
|
||||||
|
%pom_disable_module org.eclipse.ui.examples.javaeditor eclipse.platform.text
|
||||||
%pom_disable_module org.eclipse.ui.genericeditor.examples eclipse.platform.text
|
%pom_disable_module org.eclipse.ui.genericeditor.examples eclipse.platform.text
|
||||||
%pom_disable_module org.eclipse.ui.intro.quicklinks.examples eclipse.platform.ua
|
%pom_disable_module org.eclipse.ui.intro.quicklinks.examples eclipse.platform.ua
|
||||||
%pom_disable_module org.eclipse.ui.intro.solstice.examples eclipse.platform.ua
|
%pom_disable_module org.eclipse.ui.intro.solstice.examples eclipse.platform.ua
|
||||||
# Except for this one example, which is used by tests
|
|
||||||
%pom_xpath_inject "pom:modules" "<module>examples/org.eclipse.jface.examples.databinding</module>" eclipse.platform.ui
|
# Disable tests
|
||||||
|
for pom in eclipse.jdt.core{,.binaries} eclipse.jdt.debug eclipse.jdt.ui eclipse.pde.build eclipse.pde.ui{,/apitools} \
|
||||||
|
eclipse.platform eclipse.platform.debug eclipse.platform.releng eclipse.platform.resources eclipse.platform.runtime \
|
||||||
|
eclipse.platform.swt eclipse.platform.team eclipse.platform.text eclipse.platform.ui eclipse.platform.ua \
|
||||||
|
rt.equinox.bundles rt.equinox.framework rt.equinox.p2 ; do
|
||||||
|
sed -i -e '/<module>.*tests.*<\/module>/d' $pom/pom.xml
|
||||||
|
done
|
||||||
|
%pom_disable_module bundles/org.eclipse.equinox.frameworkadmin.test rt.equinox.p2
|
||||||
|
%pom_disable_module eclipse-junit-tests eclipse.platform.releng.tychoeclipsebuilder
|
||||||
|
%pom_disable_module ./tests/org.eclipse.e4.tools.test eclipse.platform.ui.tools
|
||||||
|
|
||||||
|
# Disable test framework if we are not shipping tests
|
||||||
|
%pom_disable_module features/org.eclipse.test-feature eclipse.platform.releng
|
||||||
|
%pom_disable_module bundles/org.eclipse.test eclipse.platform.releng
|
||||||
|
%pom_disable_module bundles/org.eclipse.test.performance eclipse.platform.releng
|
||||||
|
%pom_disable_module bundles/org.eclipse.test.performance.win32 eclipse.platform.releng
|
||||||
|
%pom_disable_module bundles/org.eclipse.ant.optional.junit eclipse.platform.releng
|
||||||
|
|
||||||
# Disable servletbridge stuff
|
# Disable servletbridge stuff
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.http.servletbridge rt.equinox.bundles
|
%pom_disable_module bundles/org.eclipse.equinox.http.servletbridge rt.equinox.bundles
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.servletbridge rt.equinox.bundles
|
%pom_disable_module bundles/org.eclipse.equinox.servletbridge rt.equinox.bundles
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.servletbridge.template rt.equinox.bundles
|
%pom_disable_module bundles/org.eclipse.equinox.servletbridge.template rt.equinox.bundles
|
||||||
|
|
||||||
# Missing dep on reddeer
|
|
||||||
%pom_disable_module ui/org.eclipse.pde.ui.tests.smartimport eclipse.pde.ui
|
|
||||||
|
|
||||||
# Don't need enforcer on RPM builds
|
# Don't need enforcer on RPM builds
|
||||||
%pom_remove_plugin :maven-enforcer-plugin eclipse-platform-parent
|
%pom_remove_plugin :maven-enforcer-plugin eclipse-platform-parent
|
||||||
|
|
||||||
@ -523,7 +521,6 @@ done
|
|||||||
# we are not currently building)
|
# we are not currently building)
|
||||||
TYCHO_ENV="<environment><os>linux</os><ws>gtk</ws><arch>%{eclipse_arch}</arch></environment>"
|
TYCHO_ENV="<environment><os>linux</os><ws>gtk</ws><arch>%{eclipse_arch}</arch></environment>"
|
||||||
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse-platform-parent
|
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse-platform-parent
|
||||||
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests
|
|
||||||
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk
|
%pom_xpath_set "pom:configuration/pom:environments" "$TYCHO_ENV" eclipse.platform.ui/bundles/org.eclipse.e4.ui.swt.gtk
|
||||||
for b in `ls eclipse.platform.swt.binaries/bundles | grep -P -e 'org.eclipse.swt\.(?!gtk\.linux.%{eclipse_arch}$)'` ; do
|
for b in `ls eclipse.platform.swt.binaries/bundles | grep -P -e 'org.eclipse.swt\.(?!gtk\.linux.%{eclipse_arch}$)'` ; do
|
||||||
module=$(grep ">bundles/$b<" eclipse.platform.swt.binaries/pom.xml || :)
|
module=$(grep ">bundles/$b<" eclipse.platform.swt.binaries/pom.xml || :)
|
||||||
@ -546,14 +543,13 @@ for b in `(cd rt.equinox.bundles/bundles && ls -d *{macosx,win32,linux}*) | grep
|
|||||||
%pom_xpath_remove -f "plugin[@id='$b']" rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/feature.xml
|
%pom_xpath_remove -f "plugin[@id='$b']" rt.equinox.p2/features/org.eclipse.equinox.p2.core.feature/feature.xml
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
for b in `ls eclipse.platform.team/bundles/org.eclipse.core.net/fragments/ | grep -P -e 'org.eclipse.core.net\.(?!linux.%{eclipse_arch}$)'` ; do
|
for b in `ls eclipse.platform.team/bundles/ | grep -P -e 'org.eclipse.core.net\.(?!linux.%{eclipse_arch}$)'` ; do
|
||||||
%pom_disable_module bundles/org.eclipse.core.net/fragments/$b eclipse.platform.team
|
%pom_disable_module bundles/$b eclipse.platform.team
|
||||||
done
|
done
|
||||||
for b in `ls eclipse.platform.resources/bundles/ | grep -P -e 'org.eclipse.core.filesystem\.(?!linux\.%{eclipse_arch}$)'` ; do
|
for b in `ls eclipse.platform.resources/bundles/ | grep -P -e 'org.eclipse.core.filesystem\.(?!linux\.%{eclipse_arch}$)'` ; do
|
||||||
module=$(grep ">bundles/$b<" eclipse.platform.resources/pom.xml || :)
|
module=$(grep ">bundles/$b<" eclipse.platform.resources/pom.xml || :)
|
||||||
if [ -n "$module" ] ; then
|
if [ -n "$module" ] ; then
|
||||||
%pom_disable_module bundles/$b eclipse.platform.resources
|
%pom_disable_module bundles/$b eclipse.platform.resources
|
||||||
%pom_xpath_remove -f "plugin[@id='$b']" eclipse.platform.resources/tests/org.eclipse.core.tests.filesystem.feature/feature.xml
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
%pom_disable_module org.eclipse.jdt.launching.macosx eclipse.jdt.debug
|
%pom_disable_module org.eclipse.jdt.launching.macosx eclipse.jdt.debug
|
||||||
@ -562,6 +558,7 @@ done
|
|||||||
%pom_disable_module org.eclipse.e4.ui.workbench.renderers.swt.cocoa eclipse.platform.ui/bundles
|
%pom_disable_module org.eclipse.e4.ui.workbench.renderers.swt.cocoa eclipse.platform.ui/bundles
|
||||||
%pom_disable_module org.eclipse.ui.cocoa eclipse.platform.ui/bundles
|
%pom_disable_module org.eclipse.ui.cocoa eclipse.platform.ui/bundles
|
||||||
%pom_disable_module org.eclipse.ui.win32 eclipse.platform.ui/bundles
|
%pom_disable_module org.eclipse.ui.win32 eclipse.platform.ui/bundles
|
||||||
|
%pom_disable_module org.eclipse.e4.ui.swt.win32 eclipse.platform.ui/bundles
|
||||||
%pom_disable_module bundles/org.eclipse.core.resources.win32.x86_64 eclipse.platform.resources
|
%pom_disable_module bundles/org.eclipse.core.resources.win32.x86_64 eclipse.platform.resources
|
||||||
for f in eclipse.jdt/org.eclipse.jdt-feature/feature.xml \
|
for f in eclipse.jdt/org.eclipse.jdt-feature/feature.xml \
|
||||||
eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml \
|
eclipse.platform.ui/features/org.eclipse.e4.rcp/feature.xml \
|
||||||
@ -577,10 +574,6 @@ for f in eclipse.jdt/org.eclipse.jdt-feature/feature.xml \
|
|||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
# We don't need SWT fragments since we only care for current arch
|
|
||||||
%pom_disable_module tests/org.eclipse.swt.tests.fragments.feature eclipse.platform.swt
|
|
||||||
%pom_xpath_remove "pom:dependency-resolution" eclipse.platform.swt/tests/org.eclipse.swt.tests{,.gtk}
|
|
||||||
|
|
||||||
%if %{with bootstrap} || %{without contrib_tools}
|
%if %{with bootstrap} || %{without contrib_tools}
|
||||||
# Disable contributor tools that have external dependencies during bootstrap
|
# Disable contributor tools that have external dependencies during bootstrap
|
||||||
%pom_disable_module eclipse.platform.ui.tools
|
%pom_disable_module eclipse.platform.ui.tools
|
||||||
@ -590,21 +583,6 @@ done
|
|||||||
%pom_disable_module bundles/org.eclipse.swt.tools eclipse.platform.swt
|
%pom_disable_module bundles/org.eclipse.swt.tools eclipse.platform.swt
|
||||||
%pom_disable_module features/org.eclipse.releng.tools eclipse.platform.releng
|
%pom_disable_module features/org.eclipse.releng.tools eclipse.platform.releng
|
||||||
%pom_disable_module bundles/org.eclipse.releng.tools eclipse.platform.releng
|
%pom_disable_module bundles/org.eclipse.releng.tools eclipse.platform.releng
|
||||||
# Disable tests for bootstrapping
|
|
||||||
%pom_disable_module features/org.eclipse.test-feature eclipse.platform.releng
|
|
||||||
%pom_disable_module bundles/org.eclipse.test eclipse.platform.releng
|
|
||||||
%pom_disable_module bundles/org.eclipse.test.performance eclipse.platform.releng
|
|
||||||
%pom_disable_module bundles/org.eclipse.test.performance.win32 eclipse.platform.releng
|
|
||||||
%pom_disable_module bundles/org.eclipse.ant.optional.junit eclipse.platform.releng
|
|
||||||
for pom in eclipse.jdt.core{,.binaries} eclipse.jdt.debug eclipse.jdt.ui eclipse.pde.build eclipse.pde.ui \
|
|
||||||
eclipse.platform eclipse.platform.debug eclipse.platform.releng eclipse.platform.resources eclipse.platform.runtime \
|
|
||||||
eclipse.platform.swt eclipse.platform.team eclipse.platform.text eclipse.platform.ui eclipse.platform.ua \
|
|
||||||
rt.equinox.bundles rt.equinox.framework rt.equinox.p2 ; do
|
|
||||||
sed -i -e '/<module>.*tests.*<\/module>/d' $pom/pom.xml
|
|
||||||
done
|
|
||||||
%pom_disable_module bundles/org.eclipse.equinox.frameworkadmin.test rt.equinox.p2
|
|
||||||
%pom_disable_module eclipse-junit-tests eclipse.platform.releng.tychoeclipsebuilder
|
|
||||||
%pom_disable_module examples/org.eclipse.jface.examples.databinding eclipse.platform.ui
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Include some extra features with the product that some other projects may need at
|
# Include some extra features with the product that some other projects may need at
|
||||||
@ -618,12 +596,6 @@ sed -i -e '/org.eclipse.ui.themes/i<plugin id="org.eclipse.jdt.core.compiler.bat
|
|||||||
sed -i -e '/<\/excludes>/i<plugin id="org.eclipse.jdt.core.compiler.batch"/>' \
|
sed -i -e '/<\/excludes>/i<plugin id="org.eclipse.jdt.core.compiler.batch"/>' \
|
||||||
eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml
|
eclipse.platform.releng/features/org.eclipse.platform-feature/pom.xml
|
||||||
|
|
||||||
# Prevent dep cycle
|
|
||||||
%pom_xpath_remove "plugin[@id='org.eclipse.core.tests.harness']" eclipse.platform.releng/features/org.eclipse.test-feature/feature.xml
|
|
||||||
|
|
||||||
# Include maven descriptors to allow our test execution setup to work
|
|
||||||
%pom_xpath_set "pom:plugin[pom:artifactId = 'tycho-packaging-plugin']/pom:configuration/pom:archive/pom:addMavenDescriptor" "true" eclipse-platform-parent
|
|
||||||
|
|
||||||
# Don't set perms on files for platforms that aren't linux
|
# Don't set perms on files for platforms that aren't linux
|
||||||
for f in rt.equinox.framework/features/org.eclipse.equinox.executable.feature/build.properties; do
|
for f in rt.equinox.framework/features/org.eclipse.equinox.executable.feature/build.properties; do
|
||||||
grep '^root\.linux\.gtk\.%{eclipse_arch}[.=]' $f > tmp
|
grep '^root\.linux\.gtk\.%{eclipse_arch}[.=]' $f > tmp
|
||||||
@ -660,6 +632,13 @@ sed -i -e '/org.apache.felix.service.command/s/;status=provisional//' rt.equinox
|
|||||||
# Pre-compiling JSPs does not currently work
|
# Pre-compiling JSPs does not currently work
|
||||||
%pom_remove_plugin org.eclipse.jetty:jetty-jspc-maven-plugin eclipse.platform.ua/org.eclipse.help.webapp
|
%pom_remove_plugin org.eclipse.jetty:jetty-jspc-maven-plugin eclipse.platform.ua/org.eclipse.help.webapp
|
||||||
|
|
||||||
|
# Make maven output less noisy due to lack of intenet connection
|
||||||
|
sed -i -e '/baselineMode/s/warn/disable/' eclipse-platform-parent/pom.xml
|
||||||
|
|
||||||
|
# Remove release parameter not needed when using BREE libs
|
||||||
|
sed -i -e '/maven.compiler.release/d' \
|
||||||
|
eclipse.jdt.debug/org.eclipse.jdt.debug/pom.xml eclipse.jdt.debug/org.eclipse.jdt.launching/pom.xml rt.equinox.p2/bundles/org.eclipse.equinox.p2.artifact.repository/pom.xml
|
||||||
|
|
||||||
# Use system osgi.annotation lib
|
# Use system osgi.annotation lib
|
||||||
ln -s $(build-classpath osgi-annotation) rt.equinox.framework/bundles/org.eclipse.osgi/osgi/
|
ln -s $(build-classpath osgi-annotation) rt.equinox.framework/bundles/org.eclipse.osgi/osgi/
|
||||||
ln -s $(build-classpath osgi-annotation) rt.equinox.framework/bundles/org.eclipse.osgi.services/lib/
|
ln -s $(build-classpath osgi-annotation) rt.equinox.framework/bundles/org.eclipse.osgi.services/lib/
|
||||||
@ -670,11 +649,7 @@ ln -s $(build-classpath osgi-annotation) rt.equinox.bundles/bundles/org.eclipse.
|
|||||||
|
|
||||||
# The order of these mvn_package calls is important
|
# The order of these mvn_package calls is important
|
||||||
%mvn_package "::pom::" __noinstall
|
%mvn_package "::pom::" __noinstall
|
||||||
%mvn_package ":*tests*" tests
|
%mvn_package ":org.eclipse.pde.tools.versioning" contributor-tools
|
||||||
%mvn_package ":org.eclipse.equinox.frameworkadmin.test" tests
|
|
||||||
%mvn_package ":org.eclipse.jface.examples.databinding" tests
|
|
||||||
%mvn_package ":org.eclipse.pde.tools.versioning" tests
|
|
||||||
%mvn_package "org.eclipse.test:org.eclipse.test" contributor-tools
|
|
||||||
%mvn_package "::jar:sources{,-feature}:" sdk
|
%mvn_package "::jar:sources{,-feature}:" sdk
|
||||||
%mvn_package ":org.eclipse.jdt.doc.isv" sdk
|
%mvn_package ":org.eclipse.jdt.doc.isv" sdk
|
||||||
%mvn_package ":org.eclipse.platform.doc.isv" sdk
|
%mvn_package ":org.eclipse.platform.doc.isv" sdk
|
||||||
@ -686,11 +661,10 @@ ln -s $(build-classpath osgi-annotation) rt.equinox.bundles/bundles/org.eclipse.
|
|||||||
%mvn_package ":org.eclipse.e4{,.core}.tools*" contributor-tools
|
%mvn_package ":org.eclipse.e4{,.core}.tools*" contributor-tools
|
||||||
%mvn_package ":org.eclipse.releng.tools" contributor-tools
|
%mvn_package ":org.eclipse.releng.tools" contributor-tools
|
||||||
%mvn_package ":org.eclipse.swt.tools*" contributor-tools
|
%mvn_package ":org.eclipse.swt.tools*" contributor-tools
|
||||||
%mvn_package "org.eclipse.test{,.feature}:" contributor-tools
|
|
||||||
%mvn_package ":org.eclipse.ant.optional.junit" contributor-tools
|
|
||||||
%mvn_package "org.eclipse.cvs{,.feature}:" cvs
|
%mvn_package "org.eclipse.cvs{,.feature}:" cvs
|
||||||
%mvn_package "org.eclipse.team:org.eclipse.team.cvs*" cvs
|
%mvn_package "org.eclipse.team:org.eclipse.team.cvs*" cvs
|
||||||
%mvn_package "org.eclipse.pde{,.ui,.feature}:" pde
|
%mvn_package "org.eclipse.pde{,.ui,.feature}:" pde
|
||||||
|
%mvn_package ":org.eclipse.pde.api.tools*" pde
|
||||||
%mvn_package "org.eclipse.ui:org.eclipse.ui.trace" pde
|
%mvn_package "org.eclipse.ui:org.eclipse.ui.trace" pde
|
||||||
%mvn_package "org.eclipse.sdk{,.feature}:" sdk
|
%mvn_package "org.eclipse.sdk{,.feature}:" sdk
|
||||||
%mvn_package ":" __noinstall
|
%mvn_package ":" __noinstall
|
||||||
@ -704,22 +678,29 @@ export M_ARCH="$LDFLAGS"
|
|||||||
|
|
||||||
#This is the lowest value where the build succeeds. 512m is not enough.
|
#This is the lowest value where the build succeeds. 512m is not enough.
|
||||||
export MAVEN_OPTS="-Xmx1024m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState ${MAVEN_OPTS}"
|
export MAVEN_OPTS="-Xmx1024m -XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState ${MAVEN_OPTS}"
|
||||||
export JAVA_HOME=%{_jvmdir}/java
|
export JAVA_HOME=%{_jvmdir}/java-11
|
||||||
|
|
||||||
|
# TODO: Fix bug in the tycho installation
|
||||||
|
xmvn -o install:install-file -Dtycho.mode=maven -Dfile=%{_javadir}/tycho/tycho-lib-detector.jar -DpomFile=%{_mavenpomdir}/tycho/tycho-lib-detector.pom
|
||||||
|
|
||||||
# Pre-build agent jar needed for AdvancedSourceLookupSupport
|
# Pre-build agent jar needed for AdvancedSourceLookupSupport
|
||||||
sed -i -e '/createSourcesJar/d' eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/pom.xml
|
sed -i -e '/createSourcesJar/d' -e 's/8\.0\.1/7.0/' eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/pom.xml
|
||||||
|
sed -i -e 's/V15/V11/' -e 's/ASM8/ASM7/' eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/src/main/java/org/eclipse/jdt/launching/internal/weaving/ClassfileTransformer.java \
|
||||||
|
eclipse.pde.ui/apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/util/Util.java
|
||||||
(cd eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent && xmvn -e -o -B clean verify)
|
(cd eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent && xmvn -e -o -B clean verify)
|
||||||
mv eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/target/javaagent-shaded.jar \
|
mv eclipse.jdt.debug/org.eclipse.jdt.launching.javaagent/target/javaagent-shaded.jar \
|
||||||
eclipse.jdt.debug/org.eclipse.jdt.launching/lib
|
eclipse.jdt.debug/org.eclipse.jdt.launching/lib
|
||||||
|
|
||||||
# Qualifier generated from last modification time of source tarball
|
# Qualifier generated from last modification time of source tarball
|
||||||
QUALIFIER=$(date -u -d"$(stat --format=%y %{SOURCE0})" +v%Y%m%d-%H%M)
|
QUALIFIER=$(date -u -d"$(stat --format=%y %{SOURCE0})" +v%Y%m%d-%H%M)
|
||||||
%mvn_build -j -f -- -e -DforceContextQualifier=$QUALIFIER \
|
%mvn_build -j -f -- -e -DforceContextQualifier=$QUALIFIER -DaggregatorBuild=true -Dbuild.compiler="extJavac" \
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
-P !api-generation,!build-docs \
|
-Pbree-libs,!api-generation,!build-docs \
|
||||||
|
%else
|
||||||
|
-Pbree-libs \
|
||||||
%endif
|
%endif
|
||||||
-Declipse.javadoc=/usr/bin/javadoc -Dnative=gtk.linux.%{eclipse_arch} \
|
-Declipse.javadoc=%{_jvmdir}/java-11/bin/javadoc -Dnative=gtk.linux.%{eclipse_arch} \
|
||||||
-Dtycho.local.keepTarget \
|
-Dtycho.local.keepTarget --global-toolchains %{SOURCE2} \
|
||||||
-Dfedora.p2.repos=$(pwd)/.m2/p2/repo-sdk/plugins -DbuildType=X
|
-Dfedora.p2.repos=$(pwd)/.m2/p2/repo-sdk/plugins -DbuildType=X
|
||||||
|
|
||||||
# Location that the product is materialised
|
# Location that the product is materialised
|
||||||
@ -756,16 +737,11 @@ popd
|
|||||||
sed -i "s|-Xms40m|-Xms512m|g" eclipse.ini
|
sed -i "s|-Xms40m|-Xms512m|g" eclipse.ini
|
||||||
sed -i "s|-Xmx512m|-Xmx1024m|g" eclipse.ini
|
sed -i "s|-Xmx512m|-Xmx1024m|g" eclipse.ini
|
||||||
sed -i '1i-protect\nroot' eclipse.ini
|
sed -i '1i-protect\nroot' eclipse.ini
|
||||||
|
sed -i '/-vmargs/i-vm\n%{_jvmdir}/java-11/bin/java' eclipse.ini
|
||||||
|
|
||||||
# Temporary fix until https://bugs.eclipse.org/294877 is resolved
|
# Temporary fix until https://bugs.eclipse.org/294877 is resolved
|
||||||
cat >> eclipse.ini <<EOF
|
cat >> eclipse.ini <<EOF
|
||||||
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
|
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
|
||||||
-XX:CompileCommand=exclude,org/eclipse/core/internal/dtree/DataTreeNode,forwardDeltaWith
|
|
||||||
-XX:CompileCommand=exclude,org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding,<init>
|
|
||||||
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates,instantiateTemplate
|
|
||||||
-XX:CompileCommand=exclude,org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage,addBinding
|
|
||||||
-XX:CompileCommand=exclude,org/python/pydev/editor/codecompletion/revisited/PythonPathHelper,isValidSourceFile
|
|
||||||
-XX:CompileCommand=exclude,org/eclipse/tycho/core/osgitools/EquinoxResolver,newState
|
|
||||||
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=%{_datadir}/eclipse/dropins
|
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=%{_datadir}/eclipse/dropins
|
||||||
-Dp2.fragments=%{_eclipsedir}/droplets,%{_datadir}/eclipse/droplets
|
-Dp2.fragments=%{_eclipsedir}/droplets,%{_datadir}/eclipse/droplets
|
||||||
-Declipse.p2.skipMovedInstallDetection=true
|
-Declipse.p2.skipMovedInstallDetection=true
|
||||||
@ -880,21 +856,6 @@ pushd %{buildroot}/%{_eclipsedir}/
|
|||||||
ln -s $(abs2rel %{_jnidir}/swt.jar %{_eclipsedir})
|
ln -s $(abs2rel %{_jnidir}/swt.jar %{_eclipsedir})
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%if %{without bootstrap} && %{with contrib_tools}
|
|
||||||
# Tests framework
|
|
||||||
unzip eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/target/eclipse-junit-tests-bundle.zip \
|
|
||||||
-d $RPM_BUILD_ROOT/%{_datadir}/ -x eclipse-testing/runtests.bat eclipse-testing/runtestsmac.sh
|
|
||||||
cp utils/splitter.xsl $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing
|
|
||||||
rm $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/eclipse-junit-tests-*.zip
|
|
||||||
|
|
||||||
# These properties are not correct and nested properties won't get resolved
|
|
||||||
sed -i '/org.eclipse.equinox.p2.reconciler.test/ d' $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/equinoxp2tests.properties
|
|
||||||
|
|
||||||
# Package testbundle-to-eclipse-test
|
|
||||||
cp -r testbundle-to-eclipse-test $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/testbundle
|
|
||||||
mv $RPM_BUILD_ROOT/%{_datadir}/eclipse-testing/testbundle/eclipse-runTestBundles $RPM_BUILD_ROOT/%{_bindir}/eclipse-runTestBundles
|
|
||||||
%endif
|
|
||||||
|
|
||||||
#fix so permissions
|
#fix so permissions
|
||||||
find $RPM_BUILD_ROOT/%{_eclipsedir} -name *.so -exec chmod a+x {} \;
|
find $RPM_BUILD_ROOT/%{_eclipsedir} -name *.so -exec chmod a+x {} \;
|
||||||
|
|
||||||
@ -937,6 +898,9 @@ echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|||||||
%{_eclipsedir}/plugins/com.jcraft.jsch_*
|
%{_eclipsedir}/plugins/com.jcraft.jsch_*
|
||||||
%{_eclipsedir}/plugins/com.sun.el.javax.el_*
|
%{_eclipsedir}/plugins/com.sun.el.javax.el_*
|
||||||
%{_eclipsedir}/plugins/javax.*
|
%{_eclipsedir}/plugins/javax.*
|
||||||
|
%if 0%{?fedora}
|
||||||
|
%{_eclipsedir}/plugins/jakarta.*
|
||||||
|
%endif
|
||||||
%{_eclipsedir}/plugins/org.apache.*
|
%{_eclipsedir}/plugins/org.apache.*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.ant.core_*
|
%{_eclipsedir}/plugins/org.eclipse.ant.core_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.compare_*
|
%{_eclipsedir}/plugins/org.eclipse.compare_*
|
||||||
@ -972,6 +936,7 @@ echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|||||||
%{_eclipsedir}/plugins/org.eclipse.e4.ui.css.swt.theme_*
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.css.swt.theme_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.e4.ui.di_*
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.di_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.e4.ui.dialogs_*
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.dialogs_*
|
||||||
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.ide_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.e4.ui.model.workbench_*
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.model.workbench_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.e4.ui.services_*
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.services_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.e4.ui.swt.gtk_*
|
%{_eclipsedir}/plugins/org.eclipse.e4.ui.swt.gtk_*
|
||||||
@ -1029,7 +994,6 @@ echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|||||||
%{_eclipsedir}/plugins/org.eclipse.equinox.security*
|
%{_eclipsedir}/plugins/org.eclipse.equinox.security*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.equinox.simpleconfigurator_*
|
%{_eclipsedir}/plugins/org.eclipse.equinox.simpleconfigurator_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_*
|
%{_eclipsedir}/plugins/org.eclipse.equinox.simpleconfigurator.manipulator_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.equinox.util_*
|
|
||||||
%{_eclipsedir}/plugins/org.eclipse.help_*
|
%{_eclipsedir}/plugins/org.eclipse.help_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.help.base_*
|
%{_eclipsedir}/plugins/org.eclipse.help.base_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.help.ui_*
|
%{_eclipsedir}/plugins/org.eclipse.help.ui_*
|
||||||
@ -1039,6 +1003,7 @@ echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|||||||
%{_eclipsedir}/plugins/org.eclipse.jface_*
|
%{_eclipsedir}/plugins/org.eclipse.jface_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.jface.databinding_*
|
%{_eclipsedir}/plugins/org.eclipse.jface.databinding_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.jface.text_*
|
%{_eclipsedir}/plugins/org.eclipse.jface.text_*
|
||||||
|
%{_eclipsedir}/plugins/org.eclipse.jface.notifications_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.jsch.core_*
|
%{_eclipsedir}/plugins/org.eclipse.jsch.core_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.jsch.ui_*
|
%{_eclipsedir}/plugins/org.eclipse.jsch.ui_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.ltk.core.refactoring_*
|
%{_eclipsedir}/plugins/org.eclipse.ltk.core.refactoring_*
|
||||||
@ -1051,6 +1016,7 @@ echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|||||||
%{_eclipsedir}/plugins/org.eclipse.team.genericeditor.diff.extension_*
|
%{_eclipsedir}/plugins/org.eclipse.team.genericeditor.diff.extension_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.team.ui_*
|
%{_eclipsedir}/plugins/org.eclipse.team.ui_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.text_*
|
%{_eclipsedir}/plugins/org.eclipse.text_*
|
||||||
|
%{_eclipsedir}/plugins/org.eclipse.text.quicksearch_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.ui_*
|
%{_eclipsedir}/plugins/org.eclipse.ui_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.ui.browser_*
|
%{_eclipsedir}/plugins/org.eclipse.ui.browser_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.ui.cheatsheets_*
|
%{_eclipsedir}/plugins/org.eclipse.ui.cheatsheets_*
|
||||||
@ -1077,13 +1043,11 @@ echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|||||||
%{_eclipsedir}/plugins/org.eclipse.update.configurator_*
|
%{_eclipsedir}/plugins/org.eclipse.update.configurator_*
|
||||||
%{_eclipsedir}/plugins/org.eclipse.urischeme_*
|
%{_eclipsedir}/plugins/org.eclipse.urischeme_*
|
||||||
%{_eclipsedir}/plugins/org.glassfish.web.javax.servlet.jsp_*
|
%{_eclipsedir}/plugins/org.glassfish.web.javax.servlet.jsp_*
|
||||||
%{_eclipsedir}/plugins/org.kxml2_*
|
|
||||||
%{_eclipsedir}/plugins/org.sat4j.core_*
|
%{_eclipsedir}/plugins/org.sat4j.core_*
|
||||||
%{_eclipsedir}/plugins/org.sat4j.pb_*
|
%{_eclipsedir}/plugins/org.sat4j.pb_*
|
||||||
%{_eclipsedir}/plugins/org.tukaani.xz_*
|
%{_eclipsedir}/plugins/org.tukaani.xz_*
|
||||||
%{_eclipsedir}/plugins/org.w3c.css.sac_*
|
%{_eclipsedir}/plugins/org.w3c.css.sac_*
|
||||||
%{_eclipsedir}/plugins/org.w3c.dom.svg_*
|
%{_eclipsedir}/plugins/org.w3c.dom.svg_*
|
||||||
%{_eclipsedir}/plugins/org.xmlpull_*
|
|
||||||
%doc %{_eclipsedir}/readme
|
%doc %{_eclipsedir}/readme
|
||||||
%{_eclipsedir}/artifacts.xml
|
%{_eclipsedir}/artifacts.xml
|
||||||
%{_eclipsedir}/p2
|
%{_eclipsedir}/p2
|
||||||
@ -1099,11 +1063,8 @@ echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|||||||
%files p2-discovery -f .mfiles-p2-discovery
|
%files p2-discovery -f .mfiles-p2-discovery
|
||||||
|
|
||||||
%if %{without bootstrap} && %{with contrib_tools}
|
%if %{without bootstrap} && %{with contrib_tools}
|
||||||
%files contributor-tools -f .mfiles-contributor-tools
|
|
||||||
|
|
||||||
%files tests -f .mfiles-tests
|
%files contributor-tools -f .mfiles-contributor-tools
|
||||||
%{_bindir}/eclipse-runTestBundles
|
|
||||||
%{_datadir}/eclipse-testing
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files equinox-osgi -f .mfiles-equinox-osgi
|
%files equinox-osgi -f .mfiles-equinox-osgi
|
||||||
@ -1113,6 +1074,86 @@ echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|||||||
%{_eclipsedir}/plugins/org.eclipse.osgi.util_*
|
%{_eclipsedir}/plugins/org.eclipse.osgi.util_*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 23 2020 Alexander Kurtakov <akurtako@redhat.com> 1:4.16-8
|
||||||
|
- Add java-11-openjdk-devel - without it /usr/lib/jvm/java-11 is not created.
|
||||||
|
|
||||||
|
* Thu Oct 22 2020 Alexander Kurtakov <akurtako@redhat.com> 1:4.16-7
|
||||||
|
- Add additonal Java 11 dependencies to ensure all parts are installed.
|
||||||
|
|
||||||
|
* Tue Jul 21 2020 Mat Booth <mat.booth@redhat.com> - 1:4.16-6
|
||||||
|
- Require Java 11 explicitly
|
||||||
|
- Drop hotspot exclusions from the JDK 6 era
|
||||||
|
|
||||||
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 1:4.16-5
|
||||||
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
||||||
|
|
||||||
|
* Mon Jun 29 2020 Mat Booth <mat.booth@redhat.com> - 1:4.16-4
|
||||||
|
- Update linux-build snapshot and fix adding junit classpath containers to java
|
||||||
|
projects
|
||||||
|
|
||||||
|
* Tue Jun 23 2020 Mat Booth <mat.booth@redhat.com> - 1:4.16-3
|
||||||
|
- Make a bit more portable and fix bootstrap mode
|
||||||
|
|
||||||
|
* Fri Jun 19 2020 Mat Booth <mat.booth@redhat.com> - 1:4.16-2
|
||||||
|
- Non-bootstrap build
|
||||||
|
|
||||||
|
* Thu Jun 18 2020 Mat Booth <mat.booth@redhat.com> - 1:4.16-1
|
||||||
|
- Update to latest upstream release
|
||||||
|
|
||||||
|
* Thu Apr 02 2020 Mat Booth <mat.booth@redhat.com> - 1:4.15-5
|
||||||
|
- Make the requirement on felix-scr more strict
|
||||||
|
|
||||||
|
* Thu Apr 02 2020 Mat Booth <mat.booth@redhat.com> - 1:4.15-4
|
||||||
|
- Allow library detector to build on Java 11
|
||||||
|
|
||||||
|
* Sun Mar 29 2020 Mat Booth <mat.booth@redhat.com> - 1:4.15-3
|
||||||
|
- Don't build and ship the test framework. We are not shipping any actual tests
|
||||||
|
anyway and this allows to drop the dependency on mockito and friends.
|
||||||
|
|
||||||
|
* Mon Mar 23 2020 Mat Booth <mat.booth@redhat.com> - 1:4.15-2
|
||||||
|
- Set compiler release to Java 8 on certain bundles
|
||||||
|
|
||||||
|
* Sat Mar 21 2020 Mat Booth <mat.booth@redhat.com> - 1:4.15-1
|
||||||
|
- Update to latest upstream release
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Mat Booth <mat.booth@redhat.com> - 1:4.14-5
|
||||||
|
- Backport patch to fix build against GCC 10
|
||||||
|
|
||||||
|
* Thu Jan 23 2020 Mat Booth <mat.booth@redhat.com> - 1:4.14-4
|
||||||
|
- Remove BR on bouncycastle
|
||||||
|
|
||||||
|
* Thu Jan 23 2020 Mat Booth <mat.booth@redhat.com> - 1:4.14-3
|
||||||
|
- Remove references to kxml/xpp3
|
||||||
|
|
||||||
|
* Thu Dec 19 2019 Mat Booth <mat.booth@redhat.com> - 1:4.14-2
|
||||||
|
- Full build
|
||||||
|
- Drop tests sub-package
|
||||||
|
|
||||||
|
* Thu Dec 19 2019 Mat Booth <mat.booth@redhat.com> - 1:4.14-1
|
||||||
|
- Update to latest upstream release
|
||||||
|
|
||||||
|
* Thu Dec 19 2019 Mat Booth <mat.booth@redhat.com> - 1:4.13-7
|
||||||
|
- Bump requirements on EMF/ECF
|
||||||
|
|
||||||
|
* Wed Dec 18 2019 Mat Booth <mat.booth@redhat.com> - 1:4.13-6
|
||||||
|
- Remove unnecessary dep on apache-commons-el
|
||||||
|
- Enable bootstrap mode
|
||||||
|
|
||||||
|
* Wed Nov 20 2019 Mat Booth <mat.booth@redhat.com> - 1:4.13-5
|
||||||
|
- Obsolete retired packages
|
||||||
|
|
||||||
|
* Mon Sep 23 2019 Mat Booth <mat.booth@redhat.com> - 1:4.13-4
|
||||||
|
- Add patch for ebz#550606
|
||||||
|
|
||||||
|
* Mon Sep 23 2019 Mat Booth <mat.booth@redhat.com> - 1:4.13-3
|
||||||
|
- Fix explicit hamcrest reqs
|
||||||
|
|
||||||
|
* Mon Sep 16 2019 Mat Booth <mat.booth@redhat.com> - 1:4.13-2
|
||||||
|
- Fix PDE installation
|
||||||
|
|
||||||
|
* Mon Sep 09 2019 Mat Booth <mat.booth@redhat.com> - 1:4.13-1
|
||||||
|
- Update to latest upstream release
|
||||||
|
|
||||||
* Wed Jul 24 2019 Mat Booth <mat.booth@redhat.com> - 1:4.12-6
|
* Wed Jul 24 2019 Mat Booth <mat.booth@redhat.com> - 1:4.12-6
|
||||||
- Reenable normal debuginfo generation for the launcher binary on Fedora
|
- Reenable normal debuginfo generation for the launcher binary on Fedora
|
||||||
|
|
||||||
@ -1400,4 +1441,3 @@ echo "%{version}-%{release}" > %{buildroot}%{_eclipsedir}/.pkgs/Distro%{?dist}
|
|||||||
- Update to Oxygen I-build
|
- Update to Oxygen I-build
|
||||||
- Don't build unsupported GTK2 backend for SWT
|
- Don't build unsupported GTK2 backend for SWT
|
||||||
- Move installation to a multilib agnostic location /usr/lib
|
- Move installation to a multilib agnostic location /usr/lib
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user