Community
Participate
Working Groups
Created attachment 132090 [details] ear DD node see the screenshot. Deployment Descriptor root node is not externalized.
Created attachment 133299 [details] Externalized DD Tree
Created attachment 133301 [details] Externalized DD Tree Node In the previous patch, there were changes not applicable to this issue.
Created attachment 133305 [details] refined
PMC Review requested due to UI change In short every "Deployment Descriptor" node is externalized, except for EAR 5.0 projects. The fix is simply externalizes the EAR DD node.
The suggested approach for label externalization does not seems to be the best one. Concatenation of externalized string with a dynamic value can cause problems in some languages when the label is later localized. Instead labels should be externalized with parameters, i.e. "Deployment Descriptor: {0}".
Created attachment 133334 [details] patch I have change the value of Messeges.DEPLOYMENT_DESCRIPTOR to "Deployment Descriptor: {0}".
Petya, this is much better. One last comment from my side. You should use NLS.bind() instead of MessageFormat.format(). Although the result may look the same, NLS.bind() contains some additional error handling that fits better to the Eclipse environment.
Created attachment 133338 [details] patch I've changed MessageFormat.format() to NLS.bind().
This is OK now.
committed and released in head.