Community
Participate
Working Groups
3.3 M5 The message that is generated for deprecated classpath variable initializers out of the values from the 'org.eclipse.jdt.core.classpathVariableInitializer' extension point does not adhere to UI standards: Classpath variable 'JRE_LIB' in project Tests is deprecated: 'Use the JRE System Library instead' In the UI we use ' to flag arguments. Hence the message should be: Classpath variable 'JRE_LIB' in project 'Tests' is deprecated. Use the JRE System Library instead.
I'll fix it.
"Use the JRE System Library instead" is an argument of the message. So should it be between quotes?
If we change this one, we have many others to change as well.
>"Use the JRE System Library instead" is an argument of the message. >So should it be between quotes? Technically speaking yes, but for the user it's completely irrelevant. For him it is 1. what is deprecated 2. on which Java element 3. with what needs 1. be replaced Let's start with improving this message and then fix the others step by step ;-)
> In the UI we use ' to flag arguments. Hence the message should be: > Classpath variable 'JRE_LIB' in project 'Tests' is deprecated. Use the JRE > System Library instead. I won't have the final '.'. I'll wait till Monday to release it. Your test might rely on the current error message.
I leave the ':' before the action to take since the one specified in the PR is not the only one. So it would end up as: Classpath variable 'JRE_LIB' in project 'Tests' is deprecated: Use the JRE System Library instead Is this ok ?
Created attachment 59191 [details] Proposed fix
Created attachment 59192 [details] Updated regression tests
>Is this ok ? It's beauty ;-)
IMO we should use this bug to fix heterogeneous project quoting in classpath validation messages and not just fix the last added one. It seems that I introduced this heterogeneity a long time ago while fixing bug 35567...
Created attachment 59259 [details] Proposed patch to fix all project quoting issues Note that this patch fixes only issues with classpath messages, if other messages need similar changes, we'll open a new bug...
Update summary according to final fix...
Released for 3.3 M6 in HEAD stream.
Verified for 3.3 M6 using build I20070320-0010