build_SE.check_OS.xml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project basedir="../." name="build_SE.check_OS"
  3. xmlns:p5build_SE="http://biuro.biall-net.pl/build_SE.xsd"
  4. >
  5. <condition property="build_SE.check_OS.root" value="c:\">
  6. <os family="windows" />
  7. </condition>
  8. <condition property="sbuild_SE.check_OS.rootw.root" value="/">
  9. <os family="unix" />
  10. </condition>
  11. <condition property="p5build_SE.LaunchDaemons" value="/Library/LaunchDaemons">
  12. <available file="/Library/LaunchDaemons"/>
  13. </condition>
  14. <!--Tell Ant to define the Ant Contrib tasks from the jar-->
  15. <!--<taskdef resource="net/sf/antcontrib/antcontrib.properties">
  16. <classpath>
  17. <pathelement location="path/to/ant-contrib-0.6.jar"/>
  18. </classpath>
  19. </taskdef>-->
  20. <!--Do your OS specific stuff-->
  21. <!--<target name="checkos">
  22. <if>
  23. <os family="unix"/>
  24. <then>
  25. <!-\-Do your Unix stuff-\->
  26. </then>
  27. <elseif>
  28. <os family="windows"/>
  29. <then>
  30. <!-\-Do your Windows stuff-\->
  31. </then>
  32. </elseif>
  33. </if>
  34. </target>-->
  35. </project>