void (@NotNull JpsGlobal global, @NotNull Element componentTag) { JpsPathVariablesConfiguration configuration = global.getContainer().setChild(PATH_VARIABLES_ROLE, new JpsPathVariablesConfigurationImpl()); for (Element macroTag : JDOMUtil.getChildren(componentTag, MACRO_TAG)) { String name = macroTag.getAttributeValue(NAME_ATTRIBUTE); String value = macroTag.getAttributeValue(VALUE_ATTRIBUTE); if (name != null && value != null) { configuration.addPathVariable(name, StringUtil.trimEnd(FileUtil.toSystemIndependentName(value), "/")); } } }