Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGianMaria Romanato2020-03-30 05:50:14 -0400
committerGianMaria Romanato2020-03-30 05:50:14 -0400
commit902412216ec917a05fd28cc4ce068990d5d17b8a (patch)
tree553e3e280e9d8f985f5d2f2c003cb9cabc73960d
parent4d798a9f7af2333e750f9631854b8f4cc25968d2 (diff)
downloadorg.eclipse.virgo.ide-902412216ec917a05fd28cc4ce068990d5d17b8a.tar.gz
org.eclipse.virgo.ide-902412216ec917a05fd28cc4ce068990d5d17b8a.tar.xz
org.eclipse.virgo.ide-902412216ec917a05fd28cc4ce068990d5d17b8a.zip
561574: Virgo Tools do not work on Eclipse 2019-06 or later
Change pom.xml to pull Libra from Jenkins CI build using jar URL. Change super-type of ProjectBundleRoot from JarPackageFragmentRoot to ExternalPackageFragmentRoot to avoid the need to use the new constructor of JarPackageFragmentRoot only available in Eclipse 2019-12 or later
-rw-r--r--org.eclipse.virgo.ide.runtime.core/src/org/eclipse/virgo/ide/runtime/internal/ui/projects/ProjectBundleRoot.java4
-rw-r--r--pom.xml10
2 files changed, 9 insertions, 5 deletions
diff --git a/org.eclipse.virgo.ide.runtime.core/src/org/eclipse/virgo/ide/runtime/internal/ui/projects/ProjectBundleRoot.java b/org.eclipse.virgo.ide.runtime.core/src/org/eclipse/virgo/ide/runtime/internal/ui/projects/ProjectBundleRoot.java
index b517a82..3dca623 100644
--- a/org.eclipse.virgo.ide.runtime.core/src/org/eclipse/virgo/ide/runtime/internal/ui/projects/ProjectBundleRoot.java
+++ b/org.eclipse.virgo.ide.runtime.core/src/org/eclipse/virgo/ide/runtime/internal/ui/projects/ProjectBundleRoot.java
@@ -11,11 +11,11 @@
package org.eclipse.virgo.ide.runtime.internal.ui.projects;
import org.eclipse.core.runtime.Path;
-import org.eclipse.jdt.internal.core.JarPackageFragmentRoot;
+import org.eclipse.jdt.internal.core.ExternalPackageFragmentRoot;
import org.eclipse.jdt.internal.core.JavaProject;
import org.eclipse.virgo.ide.runtime.core.artefacts.ILocalArtefact;
-public class ProjectBundleRoot extends JarPackageFragmentRoot implements IServerProjectArtefact {
+public class ProjectBundleRoot extends ExternalPackageFragmentRoot implements IServerProjectArtefact {
private final ILocalArtefact artefact;
diff --git a/pom.xml b/pom.xml
index 765e7e7..d4ac030 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
- xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.virgo.ide</groupId>
<artifactId>org.eclipse.virgo.ide.parent</artifactId>
@@ -237,7 +238,7 @@
<repository>
<id>eclipse</id>
<layout>p2</layout>
- <url>http://download.eclipse.org/releases/oxygen/</url>
+ <url>https://download.eclipse.org/releases/2019-06/</url>
</repository>
<repository>
<id>orbit</id>
@@ -257,7 +258,10 @@
<repository>
<id>libra-milestone</id>
<layout>p2</layout>
- <url>http://download.eclipse.org/libra/milestones/</url>
+ <!-- Interim hack. Download directly from Libra CI until the project manages
+ to publish a build to their P2 repository, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=545157
+ <url>http://download.eclipse.org/libra/milestones/</url> -->
+ <url>jar:https://ci.eclipse.org/libra/job/Libra%20WAR/lastSuccessfulBuild/artifact/development/org.eclipse.libra.repository/target/org.eclipse.libra.repository-0.3.5-SNAPSHOT.zip!/</url>
</repository>
<repository>
<id>bundlor-milestone</id>

Back to the top