Bug 59030 Where did exit code 15 go?
Build: I-20040313 Once upon a time, if you launch Eclipse on a workspace that is already in use, the launch used to fail with exit code 15. The runtime would then display an informative message. Similarly, in the runtime workbench situation, PDE would display a message like: "Launch failed because the the workspace associated with the launch is currently in use". Right now, code 15 is gone. The launch will terminate with exit code 0 (of all things) with an error message from the runtime saying: "Error in runtime; workspace cannot be set. Exiting". The old behavior was more informative and more delicate. Also if it's an error as the dialog says, why is the exit code 0?
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEApplication.java
/*******************************************************************************
 * Copyright (c) 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/