Bug 573724 - Update Info.plist for Eclipse.app
Add NSRequiresAquaSystemAppearance key and remove -vm comments in
AArch64 Info.plist.
Update the -vm comments in x86_64 Info.plist.
Change-Id: I93635fb135c35e5bd0fccd03cb7406a603bb96f3
Reviewed-on: https://git.eclipse.org/r/c/equinox/rt.equinox.framework/+/180941
Tested-by: Thomas Watson <tjwatson@us.ibm.com>
Reviewed-by: Thomas Watson <tjwatson@us.ibm.com>
diff --git a/features/org.eclipse.equinox.executable.feature/bin/cocoa/macosx/aarch64/Eclipse.app/Contents/Info.plist b/features/org.eclipse.equinox.executable.feature/bin/cocoa/macosx/aarch64/Eclipse.app/Contents/Info.plist
index 9e82bca..49bed68 100644
--- a/features/org.eclipse.equinox.executable.feature/bin/cocoa/macosx/aarch64/Eclipse.app/Contents/Info.plist
+++ b/features/org.eclipse.equinox.executable.feature/bin/cocoa/macosx/aarch64/Eclipse.app/Contents/Info.plist
@@ -3,6 +3,8 @@
<plist version="1.0">
<dict>
+ <key>NSRequiresAquaSystemAppearance</key>
+ <true/>
<key>CFBundleExecutable</key>
<string>eclipse</string>
<key>CFBundleGetInfoString</key>
@@ -29,11 +31,6 @@
<string>English</string>
<key>Eclipse</key>
<array>
- <!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options,
- or add a VM found via $/usr/libexec/java_home -V
- <string>-vm</string><string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string>
- <string>-vm</string><string>/Library/Java/JavaVirtualMachines/1.8.0.jdk/Contents/Home/bin/java</string>
- -->
<string>-keyring</string><string>~/.eclipse_keyring</string>
</array>
</dict>
diff --git a/features/org.eclipse.equinox.executable.feature/bin/cocoa/macosx/x86_64/Eclipse.app/Contents/Info.plist b/features/org.eclipse.equinox.executable.feature/bin/cocoa/macosx/x86_64/Eclipse.app/Contents/Info.plist
index e098826..6c58e2c 100644
--- a/features/org.eclipse.equinox.executable.feature/bin/cocoa/macosx/x86_64/Eclipse.app/Contents/Info.plist
+++ b/features/org.eclipse.equinox.executable.feature/bin/cocoa/macosx/x86_64/Eclipse.app/Contents/Info.plist
@@ -4,7 +4,7 @@
<dict>
<key>NSRequiresAquaSystemAppearance</key>
- <true/>
+ <true/>
<key>CFBundleExecutable</key>
<string>eclipse</string>
<key>CFBundleGetInfoString</key>
@@ -31,10 +31,9 @@
<string>English</string>
<key>Eclipse</key>
<array>
- <!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options,
- or add a VM found via $/usr/libexec/java_home -V
- <string>-vm</string><string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string>
- <string>-vm</string><string>/Library/Java/JavaVirtualMachines/1.8.0.jdk/Contents/Home/bin/java</string>
+ <!-- To use a specific Java version (instead of the default) uncomment the following option and
+ edit it to add a VM. Installed VMs can be found via $/usr/libexec/java_home -V
+ <string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk-11.jdk/Contents/Home/bin/java</string>
-->
<string>-keyring</string><string>~/.eclipse_keyring</string>
</array>