Skip to content

Commit

Permalink
[MAT 1.16.0 Release, #81] Use 2024-12 Eclipse Platform components
Browse files Browse the repository at this point in the history
- add new target definition file for 2024-12 and latest birt
- add p2.inf file with the 2024-12 update site
- update Tycho to 4.0.9 to be able to build against platform 4.34, see
eclipse-platform/eclipse.platform#1594

Signed-off-by: Krum Tsvetkov <[email protected]>
  • Loading branch information
krumts committed Dec 10, 2024
1 parent 4ffe17a commit 623079d
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 4 deletions.
15 changes: 15 additions & 0 deletions org.eclipse.mat.product/mat-2024-12.p2.inf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
properties.0.name = org.eclipse.equinox.p2.description
properties.0.value = Eclipse Memory Analyzer tool is a fast and feature-rich Java heap analyzer \
that helps you find memory leaks and reduce memory consumption.\n\
Use the Memory Analyzer to analyze production heap dumps with hundreds of millions of objects, quickly calculate the retained sizes of objects, see who is preventing the Garbage Collector from collecting objects, run a report to automatically extract leak suspects.
properties.1.name = org.eclipse.equinox.p2.provider
properties.1.value = Eclipse Memory Analyzer
requires.2.namespace = org.eclipse.equinox.p2.iu
requires.2.name = org.eclipse.ui.themes
requires.2.range = [1.0.0, 2.0.0)
instructions.configure=\
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/readme);\
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/artifacts.xml);\
addRepository(type:0,name:Eclipse 2024-12,location:https${#58}//download.eclipse.org/releases/2024-12/,enabled:true);\
addRepository(type:1,name:Eclipse 2024-12,location:https${#58}//download.eclipse.org/releases/2024-12/,enabled:true);\
setProgramProperty(propName:osgi.requiredJavaVersion,propValue:17);
4 changes: 2 additions & 2 deletions org.eclipse.mat.product/mat.p2.inf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ requires.2.range = [1.0.0, 2.0.0)
instructions.configure=\
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/readme);\
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/artifacts.xml);\
addRepository(type:0,name:Eclipse 2023-12,location:https${#58}//download.eclipse.org/releases/2023-12/,enabled:true);\
addRepository(type:1,name:Eclipse 2023-12,location:https${#58}//download.eclipse.org/releases/2023-12/,enabled:true);\
addRepository(type:0,name:Eclipse 2024-12,location:https${#58}//download.eclipse.org/releases/2024-12/,enabled:true);\
addRepository(type:1,name:Eclipse 2024-12,location:https${#58}//download.eclipse.org/releases/2024-12/,enabled:true);\
setProgramProperty(propName:osgi.requiredJavaVersion,propValue:17);
45 changes: 45 additions & 0 deletions org.eclipse.mat.targetdef/mat-2024-12.target
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>
<target name="MAT 2024-12 Target" sequenceNumber="2">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.jdt.feature.group" version="0.0.0"/>
<unit id="org.eclipse.equinox.executable.feature.group" version="0.0.0"/>
<unit id="org.eclipse.rcp.feature.group" version="0.0.0"/>
<unit id="org.eclipse.equinox.p2.user.ui.feature.group" version="0.0.0"/>
<unit id="org.eclipse.help.feature.group" version="0.0.0"/>
<unit id="org.junit" version="0.0.0"/>
<!-- <unit id="org.eclipse.platform.feature.group" version="0.0.0"/> -->
<unit id="org.eclipse.ui.themes" version="0.0.0"/>
<unit id="org.eclipse.ui.net" version="0.0.0"/>
<unit id="org.eclipse.platform" version="0.0.0"/>
<unit id="org.eclipse.ui.ide.application" version="0.0.0"/>
<unit id="org.eclipse.ui.views.log" version="0.0.0"/>
<unit id="org.eclipse.pde.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/eclipse/updates/4.34/R-4.34-202411201800/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.birt.core" version="0.0.0"/>
<unit id="org.eclipse.birt.chart.engine" version="0.0.0"/>
<unit id="org.eclipse.birt.chart.device.extension" version="0.0.0"/>
<unit id="org.eclipse.birt.chart.device.swt" version="0.0.0"/>
<unit id="org.eclipse.birt.chart.engine.extension" version="0.0.0"/>
<repository location="https://download.eclipse.org/birt/update-site/4.13.0/"/>
</location>
<location includeAllPlatforms="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.ibm.dtfj.feature.feature.group" version="0.0.0"/>
<repository location="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/runtimes/tools/dtfj/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/technology/swtbot/releases/latest/"/>
<unit id="org.eclipse.swtbot.eclipse.feature.group" version="0.0.0"/>
<unit id="org.eclipse.swtbot.feature.group" version="0.0.0"/>
<unit id="org.eclipse.swtbot.eclipse.test.junit.feature.group" version="0.0.0"/>
</location>
</locations>
<implicitDependencies>
<plugin id="org.eclipse.ui.views.log"/>
<plugin id="org.eclipse.equinox.event"/>
<plugin id="org.eclipse.equinox.ds"/>
</implicitDependencies>
</target>
4 changes: 2 additions & 2 deletions parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@
</ciManagement>

<properties>
<tycho-version>4.0.3</tycho-version>
<tycho-version>4.0.9</tycho-version>
<signer-input-directory>/home/data/httpd/download-staging.priv/tools/mat</signer-input-directory>
<download-publish-path>/home/data/httpd/download.eclipse.org/mat/snapshots/update-site</download-publish-path>
<download-remote-publish-path>[email protected]:/home/data/httpd/download.eclipse.org/mat/snapshots/update-site</download-remote-publish-path>
<download-publish-rcp-path>/home/data/httpd/download.eclipse.org/mat/snapshots/rcp</download-publish-rcp-path>
<download-remote-publish-rcp-path>[email protected]:/home/data/httpd/download.eclipse.org/mat/snapshots/rcp</download-remote-publish-rcp-path>
<!-- mat-target specifies which .target definition file will be used -->
<mat-target>mat-2023-12</mat-target>
<mat-target>mat-2024-12</mat-target>
<!-- mat-product specifies which .product definition file will be used -->
<mat-product>${mat-target}</mat-product>
<!-- mat-release-repo-url specifies from which p2 repo the MAT bundles
Expand Down

0 comments on commit 623079d

Please sign in to comment.