Skip to content

Commit

Permalink
Update to next release and add assumption that launcher is found
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Dec 5, 2023
1 parent 6e5138a commit bd726ff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/org.eclipse.pde.build.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
<parent>
<groupId>org.eclipse.pde</groupId>
<artifactId>eclipse.pde.build</artifactId>
<version>4.30.0-SNAPSHOT</version>
<version>4.31.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.pde.build.tests</artifactId>
<version>1.4.200-SNAPSHOT</version>
<version>1.4.300-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
*******************************************************************************/
package org.eclipse.pde.build.internal.tests;

import static org.junit.Assume.assumeTrue;

import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
Expand Down Expand Up @@ -377,7 +379,10 @@ public static File findExecutable() throws IOException {
// Eclipse.app/Contents/Eclipse).
baseLocation = baseLocation.getParentFile().getParentFile();
}
executableLocation = findExecutable(new File(baseLocation.getParent(), "deltapack/eclipse"));
File fallback = new File(baseLocation.getParent(), "deltapack/eclipse");
executableLocation = findExecutable(fallback);
assumeTrue("All attempts to find the executable failed including fallback to " + fallback.getAbsolutePath(),
executableLocation != null);
return executableLocation;
}

Expand Down

0 comments on commit bd726ff

Please sign in to comment.