diff --git a/java_tools/configuration_definition/src/main/java/com/rusefi/ConfigDefinition.java b/java_tools/configuration_definition/src/main/java/com/rusefi/ConfigDefinition.java index 1b9aa3e2a0..d8c44ff9c3 100644 --- a/java_tools/configuration_definition/src/main/java/com/rusefi/ConfigDefinition.java +++ b/java_tools/configuration_definition/src/main/java/com/rusefi/ConfigDefinition.java @@ -133,7 +133,7 @@ public class ConfigDefinition { break; case KEY_SIGNATURE: signaturePrependFile = args[i + 1]; - state.addPrependNotInput(signaturePrependFile); + state.addPostponedPrependNotInput(signaturePrependFile); // don't add this file to the 'inputFiles' break; case KEY_SIGNATURE_DESTINATION: diff --git a/java_tools/configuration_definition_base/src/main/java/com/rusefi/ReaderState.java b/java_tools/configuration_definition_base/src/main/java/com/rusefi/ReaderState.java index e44b9a543b..385241fc60 100644 --- a/java_tools/configuration_definition_base/src/main/java/com/rusefi/ReaderState.java +++ b/java_tools/configuration_definition_base/src/main/java/com/rusefi/ReaderState.java @@ -4,7 +4,6 @@ import com.rusefi.output.ConfigStructure; import com.rusefi.output.ConfigurationConsumer; import java.io.IOException; -import java.util.List; import java.util.Map; public interface ReaderState { @@ -22,7 +21,7 @@ public interface ReaderState { void addPrepend(String fileName); - void addPrependNotInput(String fileName); + void addPostponedPrependNotInput(String fileName); void addDestination(ConfigurationConsumer... consumers); diff --git a/java_tools/configuration_definition_base/src/main/java/com/rusefi/ReaderStateImpl.java b/java_tools/configuration_definition_base/src/main/java/com/rusefi/ReaderStateImpl.java index 0fbc0c2e8b..6cd99e30bb 100644 --- a/java_tools/configuration_definition_base/src/main/java/com/rusefi/ReaderStateImpl.java +++ b/java_tools/configuration_definition_base/src/main/java/com/rusefi/ReaderStateImpl.java @@ -415,12 +415,12 @@ public class ReaderStateImpl implements ReaderState { // see LiveDataProcessor use-case with dynamic prepend usage return; } + variableRegistry.readPrependValues(fileName, false); inputFiles.add(fileName); - addPrependNotInput(fileName); } @Override - public void addPrependNotInput(String fileName) { + public void addPostponedPrependNotInput(String fileName) { prependFiles.add(fileName); }