From 3a497493083149871d01ee25b8c494325c699d6a Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Wed, 26 Oct 2022 22:28:46 +0200 Subject: Fix the path for JSchText.properties The paths needs to include "ssh" to match the class's package name. This resolves Caused by: TransportException: ssh://git@git.xx.com/xx/xx.git: remote hung up unexpectedly Caused by: TranslationBundleLoadingException: Loading of translation bundle failed for [org.eclipse.jgit.internal.transport.ssh.jsch.JSchText, en_US] Caused by: MissingResourceException: Can't find bundle for base name org.eclipse.jgit.internal.transport.ssh.jsch.JSchText, locale en_US Also see [1] for reference. [1]: https://github.com/oss-review-toolkit/ort/issues/5894#issuecomment-1292100687 Change-Id: Ie27b9fc1cdd1d83f8123821be42e65da59ecf49d Signed-off-by: Sebastian Schuberth --- .../org/eclipse/jgit/internal/transport/jsch/JSchText.properties | 4 ---- .../org/eclipse/jgit/internal/transport/ssh/jsch/JSchText.properties | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 org.eclipse.jgit.ssh.jsch/resources/org/eclipse/jgit/internal/transport/jsch/JSchText.properties create mode 100644 org.eclipse.jgit.ssh.jsch/resources/org/eclipse/jgit/internal/transport/ssh/jsch/JSchText.properties (limited to 'org.eclipse.jgit.ssh.jsch') diff --git a/org.eclipse.jgit.ssh.jsch/resources/org/eclipse/jgit/internal/transport/jsch/JSchText.properties b/org.eclipse.jgit.ssh.jsch/resources/org/eclipse/jgit/internal/transport/jsch/JSchText.properties deleted file mode 100644 index 529e9f488c..0000000000 --- a/org.eclipse.jgit.ssh.jsch/resources/org/eclipse/jgit/internal/transport/jsch/JSchText.properties +++ /dev/null @@ -1,4 +0,0 @@ -connectionFailed=connection failed -sshUserNameError=Jsch error: failed to set SSH user name correctly to ''{0}''; using ''{1}'' picked up from SSH config file. -transportSSHRetryInterrupt=Interrupted while waiting for retry -unknownHost=unknown host diff --git a/org.eclipse.jgit.ssh.jsch/resources/org/eclipse/jgit/internal/transport/ssh/jsch/JSchText.properties b/org.eclipse.jgit.ssh.jsch/resources/org/eclipse/jgit/internal/transport/ssh/jsch/JSchText.properties new file mode 100644 index 0000000000..529e9f488c --- /dev/null +++ b/org.eclipse.jgit.ssh.jsch/resources/org/eclipse/jgit/internal/transport/ssh/jsch/JSchText.properties @@ -0,0 +1,4 @@ +connectionFailed=connection failed +sshUserNameError=Jsch error: failed to set SSH user name correctly to ''{0}''; using ''{1}'' picked up from SSH config file. +transportSSHRetryInterrupt=Interrupted while waiting for retry +unknownHost=unknown host -- cgit v1.2.3