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

Bug 367258

Summary: Duplicate parameters in eclipse.ini file
Product: [Technology] EPP Reporter: Ram Venkataswamy <ram.venkataswamy>
Component: jee-packageAssignee: Project Inbox <epp.packager-inbox>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3 CC: alex-pub.eclipse, david_williams, dh_tue, jkemnade, kashihara, krzysztof.daniel, mknauer, orionllmain, sewe, steffen.pingel
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ram Venkataswamy CLA 2011-12-20 18:47:52 EST
Build Identifier: 20111215-0110

eclipse.ini contains duplicate entries of the following parameters:

--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M

Reproducible: Always

Steps to Reproduce:
- grab Juno m4 build and check eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20111107-1631.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20110908-1331
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
Comment 1 Krzysztof Daniel CLA 2011-12-21 01:58:32 EST
Eclipse 4.2 M4 GTK 64 bit has correct eclipse.ini.

Assigning to
Comment 2 Krzysztof Daniel CLA 2011-12-21 02:01:42 EST
Assigning to packaging project.

Ram, 
please specify what exactly you have downloaded (which package).
Comment 3 Markus Knauer CLA 2011-12-21 08:06:50 EST
Good to catch duplicates very soon in the Simultaneous Release cycle!

In that case it is the Java EE Windows 64-bit package:

(In reply to comment #0)
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20110908-1331
> -product
> org.eclipse.epp.package.jee.product

In the last Simultaneous Releases I did a sanity check of the settings just before the release in May/June (and I will do so again next year). 
I am assigning this to myself to fix this for the next milestone.
Comment 4 Alex Pogrebnyak CLA 2013-07-03 14:00:02 EDT
Still the case with eclipse-jee-kepler-R-win32-x86_64.zip
Comment 5 Dennis Hendriks CLA 2013-08-16 08:45:09 EDT
I also see at least 3 duplications at the wiki page that describes the 'eclipse.ini' file: http://wiki.eclipse.org/Eclipse.ini
Comment 6 Andreas Sewe CLA 2016-11-24 04:02:10 EST
(In reply to Alex Pogrebnyak from comment #4)
> Still the case with eclipse-jee-kepler-R-win32-x86_64.zip

Still the case (for --launcher.defaultAction at least) with the likely candidate for the Neon.2 RC2 EPP build: 20161124-0134_eclipse-java-neon-2-RC1-macosx.cocoa.x86_64.tar.gz:

  -startup
  ../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
  --launcher.library
  ../Eclipse/plugins /org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.400.v20160518-1444
  -product
  org.eclipse.epp.package.java.product
  --launcher.defaultAction
  openFile
  -showsplash
  org.eclipse.platform
  --launcher.defaultAction // duplicate
  openFile
  --launcher.appendVmargs
Comment 7 John Kozlov CLA 2018-05-21 02:44:30 EDT
Any progress on this issue?