From 2856f9d15533f1a9137b589b68536f5dd9082708 Mon Sep 17 00:00:00 2001
From: Patrick Plitzner
Date: Wed, 29 Mar 2017 10:31:55 +0200
Subject: [PATCH] ref #6539 Move to Eclipse 4 compatibility layer
- adapt rcp.target and feature.platform
- updated repositories in pom.xml
- fixed some incompatibility compile errors
---
.../eu/etaxonomy/taxeditor/update/P2Util.java | 2 +-
...thenticatedHttpInvokerRequestExecutor.java | 1 -
.../feature.xml | 448 +++---
.../META-INF/MANIFEST.MF | 1 -
eu.etaxonomy.taxeditor/rcp.target | 1307 ++++++++++++++++-
pom.xml | 12 +-
6 files changed, 1460 insertions(+), 311 deletions(-)
diff --git a/eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/update/P2Util.java b/eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/update/P2Util.java
index e39cdb618..dcc0a8449 100644
--- a/eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/update/P2Util.java
+++ b/eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/update/P2Util.java
@@ -79,7 +79,7 @@ public class P2Util {
repoElements.addAll(savedRepoElements);
ElementUtils.updateRepositoryUsingElements(ProvisioningUI.getDefaultUI(),repoElements
- .toArray(new MetadataRepositoryElement[]{} ), null);
+ .toArray(new MetadataRepositoryElement[]{} ));
}
diff --git a/eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/service/CdmAuthenticatedHttpInvokerRequestExecutor.java b/eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/service/CdmAuthenticatedHttpInvokerRequestExecutor.java
index 15b7e6658..dcf68babd 100644
--- a/eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/service/CdmAuthenticatedHttpInvokerRequestExecutor.java
+++ b/eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/service/CdmAuthenticatedHttpInvokerRequestExecutor.java
@@ -11,7 +11,6 @@ package eu.etaxonomy.taxeditor.service;
import java.io.IOException;
import org.apache.commons.codec.binary.Base64;
-import org.apache.commons.httpclient.methods.PostMethod;
import org.apache.http.client.methods.HttpPost;
import org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor;
import org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration;
diff --git a/eu.etaxonomy.taxeditor.feature.platform/feature.xml b/eu.etaxonomy.taxeditor.feature.platform/feature.xml
index d3e8562b0..194909d33 100644
--- a/eu.etaxonomy.taxeditor.feature.platform/feature.xml
+++ b/eu.etaxonomy.taxeditor.feature.platform/feature.xml
@@ -11,431 +11,397 @@
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+ unpack="false"/>
+ unpack="false"/>
+ unpack="false"/>
+ unpack="false"/>
-
-
-
-
-
-
-
-
-
-
+ version="0.0.0"/>
-
-
-
+
-
-
-
-
-
-
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+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
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index a6e4ef896..dbdf1ebac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -44,7 +44,6 @@
eu.etaxonomy.taxeditor.application
eu.etaxonomy.taxeditor.feature.platform
eu.etaxonomy.taxeditor.feature
- eu.etaxonomy.taxeditor.feature.jre.linux64
eu.etaxonomy.taxeditor
eu.etaxonomy.taxeditor.test
@@ -115,7 +114,7 @@
- Trac
+ Redmine
https://dev.e-taxonomy.eu/redmine/projects/edit/
@@ -157,8 +156,7 @@
eclipse-indigo
p2
- http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site/
-
+ http://download.eclipse.org/technology/swtbot/snapshots/