Skip to content

Commit 0b54646

Browse files
committed
Fixes #731 - java.nio.file.NoSuchFileException
Signed-off-by: Rob Stryker <rob@oxbeef.net>
1 parent 601ee03 commit 0b54646

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

framework/bundles/org.jboss.tools.rsp.server.spi/src/main/java/org/jboss/tools/rsp/server/spi/publishing/AbstractFilesystemPublishController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,7 @@ public FileVisitResult preVisitDirectory(final Path dir,
452452
final BasicFileAttributes attrs) throws IOException {
453453
if (sourcePath == null) {
454454
sourcePath = dir;
455+
Files.createDirectories(targetPath);
455456
} else {
456457
Files.createDirectories(targetPath.resolve(sourcePath
457458
.relativize(dir)));

0 commit comments

Comments
 (0)