Likewise, under Win98 SE, ${os.name} gives "Windows 98", not
"Windows_98", so that check should be:
<target name="set-windows98" depends="set-windowsNT" if="isWindows 98">
<property name="is.Windows" value="true" />
</target>
I don't have NT handy, but at this rate, I'd put money on "Windows NT"
instead of "Windows_NT".
Will this cause problems for us schizophrenic hybrids running Cygwin?
Jeremy Leader
[EMAIL PROTECTED]
626-794-2145
At 03:34 PM 5/28/01 , Age Mooy wrote:
>I checked it on a windows 2000 server machine and it gave me the wrong
>response (ext = sh) because you assume
>that ${os.name} gives back "windows_2000" when really it gives you
>"windows 2000" (with a space). So your
>check should be:
>
><target name="set-windows2000" if="isWindows 2000">
> <property name="is.Windows" value="true" />
></target>
>
>Age
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]