-
1. Re: Anyone using Tomcat Managed containers with Windows?
aslak Jul 2, 2014 9:05 AM (in response to sfcoy)Windows support both / and \. Even mixed; c:\\drive/path\x.bat resolves fine in Windows.
*nix only supports /.
In case some other OS only support £, Path.separator should be used.
-
2. Re: Anyone using Tomcat Managed containers with Windows?
sfcoy Jul 2, 2014 9:45 AM (in response to aslak)I know that java on Windows supports both / and \.
But what about when you leave the java space?
I'm asking because an active project of mine at work is using Arquillian Tomcat Managed containers and it runs fine on various unixes.
However, a colleague tried to run it on his PC and it did not work. Unfortunately it was at the end of the day so I haven't been able to troubleshoot it.
It seems that the tomcat-users.xml file was not picked up.
And I assume you mean file.separator rather than path.separator.
-
3. Re: Anyone using Tomcat Managed containers with Windows?
aslak Jul 2, 2014 10:38 AM (in response to sfcoy)My experience is both work on Windows, regardless of Java or not.
But the correct thing to use is the provided System.property or File.separator.