Skip to content

Some path in resources of AddModule command does not work on Windows #167

@olukas

Description

@olukas

Path with empty spaces does not work in resources of AddModule command on Windows. When path with directory "directory with spaces" is used then it fails on Windows due to exception like:
org.jboss.as.cli.CommandLineException: Failed to locate C:\Users\HUDSON~1.PJE\AppData\Local\Temp\junit4842574964536680649\directory\ with\ spaces\testJar1.jar
(because \ is separator on Windows).

As part of this issue also AddRemoveModuleTest should be fixed for Windows. It currently fails due to this issue as well as due to using resource delimiter : (which breaks Windows paths like C:\...).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions