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

portability #28

Open
brosert opened this issue Oct 21, 2019 · 0 comments
Open

portability #28

brosert opened this issue Oct 21, 2019 · 0 comments

Comments

@brosert
Copy link

brosert commented Oct 21, 2019

Have been attempting to use on windows, however file/directory separator defaults to the slash used in linux.
Is it possible to look into (as best as possible) supporting Windows?
eg, in:
src/main/java/stroom/proxy/util/web/ServletContextUtil.java

final String[] parts = fullPath.split("/");

could be replaced with:

final String[] parts = fullPath.split(FileSystem.getSeparator());

Will report others if/as I encounter them

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