build.ows.git.xml 910 B

1234567891011121314151617181920
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:ows="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/openwebspider/ows.xsd"
  3. basedir="../../."
  4. default="git"
  5. name="ows.from_git">
  6. <description>p5suis:say Created function openwebspider with prefix ows by p5ant module from_git</description>
  7. <include as="PRODUCT" file="build.ows.PRODUCT.xml"/>
  8. <property location="${ows.repository}/ows.git" name="ows.git"/>
  9. <property name="ows.git.url" value="https://github.com/shen139/openwebspider.git"/>
  10. <condition property="ows.git.if.exists">
  11. <available file="${ows.repository}/ows.git"/>
  12. </condition>
  13. <target depends="git" name="default"/>
  14. <target name="git" unless="ows.git.if.exists">
  15. <mkdir dir="${ows.git}"/>
  16. <exec dir="${ows.git}" executable="git">
  17. <arg line="clone ${ows.git.url}"/>
  18. </exec>
  19. </target>
  20. </project>