mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-144052 "path.macros.xml" only
This commit is contained in:
@@ -87,6 +87,10 @@ class ApplicationStorageManager(application: Application, pathMacroManager: Path
|
||||
|
||||
override fun dataLoadedFromProvider(storage: FileBasedStorage, element: Element?) {
|
||||
// IDEA-144052 When "Settings repository" is enabled changes in 'Path Variables' aren't saved to default path.macros.xml file causing errors in build process
|
||||
if (storage.fileSpec != "path.macros.xml") {
|
||||
return
|
||||
}
|
||||
|
||||
LOG.catchAndLog {
|
||||
if (element == null) {
|
||||
storage.file.delete()
|
||||
|
||||
@@ -29,7 +29,7 @@ import gnu.trove.THashMap
|
||||
import org.jdom.Attribute
|
||||
import org.jdom.Element
|
||||
|
||||
abstract class XmlElementStorage protected constructor(protected val fileSpec: String,
|
||||
abstract class XmlElementStorage protected constructor(val fileSpec: String,
|
||||
protected val rootElementName: String?,
|
||||
protected val pathMacroSubstitutor: TrackingPathMacroSubstitutor? = null,
|
||||
roamingType: RoamingType? = RoamingType.DEFAULT,
|
||||
|
||||
Reference in New Issue
Block a user