Skip to content

Commit

Permalink
Fixed the handling of the module instance directory path.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelRoeder committed Aug 23, 2023
1 parent 8cef65f commit 9881430
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,11 @@ public static void main(String[] args) {
if (!sharedDir.endsWith(File.separator)) {
sharedDir += File.separator;
}
File localOutputDir = new File(EnexaPathUtils.translateEnexa2LocalPath(outputDir, sharedDir));
File outputFile = null;
try (StreamingTransformator transformator = StreamingTransformator.builder().setOutputFormat(outputLang)
// .setCompression(compression)
// .setOutputFileName(outputFile.getName())
.setOutputDirectory(localOutputDir).build();) {
.setOutputDirectory(new File(outputDir)).build();) {
for (Resource sourceFile : sourceFiles) {
addFile(sourceFile, parameterModel, sharedDir, transformator);
}
Expand Down

0 comments on commit 9881430

Please sign in to comment.