Community
Participate
Working Groups
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 Build Identifier: WTP 3.2 M3 1. Create a project named FooEAR in your workspace 2. Now using following API launch the EAR wizard public void testEARProjectWizard(){ EarProjectWizard earWiz = new EarProjectWizard(); earWiz.getDataModel().setStringProperty(IFacetProjectCreationDataModelProperties.FACET_PROJECT_NAME, "FooEAR"); WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), earWiz); dialog.create(); dialog.getShell().setSize(750, 600); dialog.open(); } 3. You will see exception in the error log "Cannot install project facet EAR 1.4. Some version of this project facet is already installed." 4. After that even if you change the project name, you cannot finish the wizard and further exceptions are thrown. Reproducible: Always
Created attachment 151743 [details] Patch Fix is to not set the project name in underlying data structure unless it validates successfully.
code checked into HEAD