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 #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 authored and akurtakov committed Sep 11, 2024
1 parent 0e9cf5a commit 7e35e05
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 7e35e05

Please sign in to comment.