mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA Flex projects conversion: more intelligent Flex libraries detection
This commit is contained in:
@@ -64,4 +64,6 @@ public interface ConversionContext {
|
||||
|
||||
ProjectLibrariesSettings getProjectLibrariesSettings() throws CannotConvertException;
|
||||
|
||||
@NotNull
|
||||
String expandPath(@NotNull String path);
|
||||
}
|
||||
|
||||
@@ -159,6 +159,13 @@ public class ConversionContextImpl implements ConversionContext {
|
||||
return map;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NotNull
|
||||
public String expandPath(@NotNull String path) {
|
||||
ExpandMacroToPathMap map = createExpandMacroMap(null);
|
||||
return map.substitute(path, SystemInfo.isFileSystemCaseSensitive);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public String collapsePath(@NotNull String path) {
|
||||
ReplacePathToMacroMap map = createCollapseMacroMap(PathMacrosImpl.PROJECT_DIR_MACRO_NAME, myProjectBaseDir);
|
||||
|
||||
Reference in New Issue
Block a user