| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns:p5exslt="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/exslt/p5exslt.xsd"
- basedir="../../."
- default="clone"
- name="p5exslt.git">
- <description>p5suis:say Created function exslt with prefix p5exslt by p5ant module from_git</description>
- <include as="PRODUCT" file="build.p5exslt.PRODUCT.xml"/>
- <property location="${p5exslt.repository}/p5exslt.git" name="p5exslt.git"/>
- <property name="p5exslt.git.url"
- value="https://github.com/bzerangue/exslt.org.git"/>
-
-
- <target depends="clone,math,func" name="default"/>
-
- <condition property="p5exslt.git.if.exists">
- <available file="${p5exslt.repository}/p5exslt.git"/>
- </condition>
-
- <target description="To git clone from ${p5exslt.git.url}"
- name="clone"
- unless="p5exslt.git.if.exists">
- <mkdir dir="${p5exslt.git}"/>
- <exec dir="${p5exslt.git}" executable="git">
- <arg line="clone ${p5exslt.git.url}"/>
- </exec>
- </target>
-
- <property name="p5exslt.INSTALL.git.math" location="${p5exslt.git}/exslt.org/math"/>
-
- <condition property="p5exslt.math.if.exists">
- <available file="${p5exslt.math}"/>
- </condition>
-
- <target name="math" depends="clone" unless="p5exslt.math.if.exists">
- <copy todir="${p5exslt.math}">
- <fileset dir="${p5exslt.INSTALL.git.math}"/>
- </copy>
- </target>
-
-
- <property name="p5exslt.INSTALL.git.func" location="${p5exslt.git}/exslt.org/func"/>
-
- <condition property="p5exslt.func.if.exists">
- <available file="${p5exslt.func}"/>
- </condition>
-
- <target name="func" depends="clone" unless="p5exslt.func.if.exists">
- <copy todir="${p5exslt.func}">
- <fileset dir="${p5exslt.INSTALL.git.func}"/>
- </copy>
- </target>
-
-
- </project>
|