stataru8 commented on code in PR #417:
URL: https://github.com/apache/camel-karaf/pull/417#discussion_r1670861572


##########
tests/camel-integration-test/src/main/java/org/apache/karaf/camel/itests/AbstractCamelRouteWithBundleITest.java:
##########
@@ -41,7 +43,8 @@ protected List<String> installRequiredBundles() throws 
Exception {
             throw new IllegalArgumentException("The system property 
project.version must be set to the version of the " +
                     "test bundle to install or the method getTestBundleVersion 
must be overridden to provide the version");
         }
-        installBundle("file://%s/%s-%s.jar".formatted(getBaseDir(), 
testBundleName, testBundleVersion), true);
+        Path bundlePath = Paths.get("%s/%s-%s.jar".formatted(getBaseDir(), 
testBundleName, testBundleVersion));
+        installBundle(bundlePath.toUri().toString(), true);

Review Comment:
   To fix this, I would need to use `file:///C:\Users...` instead of 
`file://C:\Users...`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to