Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 139615
Collapse All | Expand All

(-)src/org/eclipse/pde/ui/launcher/EclipseApplicationLaunchConfiguration.java (-1 / +8 lines)
Lines 126-132 Link Here
126
		if (!programArgs.contains("-nosplash") && showSplash) { //$NON-NLS-1$
126
		if (!programArgs.contains("-nosplash") && showSplash) { //$NON-NLS-1$
127
			if (TargetPlatform.getTargetVersion() >= 3.1) {
127
			if (TargetPlatform.getTargetVersion() >= 3.1) {
128
				programArgs.add(0, "-launcher");  //$NON-NLS-1$
128
				programArgs.add(0, "-launcher");  //$NON-NLS-1$
129
				IPath path = ExternalModelManager.getEclipseHome().append("eclipse"); //$NON-NLS-1$
129
				
130
				IPath path = null;
131
				if ( TargetPlatform.getOS().equals("macosx") ) {
132
					path = ExternalModelManager.getEclipseHome().append("Eclipse.app/Contents/Resources/Splash.app/Contents/MacOS/eclipse"); //$NON-NLS-1$
133
				} else {
134
					path = ExternalModelManager.getEclipseHome().append("eclipse"); //$NON-NLS-1$	
135
				}
136
				
130
				programArgs.add(1, path.toOSString()); //This could be the branded launcher if we want (also this does not bring much)
137
				programArgs.add(1, path.toOSString()); //This could be the branded launcher if we want (also this does not bring much)
131
				programArgs.add(2, "-name"); //$NON-NLS-1$
138
				programArgs.add(2, "-name"); //$NON-NLS-1$
132
				programArgs.add(3, "Eclipse");	//This should be the name of the product //$NON-NLS-1$
139
				programArgs.add(3, "Eclipse");	//This should be the name of the product //$NON-NLS-1$

Return to bug 139615