ant to detect FreeBSD

ant, freebsd, java

Solution

Would using `uname -a` be good....you can do it this way....

uname -a | grep FreeBSD

Problem

Is there a way to detect FreeBSD with ant. I used `os.name` it shows it as Linux. I want to differentiate between FreeBSD and Linux.

Original source