Hi, I would like to set the values of properties' names differently based on the OS where the build file would run. Is this already covered ?
Basically, I would like to have something as follows. The os tag has values set in the same way as it happens with os attribute in exec task. In the exec task shown below, the properties are automatically set based on the OS. <Os name="Unix"> <property name="foo" location="/usr/bin/foo"/> <property name="foo.home" location="/etc/config/foo.config"/> </Os> <Os name="Windows"> <property name="foo" location="C:\foo.exe"/> <property name="foo.home" location="C:\foo\foo.config"/> </Os> <exec executable="${foo}><arg value="${foo.home}"/></exec> N.