Skip to content

Commit 56b4b0f

Browse files
committed
PDE update: only apply the update when building a Windows version
1 parent 5cee5af commit 56b4b0f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

build.sh

+9-3
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,14 @@ fi
261261
# Install global Eclipse settings from config file
262262
install_global_eclipse_settings
263263

264-
log "Remove old version of the PDE."
265-
uninstall_packages "$UPDATESITES" "./packages/pde-remove-packages.list"
264+
# Update PDE to fix plug-in dependency bug on Windows
265+
if [[ "$OS" = "windows" ]]; then
266+
log "Remove old version of the PDE."
267+
uninstall_packages "$UPDATESITES" "./packages/pde-remove-packages.list"
268+
269+
log "Install new version of the PDE."
270+
install_packages "$UPDATESITES" "./packages/pde-fix-packages.list"
271+
fi
266272

267273
log "Install Eclipse plug-ins."
268274
for p in ${ORDER[@]}; do

0 commit comments

Comments
 (0)