-
Bug
-
Resolution: Done
-
Major
-
camel-k-1.8
-
None
-
False
-
None
-
False
-
%
-
Todo
From failing test
https://fuse-next-jenkins-csb-fuse-qe.apps.ocp-c1.prod.psi.redhat.com/job/camel-k/job/1.8/job/cli-win/12/console
https://github.com/jboss-fuse/camel-k/blob/release-1.8.x/e2e/common/cli/dev_mode_test.go#L112
Command
kamel run file.groovy --dev --resource file:folder\tempfile@/tmp/file.txt
will fail with error:
Warn: --resource file:folder\tempfile@/tmp/file.txt has been deprecated. You should use --resource file:file:folder\tempfile@/tmp/file.txt instead. Error: could not match config, secret or file configuration as file:file:folder\tempfile@/tmp/file.txt
If there is a Linux path (/ instead of "\" ) or if there is no path (just filename) the command works as expected i.e:
kamel run file.groovy --dev --resource file:folder/tempfile@/tmp/file.txt kamel run file.groovy --dev --resource file:tempfile@/tmp/file.txt
It looks like the command cannot handle Windows paths only Linux ones.
The same test works as expected for rhel and mac binaries.
- is documented by
-
FUSEDOC-5001 Add documentation note regarding windows paths in --resource option
- Verified