| Summary: | Cannot save folder-specific settings when exporting settings | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Steven R. Brandt <sbrandt> |
| Component: | cdt-build | Assignee: | cdt-build-inbox <cdt-build-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Andrew Gvozdev <angvoz.dev> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug |
| Version: | 8.1.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Steven R. Brandt
I'm wondering how well our folder settings are working. I'm running into troubles with a compiler integration I'm working on as well. Do you get any exception in file .metadata/.log ? First, let me state that I'd like to see all the folder-specfic settings get saved when I export from the project root, and I hope that's the fix that happens. No exceptions occur in this case.
One of the things I tried, however, was exporting settings from a specific subfolder. In this case I get this exception in the log:
java.lang.ClassCastException: org.eclipse.core.internal.resources.Folder cannot be cast to org.eclipse.core.resources.IProject
at org.eclipse.cdt.internal.ui.wizards.settingswizards.ProjectSettingsWizard.addPages(ProjectSettingsWizard.java:38)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:605)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.cdt.ui.newui.ImportExportWizardButtons.launchWizard(ImportExportWizardButtons.java:87)
at org.eclipse.cdt.ui.newui.ImportExportWizardButtons.access$0(ImportExportWizardButtons.java:78)
at org.eclipse.cdt.ui.newui.ImportExportWizardButtons$2.widgetSelected(ImportExportWizardButtons.java:71)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
This report looks more and more similar to bug 341591. *** This bug has been marked as a duplicate of bug 341591 *** |