| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns:p5xmli="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/xmlschema_interface.xsd"
- basedir="../../."
- default="default"
- name="xmlschema_interface">
- <include as="PRODUCT" file="build.p5xmli.PRODUCT.xml"/>
- <include as="SYSTEM" file="build.p5xmli.SYSTEM.xml"/>
- <include as="INSTALL" file="build.p5xmli.INSTALL.xml"/>
- <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
- <include file="../system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml"/>
- <target depends="PRODUCT.PRODUCT,INSTALL.INSTALL" name="default"/>
-
-
-
- <property name="p5xmli.default_db_targetNamespace_detect_string" value="${default_db_targetNamespace_detect_string}"/> <!-- value="default_db/table/" intended to be in ${basedir}/table ? -->
- <property name="p5xmli.zasob_id_db_targetNamespace_detect_string" value="${zasob_id_db_targetNamespace_detect_string}"/> <!-- value="https://biuro.biall-net.pl/api/" example targetNamespace="https://biuro.biall-net.pl/api/17666/" -->
-
- <target name="NamespaceObjectInstanceTable.local" if="p5xmli.TypeName.local" depends="NamespaceObjectInstanceTable.local.error,p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix,p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix.true,p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix.false" description="to detect by using p5xmli.procesy5_system_schema.xml root object name">
- <input addproperty="p5xmli.TypeName.local" message="type like p5_default_db:IN7_DZIENNIK_KORESP "/>
- <echo>#20 detecting ${p5xmli.NamespaceObjectInstanceTable.local} from $p5xmli.TypeName.local = ${p5xmli.TypeName.local}</echo>
- <!--<property name="p5xmli.NamespaceObjectInstanceTable.local" value="IN7_DZIENNIK_KORESP"/>-->
- <!--<echo>#26 detected $p5xmli.NamespaceObjectInstanceTable.local = ${p5xmli.NamespaceObjectInstanceTable.local} </echo>-->
- </target>
-
- <target name="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix">
- <condition property="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix">
- <contains string="${p5xmli.TypeName.local}" substring=":"/>
- </condition>
- </target>
-
- <target name="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix.true" if="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix">
-
- <exec executable="bash" dir="." outputproperty="p5xmli.NamespaceObjectInstanceTable.local">
- <arg value="-c"/>
- <arg value="echo ${p5xmli.TypeName.local} |sed 's/.*://'"/>
- </exec>
- <echo>#38 setting $p5xmli.NamespaceObjectInstanceTable.local with prefix detected by regex replace from ${p5xmli.TypeName.local} to ${p5xmli.NamespaceObjectInstanceTable.local}</echo>
- </target>
- <target name="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix.false" unless="p5xmli.TypeName.local.if_has_NamespaceDatabaseStorageDefinitionPrefix">
- <echo>#40 setting $p5xmli.NamespaceObjectInstanceTable.local without prefix detected to = ${p5xmli.TypeName.local}</echo>
- <property name="p5xmli.NamespaceObjectInstanceTable.local" value="${p5xmli.TypeName.local}"/>
- </target>
-
- <target name="NamespaceObjectInstanceTable.local.error" unless="p5xmli.TypeName.local" >
- <fail>#45 to detect p5xmli.NamespaceObjectInstanceTable.local - You should set $p5xmli.TypeName.local - now is ${p5xmli.TypeName.local}</fail>
- </target>
-
- </project>
|