Affects Version/s: 7.0.X, Master
Component/s: Dev Tools > Source Formatter
- Add a new key to portal-impl/src/content/language.properties
- Go to $liferay_portal/portal-impl and run ant build-lang
Expected: The key is propagated to all language-properties files.
Observed: The process stops at the first language-properties file (language_ar.properties) and the following error stack appears:
The problems seems to be that the method com.liferay.lang.builder.LangBuilder._createProperties(String, String, String) tries to match a line starting with
in the language-properties file, but this has been source-formatted via com.liferay.source.formatter.checks.PropertiesCommentsCheck to
(note the capital S).