Skip to content

Commit

Permalink
Fix #405 - StorageHelper incorrectly assumes
Browse files Browse the repository at this point in the history
IJavaProject.getOutputLocation() returns a project relative path
  • Loading branch information
Christoph Läubrich committed May 15, 2020
1 parent 05d723a commit 591b3b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static IFolder getOutputFolder(IProject project)
IFolder folder;
if (project.hasNature(JavaCore.NATURE_ID)) {
IJavaProject javaProject = JavaCore.create(project);
folder = project.getFolder(javaProject.getOutputLocation()).getFolder(OUTPUT_FOLDER);
folder = project.getWorkspace().getRoot().getFolder(javaProject.getOutputLocation()).getFolder(OUTPUT_FOLDER);
} else {
folder = project.getFolder(OUTPUT_FOLDER);
}
Expand Down

0 comments on commit 591b3b0

Please sign in to comment.