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

Bug 139994

Summary: Running from command line ignores eclipse.ini
Product: [Eclipse Project] Platform Reporter: Matthew Conway <matt>
Component: RuntimeAssignee: Oleg Besedin <ob1.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, Mike_Wilson, pascal
Version: 3.2   
Target Milestone: 3.3 M5   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Matthew Conway CLA 2006-05-03 11:52:21 EDT
If I run eclipse from the command line on OS X - "/Applications/eclipse/eclipse", it doesn't seem to use any of the settings from "/Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini" - the UI actually looks different becuase its using different fonts, and the max heap is lower too.

Running by double clicking in Finder does pick them up, and I can manually pass them in on the command line, but shouldn't a no arg command line also use them automatically?

eclipse 3.2RC2 on os X 10.4.6 java 1.4.2_09
Comment 1 DJ Houghton CLA 2006-05-04 11:18:10 EDT
Mike, are you able to reproduce this on your mac?
Comment 2 Mike Wilson CLA 2006-05-04 11:23:47 EDT
I have never tried this. Please test it on the Mac in the lab. I won't be able to get to it today.
Comment 3 Pascal Rapicault CLA 2006-05-04 22:44:13 EDT
Oleg could you confirm that for 3.2?
Comment 4 Oleg Besedin CLA 2006-05-05 15:15:24 EDT
Duplicated by Pascal in my presence :-).
Comment 5 Andrew Niefer CLA 2007-02-23 14:46:33 EST
This is fixed in the new launcher.
I ran using the eclipse shortcut in the root and got the following in my configuration:
eclipse.vmargs=-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Xbootclasspath/p:../../../plugins/org.eclipse.jdt.debug_3.2.100.v20070220/jdi.jar
-Xms40m
-Xmx256m
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Dorg.eclipse.swt.internal.carbon.noFocusRing
-Djava.class.path=/Users/ibmemployee/Desktop/eclipse-I20070220-1330/Eclipse.app/Contents/MacOS/../../../plugins/org.eclipse.equinox.launcher_1.0.0.v20070219.jar

most which comes from the ini file.
Comment 6 Eclipse Webmaster CLA 2007-07-29 09:19:45 EDT
Changing OS from Mac OS to Mac OS X as per bug 185991