|
@@ -0,0 +1,87 @@
|
|
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
+<project xmlns:automation_driven="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd"
|
|
|
|
|
+ xmlns:p5xsl="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd"
|
|
|
|
|
+ basedir="../../."
|
|
|
|
|
+ default="PRODUCT"
|
|
|
|
|
+ name="automation_driven.PRODUCT">
|
|
|
|
|
+ <description>p5suis:say Created function automation_driven with prefix automation_driven by p5ant module</description>
|
|
|
|
|
+ <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
|
|
|
|
|
+ <condition property="automation_driven.PRODUCT.ifdef.parent"
|
|
|
|
|
+ taskname="automation_driven.parent.PRODUCT.ifdef">
|
|
|
|
|
+ <isset property="WPS_Functions.PRODUCT.name"/>
|
|
|
|
|
+ </condition>
|
|
|
|
|
+ <property name="automation_driven.PRODUCT.name"
|
|
|
|
|
+ value="${WPS_Functions.PRODUCT.name}.automation_driven"/>
|
|
|
|
|
+ <property name="automation_driven.PRODUCT.vendor-domain"
|
|
|
|
|
+ value="${WPS_Functions.PRODUCT.name}.automation_driven"/>
|
|
|
|
|
+ <property name="automation_driven.basedir"
|
|
|
|
|
+ value="${WPS_Functions.basedir}/automation_driven"/>
|
|
|
|
|
+ <property name="automation_driven.build.xml"
|
|
|
|
|
+ value="${automation_driven.basedir}/build_automation_driven.xml"/>
|
|
|
|
|
+ <property name="automation_driven.repository"
|
|
|
|
|
+ value="${WPS_Functions.repository}/automation_driven"/>
|
|
|
|
|
+ <property name="automation_driven.install"
|
|
|
|
|
+ value="${automation_driven.basedir}/install"/>
|
|
|
|
|
+ <property name="automation_driven.temp"
|
|
|
|
|
+ location="${WPS_Functions.temp}/automation_driven"/>
|
|
|
|
|
+ <property name="automation_driven.xsl"
|
|
|
|
|
+ location="${automation_driven.basedir}/automation_driven.xsl"/>
|
|
|
|
|
+ <property name="automation_driven.xsd"
|
|
|
|
|
+ location="${automation_driven.basedir}/automation_driven.xsd"/>
|
|
|
|
|
+ <property name="automation_driven.include.structure.xml"
|
|
|
|
|
+ location="${automation_driven.basedir}/automation_driven.include.structure.xml"/>
|
|
|
|
|
+ <property name="automation_driven.include.xsl.p5xsls.xml"
|
|
|
|
|
+ location="${automation_driven.basedir}/automation_driven.include.xsl.p5xsls.xml"/>
|
|
|
|
|
+ <property name="automation_driven.install_example"
|
|
|
|
|
+ location="${automation_driven.repository}/install_example.file"/>
|
|
|
|
|
+ <property name="automation_driven.git"
|
|
|
|
|
+ location="${automation_driven.repository}/automation_driven.git"/>
|
|
|
|
|
+ <property name="automation_driven.from_url"
|
|
|
|
|
+ location="${automation_driven.repository}/automation_driven.from_url"/>
|
|
|
|
|
+ <property name="automation_driven.module"
|
|
|
|
|
+ location="${automation_driven.repository}/automation_driven.module"/>
|
|
|
|
|
+ <target name="PRODUCT"
|
|
|
|
|
+ depends="basedir,p5xsls.xml"
|
|
|
|
|
+ description="to create basedir, includes and install"/>
|
|
|
|
|
+ <target name="basedir" description="to create local dirs">
|
|
|
|
|
+ <propertyset id="automation_driven.local.properties">
|
|
|
|
|
+ <propertyref prefix="automation_driven"/>
|
|
|
|
|
+ <mapper from="automation_driven.*" to="local.*" type="glob"/>
|
|
|
|
|
+ </propertyset>
|
|
|
|
|
+ <antcall inheritall="false" target="WPS_Functions.basedir.p5bws:dirs">
|
|
|
|
|
+ <propertyset refid="automation_driven.local.properties"/>
|
|
|
|
|
+ </antcall>
|
|
|
|
|
+ </target>
|
|
|
|
|
+ <target name="clean" description="To delete all temp and repository">
|
|
|
|
|
+ <antcall inheritall="false" target="WPS_Functions.basedir.p5bws:dirs.clean">
|
|
|
|
|
+ <propertyset refid="automation_driven.local.properties"/>
|
|
|
|
|
+ </antcall>
|
|
|
|
|
+ </target>
|
|
|
|
|
+ <target name="clean.temp" description="To delete all temp and repository">
|
|
|
|
|
+ <antcall inheritall="false"
|
|
|
|
|
+ target="WPS_Functions.basedir.p5bw.p5bws:dirs.temp.clean">
|
|
|
|
|
+ <propertyset refid="automation_driven.local.properties"/>
|
|
|
|
|
+ </antcall>
|
|
|
|
|
+ </target>
|
|
|
|
|
+ <target name="parent.PRODUCT.ifdef"
|
|
|
|
|
+ unless="automation_driven.WPS_Functions.PRODUCT.ifdef.parent">
|
|
|
|
|
+ <fail>There is not set correct parent PRODUCT from expected file="../build.WPS_Functions.PRODUCT.xml"</fail>
|
|
|
|
|
+ </target>
|
|
|
|
|
+ <target name="p5xsls.xml" depends="basedir">
|
|
|
|
|
+ <description>
|
|
|
|
|
+ TODO to be fixed by xslt to allow dynamic create of multi include xsl templates
|
|
|
|
|
+ </description>
|
|
|
|
|
+ <echoxml namespacepolicy="elementsOnly"
|
|
|
|
|
+ file="${automation_driven.include.xsl.p5xsls.xml}">
|
|
|
|
|
+ <stylesheet_buildlist xmlns="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xsl_interface/xsl_interface.xsd">
|
|
|
|
|
+ <namespaces.list>
|
|
|
|
|
+ <namespaces.list.namespace prefix="automation_driven"
|
|
|
|
|
+ namespace="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd"/>
|
|
|
|
|
+ </namespaces.list>
|
|
|
|
|
+ <include.list>
|
|
|
|
|
+ <include.list.href href="/Users/a.binder/Documents/se/SE/schema/WPS_Functions/ant/p5ant.xsl"/>
|
|
|
|
|
+ </include.list>
|
|
|
|
|
+ </stylesheet_buildlist>
|
|
|
|
|
+ </echoxml>
|
|
|
|
|
+ </target>
|
|
|
|
|
+</project>
|