Community
Participate
Working Groups
Build Identifier: WTP 3.2.4 creating a module (as DWP or EJB) when you select an EAR. The ear that is specified by default in the wizard is not the ear that was selected, when you have EARs of different versions in your workspace, the EAR with the higher version is the one specified. Reproducible: Always Steps to Reproduce: 1.Create an EAR of version 1.4. 1.Create an EAR of version 5. 2.Select the EAR 1.4 and create a module (as DWP or EJB) when you select an EAR. The ear that is specified by default in the wizard is not the EAR that was selected.
Created attachment 196053 [details] This Patch pre-sets the selected EAR name in the wizard
approve
Isreal - Roberto helped me review these changes.. and caught a couple issues When setting a property, normally it is not necessary to add a property change event because this is called as part of the set.... + j2eeModel.setProperty(IJ2EEModuleFacetInstallDataModelProperties.EAR_PROJECT_NAME, earName); + j2eeModel.notifyPropertyChange(IJ2EEModuleFacetInstallDataModelProperties.EAR_PROJECT_NAME, IDataModel.VALID_VALUES_CHG); And... can you fix the spelling error: "getSlection()"
Created attachment 196118 [details] Corrected Patch
approved
The second, corrected patch was committed to R3_2_maintenance for WTP 3.2.5. I will keep this defect open to until branch for 3.3.1 is available to commit to 3.3.1 and HEAD
Committed to HEAD. That will cover WTP 3.3.1 and 3.4