Skip to content

Commit c8fd234

Browse files
committed
Merge remote-tracking branch 'ibex/main'
2 parents 518003d + d1eee84 commit c8fd234

File tree

2 files changed

+6
-42
lines changed

2 files changed

+6
-42
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 9 deletions
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
@@ -165,7 +165,7 @@ jobs:
165165
run: echo "Started CI build (Eclipse GIPS macOS user)."
166166
- name: Install dependencies
167167
run: |
168-
brew install p7zip coreutils grep wget curl gsed
168+
brew install p7zip coreutils grep wget curl
169169
- name: Check out repository code
170170
uses: actions/checkout@v4
171171
- name: Download splash image
@@ -185,9 +185,7 @@ jobs:
185185
with:
186186
name: com.seeq.eclipse.importprojects.jar
187187
- name: Run build script
188-
run: |
189-
export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
190-
chmod +x build.sh && ./build.sh -m user -o macos
188+
run: chmod +x build.sh && ./build.sh -m user -o macos
191189
- name: Fix permissions
192190
run: sudo xattr -cr ./eclipse/Eclipse.app
193191
- name: Upload artifact
@@ -205,7 +203,7 @@ jobs:
205203
run: echo "Started CI build (Eclipse GIPS macOS user)."
206204
- name: Install dependencies
207205
run: |
208-
brew install p7zip coreutils grep wget curl gsed
206+
brew install p7zip coreutils grep wget curl
209207
- name: Check out repository code
210208
uses: actions/checkout@v4
211209
- name: Download splash image
@@ -225,9 +223,7 @@ jobs:
225223
with:
226224
name: com.seeq.eclipse.importprojects.jar
227225
- name: Run build script
228-
run: |
229-
export PATH="/opt/homebrew/opt/gnu-sed/libexec/gnubin:$PATH"
230-
chmod +x build.sh && ./build.sh -m user -o macosarm
226+
run: chmod +x build.sh && ./build.sh -m user -o macosarm
231227
- name: Fix permissions
232228
run: sudo xattr -cr ./eclipse/Eclipse.app
233229
- name: Upload artifact

build.sh

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ OUTPUT_FILE_PREFIX_WINDOWS="eclipse-gips-windows"
3535
OUTOUT_FILE_PREFIX_MACOS="eclipse-gips-macos"
3636
OUTOUT_FILE_PREFIX_MACOSARM="eclipse-gips-macos-arm"
3737
MIRROR="https://ftp.fau.de"
38-
UPDATESITES="https://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/,https://hallvard.github.io/plantuml/,https://hipe-devops.github.io/HiPE-Updatesite/hipe.updatesite/,https://www.kermeta.org/k2/update,https://emoflon.org/emoflon-ibex-updatesite/snapshot/updatesite/,https://www.genuitec.com/updates/devstyle/ci/,https://download.eclipse.org/releases/$VERSION,https://www.codetogether.com/updates/ci/,http://update.eclemma.org/,https://pmd.github.io/pmd-eclipse-plugin-p2-site/,https://checkstyle.org/eclipse-cs-update-site/,https://spotbugs.github.io/eclipse/,https://download.eclipse.org/technology/m2e/releases/latest,https://echtzeitsysteme.github.io/gips-updatesite/snapshot/updatesite/"
38+
UPDATESITES="https://download.eclipse.org/modeling/tmf/xtext/updates/composite/releases/,https://hallvard.github.io/plantuml/,https://hipe-devops.github.io/HiPE-Updatesite/hipe.updatesite/,https://www.kermeta.org/k2/update,https://emoflon.org/emoflon-ibex-updatesite/snapshot/updatesite/,https://devstyle.codetogether.io/,https://download.eclipse.org/releases/$VERSION,https://www.codetogether.com/updates/ci/,http://update.eclemma.org/,https://pmd.github.io/pmd-eclipse-plugin-p2-site/,https://checkstyle.org/eclipse-cs-update-site/,https://spotbugs.github.io/eclipse/,https://download.eclipse.org/technology/m2e/releases/latest,https://echtzeitsysteme.github.io/gips-updatesite/snapshot/updatesite/"
3939
EMOFLON_HEADLESS_SRC="https://api.github.com/repos/eMoflon/emoflon-headless/releases/latest"
4040

4141
# Import plug-in:
@@ -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).
@@ -323,12 +297,6 @@ else
323297
chmod +x splash.sh && ./splash.sh deploy $VERSION $ECLIPSE_BASE_PATH
324298
fi
325299

326-
# Remove broken org.apache.commons.logging JAR
327-
remove_broken_commons_logging
328-
329-
# Restore non-broken org.apache.commons.logging JAR
330-
restore_non_broken_commons_logging
331-
332300
log "Clean-up old archives and create new archive."
333301
rm -f ./$OUTPUT_FILE
334302
zip -q -r $OUTPUT_FILE eclipse

0 commit comments

Comments
 (0)