tag:blogger.com,1999:blog-25095519.post2732627005908177381..comments2023-06-11T08:59:53.206-05:00Comments on Andrew Niefer: Eclipse and the ConsoleAnonymoushttp://www.blogger.com/profile/10918930759740557341noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-25095519.post-85133919148990530822013-09-05T12:20:13.397-05:002013-09-05T12:20:13.397-05:00The name of the ini file is derived from the progr...The name of the ini file is derived from the program name, see <a href="http://git.eclipse.org/c/equinox/rt.equinox.framework.git/tree/bundles/org.eclipse.equinox.executable/library/eclipseConfig.c#n52" rel="nofollow">eclipseConfig.c/getIniFile</a>.<br />The program name is take from argv[0].<br /><br />On windows, the trailing ".exe" is stripped from the program name and ".ini" is appended. If the executable is the console launcher, and this file is not found, and the program name ends with 'c' (like "eclipsec" does),<br />then we also try removing the 'c'.<br /><br />Nowhere in the code does it explicitly check for "eclipse.ini".Anonymoushttps://www.blogger.com/profile/10918930759740557341noreply@blogger.comtag:blogger.com,1999:blog-25095519.post-53130931091408866222013-09-04T15:36:16.208-05:002013-09-04T15:36:16.208-05:00Except it doesn't work if you change the launc...Except it doesn't work if you change the launcher name and ini file. It still looks for the eclipse.ini file. Sigh. More proof that code rusts.Anonymoushttps://www.blogger.com/profile/14088309262879705593noreply@blogger.comtag:blogger.com,1999:blog-25095519.post-11303631089609516862007-05-08T11:41:00.000-05:002007-05-08T11:41:00.000-05:00I come from a Unix/Linux world. I've never unders...I come from a Unix/Linux world. I've never understood the rationale in the Windows world for having an app that's a GUI app OR a console app.<BR/><BR/>This fix seams like a very good thing for Windows Eclipse users but it seams dumb to me that this fix had to be done in the first place.Anonymoushttps://www.blogger.com/profile/12802434762732581606noreply@blogger.com