From 31544c1a8cd2ec1f7c22f560283911948e81749f Mon Sep 17 00:00:00 2001 From: Florian Bossert Date: Wed, 7 Aug 2024 06:56:09 +0200 Subject: [PATCH] Actually use look for rules in the specified folder --- .../extraction/rules/ProjectSpecificRulesProxy.xtend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.palladiosimulator.retriever.extraction.rules/src/org/palladiosimulator/retriever/extraction/rules/ProjectSpecificRulesProxy.xtend b/bundles/org.palladiosimulator.retriever.extraction.rules/src/org/palladiosimulator/retriever/extraction/rules/ProjectSpecificRulesProxy.xtend index b3f18e20..67b17bf6 100644 --- a/bundles/org.palladiosimulator.retriever.extraction.rules/src/org/palladiosimulator/retriever/extraction/rules/ProjectSpecificRulesProxy.xtend +++ b/bundles/org.palladiosimulator.retriever.extraction.rules/src/org/palladiosimulator/retriever/extraction/rules/ProjectSpecificRulesProxy.xtend @@ -54,8 +54,8 @@ class ProjectSpecificRulesProxy implements Rule { val configuredValue = config.getConfig(Rule).getConfig(RULE_ID, RULE_PATH_KEY) if (configuredValue !== null && !configuredValue.blank) { return new File(configuredValue) - } else if (config.getOutputFolder() !== null) { - val localURI = CommonPlugin.asLocalURI(config.getOutputFolder()) + } else if (config.rulesFolder !== null) { + val localURI = CommonPlugin.asLocalURI(config.rulesFolder) return new File(localURI.devicePath()) } throw new IllegalArgumentException("No path for project-specific rules is specified");