Bug 477998 - Installer artifact for MacOS should be a .dmg or .app instead of .tar.gz
Summary: Installer artifact for MacOS should be a .dmg or .app instead of .tar.gz
Status: RESOLVED FIXED
Alias: None
Product: Oomph
Classification: Tools
Component: Setup (show other bugs)
Version: 1.5.0   Edit
Hardware: PC Mac OS X
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 491547 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-21 16:43 EDT by Eric Cloninger CLA
Modified: 2019-10-31 06:13 EDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Cloninger CLA 2015-09-21 16:43:59 EDT
The Oomph installer on Mac is delivered as a .tar.gz file. This file must then be unpacked to reveal the Eclipse installer. On Windows, the file is a .exe. In order to be similar, the output of Oomph should be the .app that is already bundled in the .tar.gz or a Mac style .dmg disk image.
Comment 1 Eike Stepper CLA 2015-09-24 11:32:34 EDT
That sounds like a great enhancement to the installer on Mac. Personally I don't own a Mac box, just a nasty virtual box. So I'm not sure it would be much fun to do this on my spare time...
Comment 2 Mikaël Barbero CLA 2015-09-25 03:36:47 EDT
Pascal Rapicault and I have developed a Maven plugin to create a .dmg from a .app application. It is not yet widely available or polished but it works. This maven plugin relies on an internal webservice hosted at Eclipse Foundation. You can also directly call this webservice with curl and something like that. You can see the output of this service on this job https://hudson.eclipse.org/cbi/view/webservices/job/sanity-check-dmg-packaging-service/lastSuccessfulBuild/artifact/. 

Eike, Eric, when you want to work on it, let me know so I can provide some help.
Comment 3 Eike Stepper CLA 2015-09-25 03:45:02 EDT
Very interesting! I'll definitely try to play with it, probably in a few weeks when I have more time. I'm sure I'll ping you then. Thanks for the pointer!
Comment 4 Ed Merks CLA 2016-02-05 11:24:35 EST
*** Bug 487355 has been marked as a duplicate of this bug. ***
Comment 5 Eike Stepper CLA 2016-02-27 11:27:04 EST
Moving all unresolved bugzillas to 1.4.0...
Comment 6 Ed Merks CLA 2016-04-28 07:15:47 EDT
*** Bug 491547 has been marked as a duplicate of this bug. ***
Comment 7 Mikaël Barbero CLA 2016-06-15 03:43:54 EDT
It will be probably required for Oxygen in order to run properly on macOS Sierra (due Fall 2016). See bug 461670.
Comment 8 Ed Merks CLA 2016-06-15 07:58:19 EDT
Whatever the case may be, it will be the case for the packaged distributions as well, not just for Oomph's installer distribution.
Comment 9 Ed Merks CLA 2016-07-06 11:11:23 EDT
Moving all unresolved bugs to version 1.5.0.
Comment 10 Mikaël Barbero CLA 2017-04-13 05:05:25 EDT
DMG can now be signed. Use either the command line

curl -o org.eclipse.sdk.ide-macosx.cocoa.x86_64.dmg --write-out '%{http_code}\n' -F sign=true -F source=@org.eclipse.sdk.ide-macosx.cocoa.x86_64.tar.gz http://build.eclipse.org:31338/dmg-packager

or the maven plugin 

<plugin>
            <groupId>org.eclipse.cbi.maven.plugins</groupId>
            <artifactId>eclipse-dmg-packager</artifactId>
            <version>${cbi-plugins.version}</version>
            <executions>
              <execution>
                <goals>
                  <goal>package-dmg</goal>
                </goals>
                <phase>integration-test</phase>
                <configuration>
                  <source>${project.build.directory}/products/org.eclipse.platform.ide-macosx.cocoa.x86_64.tar.gz</source>
                  <continueOnFail>true</continueOnFail>
                  <sign>true</sign>
                </configuration>
              </execution>
            </executions>
          </plugin>
Comment 11 Ed Merks CLA 2019-10-31 06:13:34 EDT
This has been done during the previous release and the *.dmg is now notarized as well.