only:custom FW repos code generation process #5817

This commit is contained in:
rusefillc 2023-12-20 00:45:02 -05:00
parent 638069375a
commit af8c30c80e
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ public class TSProjectConsumer implements ConfigurationConsumer {
SystemOut.println("Got " + tsContent.getPrefix().length() + "/" + tsContent.getPostfix().length() + " of " + TS_FILE_INPUT_NAME);
// File.getPath() would eliminate potential separator at the end of the path
String fileName = getTsFileOutputName(new File(tsPath).getPath());
String fileName = getTsFileOutputName(new File(ConfigDefinitionRootOutputFolder.getValue() + tsPath).getPath());
Output tsHeader = new LazyFileImpl(fileName);
writeContent(fieldsSection, tsContent, tsHeader);
}

View File

@ -373,8 +373,8 @@ public class ReaderStateImpl implements ReaderState {
}
@Override
public void addCHeaderDestination(String cHeader) {
destinations.add(new CHeaderConsumer(this, cHeader, withC_Defines, fileFactory));
public void addCHeaderDestination(String cHeaderFileName) {
destinations.add(new CHeaderConsumer(this, ConfigDefinitionRootOutputFolder.getValue() + cHeaderFileName, withC_Defines, fileFactory));
}
public void addJavaDestination(String fileName) {