JGit initialization to a shared folder path fails in java 11 [message #1858180] |
Mon, 20 March 2023 08:58 |
Eclipse User |
|
|
|
I tried initializing JGit to a shared folder.
It fails
The stack trace looks as follows:
Caused by: java.io.IOException: Creating directories for x:\sharedpath\repo\941 failed at org.eclipse.jgit.util.FileUtils.mkdirs(FileUtils.java:413) ~[org.eclipse.jgit-6.2.0.202206071550-r.jar:6.2.0.202206071550-r] at org.eclipse.jgit.internal.storage.file.FileRepository.create(FileRepository.java:230) ~[org.eclipse.jgit-6.2.0.202206071550-r.jar:6.2.0.202206071550-r] at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:103) ~[org.eclipse.jgit-6.2.0.202206071550-r.jar:6.2.0.202206071550-r]
We are using Java 11.
We have all rights including write in x:\sharedpath\repo
Instead of shared path, if i gave a local drive path c:\localpath\repo\941. It worked fine.
|
|
|
Powered by
FUDForum. Page generated in 0.03011 seconds