Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development path broken under windows #5

Open
schmalzing opened this issue Jun 23, 2024 · 0 comments
Open

Development path broken under windows #5

schmalzing opened this issue Jun 23, 2024 · 0 comments

Comments

@schmalzing
Copy link

schmalzing commented Jun 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant