Skip to content

Commit

Permalink
Fix #185: Make the jrxml path absolute (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
bulldog98 authored Mar 5, 2025
1 parent 684dc5f commit 6d0bc36
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,8 @@ void compileReports(ReportBuildTimeConfig config, List<ReportFileBuildItem> repo
if (shouldUpdateFile(item.getPath(), outputFilePath)) {
Log.infof("Compiling %s into %s", item.getPath().toString(), outputFile);

try (InputStream inputStream = JRLoader.getLocationInputStream(item.getPath().toString());
try (InputStream inputStream = JRLoader
.getLocationInputStream(item.getPath().toAbsolutePath().toString());
ByteArrayOutputStream outputStream = new ByteArrayOutputStream()) {

// Compile the report
Expand Down

0 comments on commit 6d0bc36

Please sign in to comment.