Skip to content

Commit

Permalink
Ensure latest P2 repo for tests is set the same
Browse files Browse the repository at this point in the history
And in only one place. Currently we had a mix of 2020-03 and 2022-03.
  • Loading branch information
akurtakov committed Apr 9, 2022
1 parent 209f4eb commit 803c067
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class ResourceUtil {

public enum P2Repositories {
ECLIPSE_342("e342"), ECLIPSE_352("e352"), ECLIPSE_OXYGEN("https:////download.eclipse.org/releases/oxygen/"),
ECLIPSE_LATEST("https:////download.eclipse.org/releases/2022-03/");
ECLIPSE_LATEST(EnvironmentUtil.ECLIPSE_LATEST);

private final String path;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
*/
public class EnvironmentUtil {

public static final String ECLIPSE_LATEST = "https:////download.eclipse.org/releases/2022-03/";

private static final Properties props;

static {
Expand Down Expand Up @@ -73,7 +75,7 @@ public static boolean isMac() {
}

public static String getTargetPlatform() {
return "https:////download.eclipse.org/releases/2020-03/";
return ECLIPSE_LATEST;
}

public static String getTestSettings() {
Expand Down

0 comments on commit 803c067

Please sign in to comment.