Determine and specify OS-specific targets in ANT scripts

When building cross-platform (different OS) sometimes we need to perform tasks that differ across OS families. This is rather simple to do with Ant-scripting. This is a skeleton structure for checking conditional-statements first and executing tasks. <target name="start">     <!– do some initial stuff here if any… –> </target> <!– Main task stuff here […]