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 171812
Collapse All | Expand All

(-)src/org/eclipse/hyades/test/tools/ui/HTTPRecorderPreferences.java (-1 / +1 lines)
Lines 37-43 Link Here
37
		if (Platform.getOS().equals("win32"))
37
		if (Platform.getOS().equals("win32"))
38
			prefs.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"org.eclipse.hyades.test.core.RecorderApplication.InternetExplorer");//$NON-NLS-1$
38
			prefs.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"org.eclipse.hyades.test.core.RecorderApplication.InternetExplorer");//$NON-NLS-1$
39
		else
39
		else
40
			prefs.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"-1");		  //$NON-NLS-1$
40
			prefs.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"org.eclipse.hyades.test.core.RecorderApplication.Firefox");		  //$NON-NLS-1$
41
		
41
		
42
		ToolsUiPlugin.getDefault().getPreferenceStore().setDefault(UiPlugin.TEST_GENERATOR,UiPlugin.getDefault().getDefaultGeneratorID());		
42
		ToolsUiPlugin.getDefault().getPreferenceStore().setDefault(UiPlugin.TEST_GENERATOR,UiPlugin.getDefault().getDefaultGeneratorID());		
43
		prefs.setDefault(ToolsUiPlugin.PROXY_PORT,DEFAULT_PORT);		 //$NON-NLS-1$
43
		prefs.setDefault(ToolsUiPlugin.PROXY_PORT,DEFAULT_PORT);		 //$NON-NLS-1$
(-)src/org/eclipse/hyades/test/tools/ui/ToolsUiPlugin.java (-1 / +1 lines)
Lines 277-283 Link Here
277
		if (Platform.getOS().equals("win32"))
277
		if (Platform.getOS().equals("win32"))
278
			store.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"org.eclipse.hyades.test.core.RecorderApplication.InternetExplorer");//$NON-NLS-1$
278
			store.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"org.eclipse.hyades.test.core.RecorderApplication.InternetExplorer");//$NON-NLS-1$
279
		else
279
		else
280
			store.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"-1");		  //$NON-NLS-1$
280
			store.setDefault(ToolsUiPlugin.RECORDER_APP_ADAPTER,"org.eclipse.hyades.test.core.RecorderApplication.Firefox");		  //$NON-NLS-1$
281
		
281
		
282
		ToolsUiPlugin.getDefault().getPreferenceStore().setDefault(UiPlugin.TEST_GENERATOR,UiPlugin.getDefault().getDefaultGeneratorID());		
282
		ToolsUiPlugin.getDefault().getPreferenceStore().setDefault(UiPlugin.TEST_GENERATOR,UiPlugin.getDefault().getDefaultGeneratorID());		
283
		store.setDefault(ToolsUiPlugin.PROXY_PORT,DEFAULT_PORT);		 //$NON-NLS-1$
283
		store.setDefault(ToolsUiPlugin.PROXY_PORT,DEFAULT_PORT);		 //$NON-NLS-1$
(-)src/org/eclipse/hyades/execution/recorder/local/appadapters/FirefoxPrefs.java (-1 / +1 lines)
Lines 1340-1346 Link Here
1340
				return "";
1340
				return "";
1341
		} else if (currentOS.equals("linux")) {
1341
		} else if (currentOS.equals("linux")) {
1342
			// bugzilla 133959 mdd make sure default it valid
1342
			// bugzilla 133959 mdd make sure default it valid
1343
			File browserApp = new File(WindowsLaunchPath);
1343
			File browserApp = new File(LinuxLaunchPath);
1344
			if (browserApp.exists())
1344
			if (browserApp.exists())
1345
				return LinuxLaunchPath;
1345
				return LinuxLaunchPath;
1346
			else
1346
			else
(-)src/org/eclipse/hyades/execution/recorder/local/appadapters/FirefoxAdapter.java (-1 / +7 lines)
Lines 315-320 Link Here
315
	}
315
	}
316
	
316
	
317
	public void setApplicationPath(String str) {
317
	public void setApplicationPath(String str) {
318
		TestCorePlugin.getDefault().getPluginPreferences().setValue(PREFERENCE_PATH, str);
318
		if ( (str != null) && str.length() > 0) {
319
			TestCorePlugin.getDefault().getPluginPreferences().setValue(PREFERENCE_PATH, str);
320
		}
321
		else {
322
			String newPath = getDefaultApplicationPath();
323
			TestCorePlugin.getDefault().getPluginPreferences().setValue(PREFERENCE_PATH, str);
324
		}
319
	}
325
	}
320
}
326
}

Return to bug 171812