Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 465244 - [MacOS] Installed Package Corrupt / Unusable
Summary: [MacOS] Installed Package Corrupt / Unusable
Status: RESOLVED FIXED
Alias: None
Product: Oomph
Classification: Tools
Component: Setup (show other bugs)
Version: 1.3.0   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 464937
  Show dependency tree
 
Reported: 2015-04-22 17:25 EDT by Tim Christensen CLA
Modified: 2015-11-17 00:55 EST (History)
2 users (show)

See Also:


Attachments
Error Dialog (33.23 KB, image/png)
2015-04-22 17:25 EDT, Tim Christensen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Christensen CLA 2015-04-22 17:25:33 EDT
Created attachment 252658 [details]
Error Dialog

Downloaded the basic Eclipse using the installer and it is not a functional download. On the Mac I would expect a directory containing eclipse - unless this has changed. Looking at the package contents of the file that is downloaded there appears to be a non-functionl eclipse executable.
Comment 1 Eike Stepper CLA 2015-04-23 02:30:29 EDT
(In reply to comment #0)
> Created attachment 252658 [details]
> Error Dialog

What exactly have you done? Downloaded http://www.eclipse.org/downloads/download.php?file=/oomph/products/eclipse-installer-mac64.tar.gz , double-clicked it (i.e. extracted) and then double-clicked the resulting "Eclipse Installer.app"?

What "type of Mac" do you have?

> 
> Downloaded the basic Eclipse 

What exactly do you mean by "basic"? The "Eclipse IDE for Java Developers"?

> using the installer and it is not a functional download. 

Into what location did you install the package?

> On the Mac I would expect a directory containing eclipse - unless this
> has changed. 

Yes, that has changed since Mars M6, see bug 431116 (and a number of depending bugs).

BTW., as a consequence of the new p2 implementation pre-Mars-M6 products can no longer be installed on Mac. The installer doesn't offer older versions anymore. Attempting to do it in the advanced mode of the installer will result in corrupt installations.

> Looking at the package contents of the file that is downloaded
> there appears to be a non-functionl eclipse executable.

What do you mean by "looking"? Have you tried it? What's the result?

I've tested the end to end process of downloading the latest installer from http://www.eclipse.org/downloads/download.php?file=/oomph/products/eclipse-installer-mac64.tar.gz (version 1.1.0 build 1140, you can verify that at the bottom of the advanced mode pages), extracting and executing it, installing a Java IDE into a writable location of my Mac Virtual Box, and launching that installed IDE. All worked without any problems. I've also tested to exit that IDE and launch it via the Mac Finder by double-clicking /Volumes/Disk2/java-latest/Eclipse app and it also works as expected.

The only minor issues was that the first time I installed the Java IDE the default value for the Install Location was wrong. It was just "/java-latest" and made the installation process fail gracefully with an error message in the installer. This is probably a bug that has been introduced when we reworked and consolidated the computation of default values (especially in the advanced mode's Variables page). I've submitted bug 465258 to track this problem.
Comment 2 Tim Christensen CLA 2015-04-23 12:29:05 EDT
Eike - sorry for the lack of detail - still getting used to this as I usually can discuss verbally with my team.

1. What I did - is exactly as you described.
2. Downloaded the Eclipse IDE for Java Developers
3. Installed it into /Users/name/java <-- Used the default which I disagree with as a viable directory
4. Looking at the package you can always contextually click on an application (icon) and look at the 'package contents' for an application. Yes clicking on it resulted in nothing happening.

Mac:

Model: MacBookPro11,3, BootROM MBP112.0138.B14, 4 processors, Intel Core i7, 2.5 GHz, 16 GB, SMC 2.19f12
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Graphics: NVIDIA GeForce GT 750M, NVIDIA GeForce GT 750M, PCIe, 2048 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x134), Broadcom BCM43xx 1.0 (7.15.159.13.12)
Bluetooth: Version 4.3.2f6 15235, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
PCI Card: pci11c1,5901, IEEE 1394 Open HCI, Thunderbolt@191,0,0
PCI Card: Apple 57761-B0, Ethernet Controller, Thunderbolt@192,0,0
PCI Card: pci12d8,400e, USB Open Host Controller, Thunderbolt@197,0,0
PCI Card: pci12d8,400e, USB Open Host Controller, Thunderbolt@197,0,1
PCI Card: pci12d8,400f, USB Enhanced Host Controller, Thunderbolt@197,0,2
PCI Card: pci1b21,612, AHCI Controller, Thunderbolt@201,0,0
Serial ATA Device: APPLE SSD SM0512F, 500.28 GB
Serial ATA Device: SAMSUNG MZ7TE512HMHP-00000, 512.11 GB
USB Device: Internal Memory Card Reader
USB Device: AudioQuest DragonFly
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Hub
USB Device: Apple Thunderbolt Display
USB Device: Display Audio
USB Device: FaceTime HD Camera (Display)
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.1
Thunderbolt Device: Thunderbolt Display, Apple Inc., 1, 26.2
Comment 3 Tim Christensen CLA 2015-04-23 13:27:23 EDT
I just discovered the update button for the installer. This was a poor experience in that regard. Why isn't my download the latest version of the installer?

I will be recommending we prompt to update whenever the installer is launched at a minimum. It is obviously imperative that the latest version of the installer is running.

Regardless, the good news is that it launches fine now. My apologies for this bug report.

The app launches great from the installer as well as traditional double click - although the installer did crash immediately - I will put the dialog into the other bug report.

I am still wondering why the default directory is not /Applications for the MacOS and likewise something that makes more sense like

/Applications/Eclipse Mars
Comment 4 Eike Stepper CLA 2015-09-05 11:12:45 EDT
Moving all unresolved bugzillas to 1.2.0...
Comment 5 Eike Stepper CLA 2015-10-13 03:03:58 EDT
Moving all unresolved bugzillas to 1.3.0...
Comment 6 Eike Stepper CLA 2015-11-11 02:50:58 EST
(In reply to Tim Christensen from comment #2)
> 4. Looking at the package you can always contextually click on an
> application (icon) and look at the 'package contents' for an application.
> Yes clicking on it resulted in nothing happening.

What do you mean by "nothing happening"? Doesn't it even show an empty folder? An empty folder is probably not possible because I suspect that MacOS wouldn't even present it as a package than (but I'm not MacOS expert enough to really know).

We've had roughly 250,000 downloads of the installer on MacOS since Mars and not heard of a single similar incident. And your report is quite old now. Can you please retest your scenario and confirm that the problem still exists?
Comment 7 Tim Christensen CLA 2015-11-17 00:55:12 EST
This issue is resolved. I will address the default directory issue in any further UX ideas. Thank you.