Skip to content

Development path broken under windows #5

@schmalzing

Description

@schmalzing

The robocodeDownload task also adds the robots\bin to the robocode development path. Generally great, just this does not work on windows. The buildDir under windows uses single backslashes (e.g., C:\MyDoc\MyProject/robocode/robots/bin). Robocode interprets these as escape characters, which leads to some IOExceptions when starting robocode and robocode not detecting the robots. That is, the development path must use double backslashes under windows (e.g., C:\\MyDoc\\MyProject\\robocode\\robots\\bin). I would expect the download task to add the correcly escaped development path even under windows.

Note: Tested for 0.1.1, but as far as I can tell the error should exist on 0.2.0 as well, the code did not chance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions