Skip to content

Commit

Permalink
javac doesn't configure output folders of dependent projects correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Snjezana Peco <[email protected]>
  • Loading branch information
snjeza committed Dec 9, 2024
1 parent 376e448 commit c591429
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ private static void configurePaths(JavaProject javaProject, Context context, Jav
})
.collect(Collectors.toSet());

Collection<File> classpathFiles = classpathEntriesToFiles(javaProject, entry -> entry.getEntryKind() != IClasspathEntry.CPE_SOURCE && (isTest || !entry.isTest()));
Collection<File> classpathFiles = classpathEntriesToFiles(javaProject, entry -> isTest || !entry.isTest());
Collection<File> filteredFiles = classpathFiles.stream().filter(x -> x.length() != 0).toList();
fileManager.setLocation(StandardLocation.CLASS_PATH, filteredFiles);
classpathFiles.addAll(outDirectories(javaProject, entry -> isTest || !entry.isTest()));
Expand Down

0 comments on commit c591429

Please sign in to comment.