-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Path-problem with local dependency (jar) on windows #3257
Comments
Thank you @casdtodtenhoefer for the detailed report! I created the issue in As a workaround you can upload the dependencies manually by using spectrum directly:
Looks like you've already uploaded the JAR so you will have to also upload the sha1 and md5 files as Maven will look for them and fail if it doesn't find them so something like
And you should be all set! You can now reference your legacy jar in your integrations if you enable the registry trait:
Thanks ! |
…emicolon (cherry picked from commit 89794bf)
Should be fixed in 1.9.2 (under vote) |
Hi @johnpoth, thank you for your effort. Should the problem be fixed in the new 1.9.2 nightly build? In my test the problem still occurred. Error: Error trying to upload file://../../../../../resources/legacy.jar to the Image Registry.: wrong dir format for C:\Users\Username\AppData\Local\Temp\camel-k892884173\maven_legacy.jar_md5:. (expected "local:remote") Operator version: 1.9.2-nightly Am I doing anything wrong? |
Hi @casdtodtenhoefer! Sorry looks like I forgot to handle the checksum files; unfortunately I don't have a windows machine nearby to test this... I've added the fix on my branch Would you be able to test the fix ? You should just need to clone the repo and build the client Thanks again for the feedback ! |
…n Windows (cherry picked from commit 0ec183b)
…n Windows (cherry picked from commit 0ec183b) (cherry picked from commit apache/camel-k@6e946b656)
…gistry on Windows" This reverts commit 0ec183b. Since container-tools/spectrum#8 fix is released this workaround is no longer needed.
… extra semicolon" This reverts commit 89794bf. Since container-tools/spectrum#8 fix is released this workaround is no longer needed.
… on Windows" This reverts commit 0ec183b. Since container-tools/spectrum#8 fix is released this workaround is no longer needed.
… semicolon" This reverts commit 89794bf. Since container-tools/spectrum#8 fix is released this workaround is no longer needed.
Hello,
we have problems using a local dependency, running "kamel run" on Windows (Camel K 1,9,0).
As you can see there is a problem with the windows-path. I think that the colon after the drive letter is interpreted as a delimiter.
Best Regards,
Danny
The text was updated successfully, but these errors were encountered: