Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 461670

Summary: Make Mac download available as signed dmg
Product: [Eclipse Project] Platform Reporter: Pascal Rapicault <pascal>
Component: RelengAssignee: Platform-Releng-Inbox <platform-releng-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: arunkumar.thondapu, daniel_megert, gunnar, klaas.gadeyne, kumar_rakesh, malaperle, markus.kell.r, mikael.barbero, mlippert, mober.at+eclipse, peter, sravankumarl
Version: 4.5   
Target Milestone: 4.7 M7   
Hardware: PC   
OS: Mac OS X   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=106350
https://bugs.eclipse.org/bugs/show_bug.cgi?id=477998
https://git.eclipse.org/r/94288
https://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?id=3217281c331350a3be5c3b5756f1640c1c2043cb
https://git.eclipse.org/r/94558
https://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/commit/?id=d3f1df76a88e999c7bc1a3b12ab14b4e855186df
https://bugs.eclipse.org/bugs/show_bug.cgi?id=432932
Whiteboard:
Bug Depends on: 461673, 512019, 512489    
Bug Blocks:    

Description Pascal Rapicault CLA 2015-03-08 20:25:50 EDT
It would be good to create a DMG file (the mac installer format) and make the result available on the download page to replace the tar.gz (or maybe in addition to the tar.gz?)
Comment 1 Pascal Rapicault CLA 2015-03-08 20:29:01 EDT
In order to create the dmg, I recommend we use the scripts available at https://github.com/andreyvit/create-dmg.git
I've used it on my machine and it works well.
Comment 2 Mikaël Barbero CLA 2016-06-15 03:36:08 EDT
It will be probably required for Oxygen in order to run properly on macOS Sierra (due Fall 2016).

See 
https://developer.apple.com/library/prerelease/content/releasenotes/MacOSX/WhatsNewInOSX/Articles/OSXv10.html#//apple_ref/doc/uid/TP40017145-DontLinkElementID_68

"Starting in OS X v10.12, you can no longer provide external code or data alongside your code-signed app in a zip archive or unsigned disk image. An app distributed outside the Mac App Store runs from a randomized path when it is launched and so cannot access such external resources. To provide secure execution, code sign your disk image itself using the codesign tool, or distribute your app through the Mac App Store."

The Eclipse infra now offers a way to create DMG during a CBI build thanks to https://www.eclipse.org/cbi/sitedocs/eclipse-dmg-packager/plugin-info.html. Note that it does not sign (yet) the dmg though.
Comment 3 Dani Megert CLA 2016-11-23 12:22:40 EST
*** Bug 507328 has been marked as a duplicate of this bug. ***
Comment 4 Sravan Kumar Lakkimsetti CLA 2017-02-07 04:02:01 EST
I am retargetting it to 4.7. This work is still not complete
Comment 5 Sravan Kumar Lakkimsetti CLA 2017-03-02 08:54:20 EST
Re-targetting to M7 as the signing part is not completed yet.
Comment 6 Eclipse Genie CLA 2017-04-03 08:38:25 EDT
New Gerrit change created: https://git.eclipse.org/r/94288
Comment 8 Sravan Kumar Lakkimsetti CLA 2017-04-06 07:49:46 EDT
(In reply to Eclipse Genie from comment #7)
> Gerrit change https://git.eclipse.org/r/94288 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/
> commit/?id=3217281c331350a3be5c3b5756f1640c1c2043cb

With this dmg files got created but only Platform sdk is listed as dmg. 

Platform runtime dmg needs to be listed and dmg files needs to added to checksum list
Comment 9 Eclipse Genie CLA 2017-04-06 07:58:48 EDT
New Gerrit change created: https://git.eclipse.org/r/94558
Comment 11 Sravan Kumar Lakkimsetti CLA 2017-04-06 08:00:34 EDT
(In reply to Eclipse Genie from comment #10)
> Gerrit change https://git.eclipse.org/r/94558 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/
> commit/?id=d3f1df76a88e999c7bc1a3b12ab14b4e855186df

Fixed checksums and platform runtime as well.
Comment 12 Mikaël Barbero CLA 2017-04-15 10:51:31 EDT
Should we consider this one as fixed?
Comment 13 Mikaël Barbero CLA 2017-04-15 10:59:40 EDT
(Note that I will publish version 1.1.4 of maven plugins very soon - see bug 514540)
Comment 14 Sravan Kumar Lakkimsetti CLA 2017-04-17 01:44:59 EDT
(In reply to Mikaël Barbero from comment #12)
> Should we consider this one as fixed?

Yes. we can consider this as fixed
Comment 15 Sravan Kumar Lakkimsetti CLA 2017-05-09 05:57:25 EDT
Verified in I20170508-2000
Comment 16 Dani Megert CLA 2018-05-31 10:10:55 EDT
*** Bug 515308 has been marked as a duplicate of this bug. ***