Skip to content

Commit 58aeab8

Browse files
authored
Merge pull request #121 from eMoflon/hotfix/resolve-eclipse-download-error
Fixes download errors of eclipse.org by switching back to ftp.fau.de
2 parents f26e774 + 26a4b0c commit 58aeab8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ OUTPUT_FILE_PREFIX_LINUX="eclipse-emoflon-linux"
3434
OUTPUT_FILE_PREFIX_WINDOWS="eclipse-emoflon-windows"
3535
OUTOUT_FILE_PREFIX_MACOS="eclipse-emoflon-macos"
3636
OUTOUT_FILE_PREFIX_MACOSARM="eclipse-emoflon-macos-arm"
37-
MIRROR="https://www.eclipse.org/downloads/download.php?file="
37+
MIRROR="https://ftp.fau.de"
3838
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"
3939
EMOFLON_HEADLESS_SRC="https://api.github.com/repos/eMoflon/emoflon-headless/releases/latest"
4040

@@ -207,7 +207,7 @@ remove_update_sites () {
207207
# Check if script needs to download the initial Eclipse archive.
208208
if [[ ! -f "./$ARCHIVE_FILE" ]]; then
209209
log "Downloading Eclipse $VERSION archive from $MIRROR."
210-
wget -q "$MIRROR/technology/epp/downloads/release/$VERSION/R/$ARCHIVE_FILE&r=1" -O $ARCHIVE_FILE
210+
wget -q $MIRROR/eclipse/technology/epp/downloads/release/$VERSION/R/$ARCHIVE_FILE
211211
fi
212212

213213
if [[ "$MODE" = "user" ]]; then

0 commit comments

Comments
 (0)