Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: PDE workaround: adds missing packages for unix-based systems #145

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ IMPORT_PLUGIN_FILENAME="com.seeq.eclipse.importprojects_$IMPORT_PLUGIN_VERSION.j
IMPORT_PLUGIN_SRC="https://api.github.com/repos/maxkratz/eclipse-import-projects-plugin/releases/tags/v$IMPORT_PLUGIN_VERSION"

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

#
# Configure OS specific details
Expand Down Expand Up @@ -261,8 +261,16 @@ fi
# Install global Eclipse settings from config file
install_global_eclipse_settings

# PDE workaround
log "Remove old version of the PDE."
uninstall_packages "$UPDATESITES" "./packages/pde-remove-packages.list"
if [[ "$OS" = "macos" ]] || [[ "$OS" = "macosarm" ]] || [[ "$OS" = "linux" ]]; then
uninstall_packages "$UPDATESITES" "./packages/pde-remove-packages.list"
install_packages "$UPDATESITES" "./packages/pde-fix-packages.list"
elif [[ "$OS" = "windows" ]]; then
uninstall_packages "$UPDATESITES" "./packages/pde-remove-packages_windows.list"
install_packages "$UPDATESITES" "./packages/pde-fix-packages_windows.list"
fi
# PDE workaround

log "Install Eclipse plug-ins."
for p in ${ORDER[@]}; do
Expand Down
8 changes: 7 additions & 1 deletion packages/pde-fix-packages.list
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
org.eclipse.pde/3.13.3100.v20250330-1800
org.eclipse.pde
org.eclipse.pde.feature.group
org.eclipse.sdk.feature.group
org.eclipse.jdt.feature.jar
org.eclipse.jdt.feature.group
org.eclipse.platform.feature.group
org.eclipse.pde.spies.feature.group
1 change: 1 addition & 0 deletions packages/pde-fix-packages_windows.list
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.eclipse.pde/3.13.3100.v20250330-1800
4 changes: 4 additions & 0 deletions packages/pde-remove-packages.list
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
org.eclipse.pde
org.eclipse.pde.feature.group
org.eclipse.sdk.feature.group
org.eclipse.jdt.feature.jar
org.eclipse.jdt.feature.group
org.eclipse.platform.feature.group
org.eclipse.pde.spies.feature.group
3 changes: 3 additions & 0 deletions packages/pde-remove-packages_windows.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
org.eclipse.pde
org.eclipse.pde.feature.group
org.eclipse.sdk.feature.group
Loading