Search in sources :

Example 16 with ExpandMacroToPathMap

use of com.intellij.openapi.components.ExpandMacroToPathMap in project intellij-plugins by JetBrains.

the class ConversionHelper method expandPaths.

public static void expandPaths(Element element) {
    ExpandMacroToPathMap map = new ExpandMacroToPathMap();
    PathMacrosImpl.getInstanceEx().addMacroExpands(map);
    map.substitute(element, SystemInfo.isFileSystemCaseSensitive, true);
}
Also used : ExpandMacroToPathMap(com.intellij.openapi.components.ExpandMacroToPathMap)

Aggregations

ExpandMacroToPathMap (com.intellij.openapi.components.ExpandMacroToPathMap)16 Element (org.jdom.Element)4 NotNull (org.jetbrains.annotations.NotNull)4 File (java.io.File)3 ReplacePathToMacroMap (com.intellij.application.options.ReplacePathToMacroMap)1 Logger (com.intellij.openapi.diagnostic.Logger)1 SystemInfo (com.intellij.openapi.util.SystemInfo)1 StringUtil (com.intellij.openapi.util.text.StringUtil)1 HashSet (com.intellij.util.containers.HashSet)1 FilenameFilter (java.io.FilenameFilter)1 IOException (java.io.IOException)1 java.util (java.util)1 Map (java.util.Map)1 TimeoutException (java.util.concurrent.TimeoutException)1 Nullable (org.jetbrains.annotations.Nullable)1 org.jetbrains.idea.eclipse (org.jetbrains.idea.eclipse)1 JpsElementFactory (org.jetbrains.jps.model.JpsElementFactory)1 org.jetbrains.jps.model.java (org.jetbrains.jps.model.java)1 JpsLibrary (org.jetbrains.jps.model.library.JpsLibrary)1 JpsLibraryReference (org.jetbrains.jps.model.library.JpsLibraryReference)1