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 committed Sep 10, 2024
1 parent 39d3de0 commit a74c58c
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 a74c58c

Please sign in to comment.