### Eclipse Workspace Patch 1.0 #P org.eclipse.pde.core Index: src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java,v retrieving revision 1.24 diff -u -r1.24 ProductExportOperation.java --- src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java 2 Jan 2008 19:58:41 -0000 1.24 +++ src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java 31 Jan 2008 10:43:32 -0000 @@ -149,12 +149,8 @@ buffer.append("absolute:file:"); //$NON-NLS-1$ buffer.append(new File(homeDir, "startup.jar").getAbsolutePath()); //$NON-NLS-1$ if (!TargetPlatform.getOS().equals("macosx")) { //$NON-NLS-1$ - File file = new File(homeDir, "eclipse"); //$NON-NLS-1$ - if (file.exists()) { - buffer.append(",absolute:file:"); //$NON-NLS-1$ - buffer.append(file.getAbsolutePath()); - } - file = new File(homeDir, "eclipse.exe"); //$NON-NLS-1$ + String launcherPath = System.getProperties().get("eclipse.launcher").toString(); //$NON-NLS-1$ + File file = new File(launcherPath); //$NON-NLS-1$ if (file.exists()) { buffer.append(",absolute:file:"); //$NON-NLS-1$ buffer.append(file.getAbsolutePath());