Skip to content

Commit d1eee84

Browse files
authoredMar 18, 2025
Merge pull request #142 from eMoflon/feature/update-eclipse-2025-03
Updates Eclipse version: 2024-12 -> 2025-03
2 parents d6db183 + a6d77aa commit d1eee84

File tree

2 files changed

+13
-57
lines changed

2 files changed

+13
-57
lines changed
 

‎.github/workflows/ci.yml

+13-25
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222

2323
env:
2424
# Eclipse version to use in this CI
25-
VERSION: "2024-12"
25+
VERSION: "2025-03"
2626
# emoflon-headless source URL (needed by macOS-based runner workaround)
2727
EMOFLON_HEADLESS_SRC: "https://api.github.com/repos/eMoflon/emoflon-headless/releases/latest"
2828
# import plugin URL
@@ -263,7 +263,7 @@ jobs:
263263
run: echo "Started CI build (Eclipse eMoflon macOS user)."
264264
- name: Install dependencies
265265
run: |
266-
brew install p7zip coreutils grep wget curl gsed
266+
brew install p7zip coreutils grep wget curl
267267
- name: Check out repository code
268268
uses: actions/checkout@v4
269269
- name: Download splash image
@@ -283,9 +283,7 @@ jobs:
283283
with:
284284
name: com.seeq.eclipse.importprojects.jar
285285
- name: Run build script
286-
run: |
287-
export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
288-
chmod +x build.sh && ./build.sh -m user -o macos
286+
run: chmod +x build.sh && ./build.sh -m user -o macos
289287
- name: Fix permissions
290288
run: sudo xattr -cr ./eclipse/Eclipse.app
291289
- name: Upload artifact
@@ -303,7 +301,7 @@ jobs:
303301
run: echo "Started CI build (Eclipse eMoflon macOS dev)."
304302
- name: Install dependencies
305303
run: |
306-
brew install p7zip coreutils grep wget curl gsed
304+
brew install p7zip coreutils grep wget curl
307305
- name: Check out repository code
308306
uses: actions/checkout@v4
309307
- name: Download splash image
@@ -323,9 +321,7 @@ jobs:
323321
with:
324322
name: com.seeq.eclipse.importprojects.jar
325323
- name: Run build script
326-
run: |
327-
export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
328-
chmod +x build.sh && ./build.sh -m dev -o macos
324+
run: chmod +x build.sh && ./build.sh -m dev -o macos
329325
- name: Fix permissions
330326
run: sudo xattr -cr ./eclipse/Eclipse.app
331327
- name: Upload artifact
@@ -343,7 +339,7 @@ jobs:
343339
run: echo "Started CI build (Eclipse eMoflon macOS dev HiPE)."
344340
- name: Install dependencies
345341
run: |
346-
brew install p7zip coreutils grep wget curl gsed
342+
brew install p7zip coreutils grep wget curl
347343
- name: Check out repository code
348344
uses: actions/checkout@v4
349345
- name: Download splash image
@@ -363,9 +359,7 @@ jobs:
363359
with:
364360
name: com.seeq.eclipse.importprojects.jar
365361
- name: Run build script
366-
run: |
367-
export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
368-
chmod +x build.sh && ./build.sh -m hipedev -o macos
362+
run: chmod +x build.sh && ./build.sh -m hipedev -o macos
369363
- name: Fix permissions
370364
run: sudo xattr -cr ./eclipse/Eclipse.app
371365
- name: Upload artifact
@@ -383,7 +377,7 @@ jobs:
383377
run: echo "Started CI build (Eclipse eMoflon macOS user)."
384378
- name: Install dependencies
385379
run: |
386-
brew install p7zip coreutils grep wget curl gsed
380+
brew install p7zip coreutils grep wget curl
387381
- name: Check out repository code
388382
uses: actions/checkout@v4
389383
- name: Download splash image
@@ -403,9 +397,7 @@ jobs:
403397
with:
404398
name: com.seeq.eclipse.importprojects.jar
405399
- name: Run build script
406-
run: |
407-
export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
408-
chmod +x build.sh && ./build.sh -m user -o macosarm
400+
run: chmod +x build.sh && ./build.sh -m user -o macosarm
409401
- name: Fix permissions
410402
run: sudo xattr -cr ./eclipse/Eclipse.app
411403
- name: Upload artifact
@@ -423,7 +415,7 @@ jobs:
423415
run: echo "Started CI build (Eclipse eMoflon macOS dev)."
424416
- name: Install dependencies
425417
run: |
426-
brew install p7zip coreutils grep wget curl gsed
418+
brew install p7zip coreutils grep wget curl
427419
- name: Check out repository code
428420
uses: actions/checkout@v4
429421
- name: Download splash image
@@ -443,9 +435,7 @@ jobs:
443435
with:
444436
name: com.seeq.eclipse.importprojects.jar
445437
- name: Run build script
446-
run: |
447-
export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
448-
chmod +x build.sh && ./build.sh -m dev -o macosarm
438+
run: chmod +x build.sh && ./build.sh -m dev -o macosarm
449439
- name: Fix permissions
450440
run: sudo xattr -cr ./eclipse/Eclipse.app
451441
- name: Upload artifact
@@ -463,7 +453,7 @@ jobs:
463453
run: echo "Started CI build (Eclipse eMoflon macOS dev HiPE)."
464454
- name: Install dependencies
465455
run: |
466-
brew install p7zip coreutils grep wget curl gsed
456+
brew install p7zip coreutils grep wget curl
467457
- name: Check out repository code
468458
uses: actions/checkout@v4
469459
- name: Download splash image
@@ -483,9 +473,7 @@ jobs:
483473
with:
484474
name: com.seeq.eclipse.importprojects.jar
485475
- name: Run build script
486-
run: |
487-
export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
488-
chmod +x build.sh && ./build.sh -m hipedev -o macosarm
476+
run: chmod +x build.sh && ./build.sh -m hipedev -o macosarm
489477
- name: Fix permissions
490478
run: sudo xattr -cr ./eclipse/Eclipse.app
491479
- name: Upload artifact

