Skip to content

Commit 7f88901

Browse files
committed
PDE fix: split up for unix and windows-based systems
1 parent 9cfb2fc commit 7f88901

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

build.sh

+10-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ IMPORT_PLUGIN_FILENAME="com.seeq.eclipse.importprojects_$IMPORT_PLUGIN_VERSION.j
4444
IMPORT_PLUGIN_SRC="https://api.github.com/repos/maxkratz/eclipse-import-projects-plugin/releases/tags/v$IMPORT_PLUGIN_VERSION"
4545

4646
# Array with the order to install the plugins with.
47-
ORDER_LINUX=("pde-fix" "xtext" "plantuml" "hipe" "kermeta" "misc" "emoflon-headless" "emoflon" "theme" "additional")
47+
ORDER_LINUX=("xtext" "plantuml" "hipe" "kermeta" "misc" "emoflon-headless" "emoflon" "theme" "additional")
4848

4949
#
5050
# Configure OS specific details
@@ -261,8 +261,16 @@ fi
261261
# Install global Eclipse settings from config file
262262
install_global_eclipse_settings
263263

264+
# PDE workaround
264265
log "Remove old version of the PDE."
265-
uninstall_packages "$UPDATESITES" "./packages/pde-remove-packages.list"
266+
if [[ "$OS" = "macos" ]] || [[ "$OS" = "macosarm" ]] || [[ "$OS" = "linux" ]]; then
267+
uninstall_packages "$UPDATESITES" "./packages/pde-remove-packages.list"
268+
install_packages "$UPDATESITES" "./packages/pde-fix-packages.list"
269+
elif [[ "$OS" = "windows" ]]; then
270+
uninstall_packages "$UPDATESITES" "./packages/pde-remove-packages_windows.list"
271+
install_packages "$UPDATESITES" "./packages/pde-fix-packages_windows.list"
272+
fi
273+
# PDE workaround
266274

267275
log "Install Eclipse plug-ins."
268276
for p in ${ORDER[@]}; do
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.eclipse.pde/3.13.3100.v20250330-1800
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
org.eclipse.pde
2+
org.eclipse.pde.feature.group
3+
org.eclipse.sdk.feature.group

0 commit comments

Comments
 (0)