akhikhl / wuff

Gradle plugin for automating assembly of OSGi/Eclipse bundles and applications
MIT License
153 stars 51 forks source link

Eclipse sdk download fails for mac, luna, mars. #111

Open elmsley opened 8 years ago

elmsley commented 8 years ago

After using the example build.gradle to scaffold:

Downloading file: http://mirror.netcologne.de/eclipse//eclipse/downloads/drops4/R-4.4.2-201502041700/eclipse-SDK-4.4.2-macosx-cocoa-x86_64.tar.gz

FAILURE: Build failed with an exception.

This is due to the file not being available on the mirror site.

Why not use 4.5 Mars which is on that mirror site?

nedtwigg commented 8 years ago

Might wanna take a look at Goomph and its example project. Currently on 3.0.0-SNAPSHOT, actively seeking feedback before 3.0.0 release.

pradip-maharjan commented 7 years ago

I have same problem as elmsley. I tried using keeping the address of archive. That also did not work.

petarov commented 7 years ago

You can use an alternative mirror for neon (4.6.2)

  eclipseVersion('4.6.2') {

    eclipseMavenGroup = 'eclipse-neon-sr2'

    eclipseMirror = 'http://ftp.fau.de'
    eclipseArchiveMirror = 'http://ftp.fau.de'

    sources {

      source "${eclipseMirror}/eclipse/technology/epp/downloads/release/neon/R/eclipse-jee-neon-R-${suffix_os[current_os]}${suffix_arch[current_arch]}.${fileExt_os[current_os]}"
      source "${eclipseMirror}/eclipse/eclipse/downloads/drops4/R-4.6.2-201611241400/eclipse-SDK-4.6.2-${suffix_os[current_os]}${suffix_arch[current_arch]}.${fileExt_os[current_os]}", sourcesOnly: true

      languagePackTemplate '${eclipseMirror}/eclipse//technology/babel/babel_language_packs/R0.14.1/mars/BabelLanguagePack-eclipse-${language}_4.6.0.v20161126060001.zip'
    }
  }