Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/condit ion Os.java

2003-07-21 Thread Stefan Bodewig
On Fri, 18 Jul 2003, Knut Wannheden <[EMAIL PROTECTED]> wrote: > On OpenVMS System.getProperty("path.separator") returns ":". This > causes the Os condition to classify OpenVMS as Unix. Thanks, fixed, at least I think so. > Even adding two lines can result in bugs :-) But they are easier caugh

RE: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/condit ion Os.java

2003-07-18 Thread Wannheden, Knut
Stefan, On OpenVMS System.getProperty("path.separator") returns ":". This causes the Os condition to classify OpenVMS as Unix. So the check for OpenVMS needs to take place before the one for Unix. And you have to guard the check for Unix against OpenVMS in the same manner as you do against Mac.