Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » JGit initialization to a shared folder path fails in java 11(If Jgit initialized to a shared folder through Jgit, it fails)
JGit initialization to a shared folder path fails in java 11 [message #1858180] Mon, 20 March 2023 08:58
Eclipse UserFriend
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.
Previous Topic:Sparse Checkout support
Next Topic:Show Conflict Files using JGIT
Goto Forum:
  


Current Time: Mon May 19 11:38:50 EDT 2025

Powered by FUDForum. Page generated in 0.03011 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top