‎build.sh

-32
Original file line numberDiff line numberDiff line change
@@ -199,29 +199,6 @@ remove_update_sites () {
199199
rm -rf $UPDATE_SITE_CONFIG_PATH/$UPDATE_SITE_METADATA
200200
}
201201

202-
# Removes broken org.apache.commons.logging JAR from plug-ins
203-
remove_broken_commons_logging () {
204-
log "Removes broken org.apache.commons.logging JAR from plug-ins."
205-
rm $ECLIPSE_BASE_PATH/plugins/org.apache.commons.logging_1.2.0.v20180409-1502.jar
206-
# force org.eclipse.equinox to take correct JAR into account
207-
# org.apache.commons.logging,1.2.0,plugins/org.apache.commons.logging_1.2.0.jar,4,false
208-
sed -i '/org.apache.commons.lang3/a org.apache.commons.logging,1.2.0,plugins/org.apache.commons.logging_1.2.0.jar,4,false' $ECLIPSE_BASE_PATH/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
209-
# org.apache.commons.logging,1.2.0.v20180409-1502,plugins/org.apache.commons.logging_1.2.0.v20180409-1502.jar,4,false
210-
sed -i '/org.apache.commons.logging,1.2.0.v20180409-1502,plugins\/org.apache.commons.logging_1.2.0.v20180409-1502.jar,4,false/d' $ECLIPSE_BASE_PATH/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info
211-
}
212-
213-
# Copies the non-broken org.apache.commons.logging JAR from plug-ins
214-
save_non_broken_commons_logging () {
215-
log "Save non-broken org.apache.commons.logging JAR from plug-ins."
216-
cp $ECLIPSE_BASE_PATH/plugins/org.apache.commons.logging_1.2.0.jar /tmp/org.apache.commons.logging_1.2.0.jar
217-
}
218-
219-
# Restores the non-broken org.apache.commons.logging JAR to plug-ins
220-
restore_non_broken_commons_logging () {
221-
log "Restores the non-broken org.apache.commons.logging JAR from plug-ins."
222-
cp /tmp/org.apache.commons.logging_1.2.0.jar $ECLIPSE_BASE_PATH/plugins/org.apache.commons.logging_1.2.0.jar
223-
rm /tmp/org.apache.commons.logging_1.2.0.jar
224-
}
225202

226203
#
227204
# Script
@@ -270,9 +247,6 @@ fi
270247
# Install global Eclipse settings from config file
271248
install_global_eclipse_settings
272249

273-
# Save non-broken org.apache.commons.logging JAR from plug-ins
274-
save_non_broken_commons_logging
275-
276250
log "Install Eclipse plug-ins."
277251
for p in ${ORDER[@]}; do
278252
# Check if eMoflon packages must be skipped (for dev builds).
@@ -317,12 +291,6 @@ else
317291
chmod +x splash.sh && ./splash.sh deploy $VERSION $ECLIPSE_BASE_PATH
318292
fi
319293

320-
# Remove broken org.apache.commons.logging JAR
321-
remove_broken_commons_logging
322-
323-
# Restore non-broken org.apache.commons.logging JAR
324-
restore_non_broken_commons_logging
325-
326294
log "Clean-up old archives and create new archive."
327295
rm -f ./$OUTPUT_FILE
328296
zip -q -r $OUTPUT_FILE eclipse

0 commit comments

Comments
 (0)