Skip to content

Commit

Permalink
Adopt new o.e.e.p2.publisher.eclipse API for IMacOsBundleUrlType
Browse files Browse the repository at this point in the history
After eclipse-tycho#4246, we can now consume the new

org.eclipse.equinox.internal.p2.publisher.eclipse.IProductDescriptor.getMacOsBundleUrlTypes()

API in the Tycho wrapper
org.eclipse.tycho.p2.tools.publisher.ExpandedProduct.

This is necessary to properly support link handler registrations in
product's launchers.

See
eclipse-platform/eclipse.platform.ui#1901
eclipse-equinox/p2#533
for more information.
  • Loading branch information
sratz committed Sep 11, 2024
1 parent 10913ff commit 6df11d2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.eclipse.equinox.internal.p2.publisher.eclipse.ProductContentType;
import org.eclipse.equinox.p2.metadata.IInstallableUnit;
import org.eclipse.equinox.p2.metadata.IVersionedId;
import org.eclipse.equinox.p2.publisher.eclipse.IMacOsBundleUrlType;
import org.eclipse.equinox.p2.repository.IRepositoryReference;
import org.eclipse.tycho.ArtifactType;
import org.eclipse.tycho.Interpolator;
Expand Down Expand Up @@ -291,4 +292,9 @@ public String getVM(String os) {
return defaults.getVM(os);
}

@Override
public List<IMacOsBundleUrlType> getMacOsBundleUrlTypes() {
return defaults.getMacOsBundleUrlTypes();
}

}

0 comments on commit 6df11d2

Please sign in to comment.