Skip to content

Commit

Permalink
Add output folder to classpath (eclipse-jdt#1006)
Browse files Browse the repository at this point in the history
Signed-off-by: Snjezana Peco <[email protected]>
  • Loading branch information
snjeza authored Dec 2, 2024
1 parent f02d5a8 commit 86b18e1
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,12 @@ private static Collection<File> classpathEntriesToFiles(JavaProject project, Pre
try {
LinkedHashSet<File> res = new LinkedHashSet<>();
ArrayList<IClasspathEntry> seen = new ArrayList<>();
if (project.getModuleDescription() == null) {
IPath outputLocation = project.getOutputLocation();
if (outputLocation != null) {
addPath(project, outputLocation, res);
}
}
Queue<IClasspathEntry> toProcess = new LinkedList<>();
toProcess.addAll(Arrays.asList(project.resolveClasspath(project.getExpandedClasspath())));
while (!toProcess.isEmpty()) {
Expand Down

0 comments on commit 86b18e1

Please sign in to comment.