[
https://issues.apache.org/jira/browse/CAMEL-22149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-22149.
---------------------------------
Fix Version/s: 4.19.0
(was: 4.x)
Resolution: Fixed
Resolving: the work was merged in #21493 (first released in 4.19.0), with the
follow-ups CAMEL-22798 and CAMEL-22989. The camel-jbang-it tests can run the
commands on the Windows host and exclude the ones that need containers or Unix
commands (see the README of the module). No one has been able to test it on
Windows since; please open a new ticket if a test fails there.
[~mcarlett] thanks for the work.
_Claude Code on behalf of davsclaus_
> Allow Camel JBang IT test to be built and launched on Windows
> -------------------------------------------------------------
>
> Key: CAMEL-22149
> URL: https://issues.apache.org/jira/browse/CAMEL-22149
> Project: Camel
> Issue Type: Test
> Components: camel-jbang, tests
> Affects Versions: 4.12.0
> Reporter: Aurélien Pupier
> Assignee: Marco Carletti
> Priority: Minor
> Fix For: 4.19.0
>
>
> current failure:
> {noformat}
> java.lang.ExceptionInInitializerError
> at
> org.apache.camel.test.infra.cli.services.CliLocalContainerService.<init>(CliLocalContainerService.java:62)
> at
> org.apache.camel.test.infra.cli.services.CliLocalContainerService.<init>(CliLocalContainerService.java:57)
> at
> org.apache.camel.test.infra.common.services.SimpleTestServiceBuilder.build(SimpleTestServiceBuilder.java:76)
> at
> org.apache.camel.test.infra.cli.services.CliServiceFactory.createService(CliServiceFactory.java:33)
> at
> org.apache.camel.test.infra.cli.it.AbstractTestSupport.execute(AbstractTestSupport.java:27)
> at
> org.apache.camel.test.infra.cli.it.CliConfigITCase.setJBangVersionTest(CliConfigITCase.java:36)
> at java.base/java.lang.reflect.Method.invoke(Method.java:568)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
> Caused by: java.lang.UnsupportedOperationException: View 'unix' not available
> at
> java.base/sun.nio.fs.AbstractFileSystemProvider.readAttributes(AbstractFileSystemProvider.java:93)
> at java.base/java.nio.file.Files.readAttributes(Files.java:2084)
> at java.base/java.nio.file.Files.getAttribute(Files.java:1983)
> at
> org.apache.camel.test.infra.cli.services.CliBuiltContainer.<clinit>(CliBuiltContainer.java:64)
> ... 9 more
> {noformat}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)