|
|
@@ -3,6 +3,17 @@
|
|
|
basedir="../../."
|
|
|
default="default"
|
|
|
name="automation_driven">
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
<include as="PRODUCT" file="build.automation_driven.PRODUCT.xml"/>
|
|
|
<include as="SYSTEM" file="build.automation_driven.SYSTEM.xml"/>
|
|
|
<include as="INSTALL" file="build.automation_driven.INSTALL.xml"/>
|
|
|
@@ -10,7 +21,10 @@
|
|
|
file="build.automation_driven.${local.p5ant.WPS_Functions.PRODUCT.module.input}.xml"
|
|
|
optional="yes"/>
|
|
|
<include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
|
|
|
- <include file="../system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml"/>
|
|
|
+ <!--<include file="../system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml"/>-->
|
|
|
+
|
|
|
+ <include file="../system_ui_info_speech/build_system_ui_info_speech.xml" as="p5suis" optional="false"/>
|
|
|
+
|
|
|
<extension-point name="default.default" depends="default"/>
|
|
|
<extension-point name="default" depends="PRODUCT.PRODUCT,INSTALL.INSTALL"/>
|
|
|
<target name="xsl-test"
|
|
|
@@ -39,9 +53,655 @@
|
|
|
</xslt>
|
|
|
</target>
|
|
|
|
|
|
+ <target name="procesy5_system_schema.xml" depends="empty.xml" description="Generate procesy5_system_schema.xml and vrtfNamespaces.xml which can be not correct">
|
|
|
+ <sleep seconds="2"/>
|
|
|
+
|
|
|
+
|
|
|
+ <!--<exec executable="say" spawn="true" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="Generating process 5 system schema"/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="Generating process 5 system schema" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ <antcall target="delete.external_schema_table.path"/>
|
|
|
+ <mkdir dir="${default_db.instance.xml}"/>
|
|
|
+ <mkdir dir="${transformed.local}"/>
|
|
|
+ <delete file="${procesy5_system_schema.xml}" failonerror="false"/>
|
|
|
+ <delete dir="${procesy5_system_schema.xml}" failonerror="false"/>
|
|
|
+ <echo>#242 run ${get_all_xsd.xsl} with param procesy5_system_schema_collection_dir=${procesy5_system_schema_collection_dir};
|
|
|
+ $basedir = ${basedir}
|
|
|
+ $default_db.dir = ${default_db.dir}
|
|
|
+ $external_schema_table.path = ${external_schema_table.path}
|
|
|
+
|
|
|
+ </echo>
|
|
|
+ <!-- ${get_all_xsd.xsl} d2a__x3A__p5xsl__x3A__p5CPTpm.xsl-->
|
|
|
+ <xslt basedir="./" style="${get_all_xsd.xsl}" in="${empty.xml}" destdir="./" out="${procesy5_system_schema.xml}" >
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ <attribute name="http://saxon.sf.net/feature/initialTemplate" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}get_all_xsd"/>
|
|
|
+ </factory>
|
|
|
+ <param name="ignore_SVG.xsd" expression="true"/>
|
|
|
+ <!-- d2a -->
|
|
|
+ <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
|
|
|
+ <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
|
|
|
+ <param name="external_schema" expression="${external_schema}"/>
|
|
|
+
|
|
|
+ <param name="d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl" expression="${d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/default_db/CRM_PROCES_tree/CRM_PROCES_tree.postprocess_modules.xsd}disable.ditamap" expression=""/>
|
|
|
+
|
|
|
+ <param name="temp" expression="${p5build.temp}"/>
|
|
|
+ <param
|
|
|
+ name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.param.xsl"
|
|
|
+ expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.param.xsl}"/>
|
|
|
+ <param
|
|
|
+ name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.xsl"
|
|
|
+ expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.xsl}"/>
|
|
|
+ <!-- EOF d2a -->
|
|
|
+ <param name="procesy5_system_schema_collection_dir" expression="${procesy5_system_schema_collection_dir}"/>
|
|
|
+ <param name="cache" expression="refresh"/>
|
|
|
+ <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
|
|
|
+ <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
|
|
|
+ <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
|
|
|
+ <param name="default_db.dir" expression="${default_db.dir}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
|
|
|
+ <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
|
|
|
+ <param name="basedir" expression="${basedir}"/>
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
|
|
|
+ <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ </xslt>
|
|
|
+ <sequential>
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="analyzing process 5 schema namespaces" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+ <!--<exec executable="say" spawn="true" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="analyzing process 5 schema namespaces"/>
|
|
|
+ </exec>-->
|
|
|
+
|
|
|
+ <delete file="${vrtfNamespaces.xml}"/>
|
|
|
+ <xslt basedir="./" style="${get_all_xsd.xsl}" in="${procesy5_system_schema.xml}" destdir="./" out="${vrtfNamespaces.xml}" >
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}vrtfNamespaces"/>
|
|
|
+ </factory>
|
|
|
+
|
|
|
+ <param name="ignore_SVG.xsd" expression="true"/>
|
|
|
+
|
|
|
+ <!-- d2a -->
|
|
|
+
|
|
|
+ <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
|
|
|
+ <param name="external_schema" expression="${external_schema}"/>
|
|
|
+
|
|
|
+ <param name="d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl" expression="${d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/default_db/CRM_PROCES_tree/CRM_PROCES_tree.postprocess_modules.xsd}disable.ditamap" expression=""/>
|
|
|
+ <param name="basedir" expression="${basedir}"/>
|
|
|
+ <param name="temp" expression="${p5build.temp}"/>
|
|
|
+ <param
|
|
|
+ name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.param.xsl"
|
|
|
+ expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.param.xsl}"/>
|
|
|
+ <param
|
|
|
+ name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.xsl"
|
|
|
+ expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.xsl}"/>
|
|
|
+ <!-- EOF d2a -->
|
|
|
+ <param name="procesy5_system_schema_collection_dir" expression="${procesy5_system_schema_collection_dir}"/>
|
|
|
+ <param name="cache" expression="refresh"/>
|
|
|
+ <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
|
|
|
+ <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
|
|
|
+ <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
|
|
|
+ <param name="default_db.dir" expression="${default_db.dir}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
|
|
|
+ <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
|
|
|
+ <param name="default_db.dir" expression="${default_db.dir}"/>
|
|
|
+ <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
|
|
|
+ <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
|
|
|
+ <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ </xslt>
|
|
|
+ <sleep seconds="1"/>
|
|
|
+ </sequential>
|
|
|
+ </target>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <target name="empty.xml" description="Builds empty.xml">
|
|
|
+ <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
|
|
|
+ </target>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <target name="vrtfNamespaces.xml" description="Procedure to create vrtfNamespaces.xml - used in some tasks especially in generate schema with id">
|
|
|
+ <parallel threadcount="2">
|
|
|
+ <sequential>
|
|
|
+
|
|
|
+ <!--<exec executable="say" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="Generating namspaces list "/>
|
|
|
+ </exec>-->
|
|
|
+
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="Generating namspaces list" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ </sequential>
|
|
|
+ <sequential>
|
|
|
+ <delete file="${vrtfNamespaces.xml}"/>
|
|
|
+ <xslt basedir="./" style="${get_all_xsd.xsl}" in="${procesy5_system_schema.xml}" destdir="./" out="${vrtfNamespaces.xml}" >
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}vrtfNamespaces"/>
|
|
|
+ </factory>
|
|
|
+ <param name="ignore_SVG.xsd" expression="true"/>
|
|
|
+ <param name="procesy5_system_schema_collection_dir" expression="${procesy5_system_schema_collection_dir}"/>
|
|
|
+ <param name="cache" expression="refresh"/>
|
|
|
+ <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
|
|
|
+ <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
|
|
|
+ <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
|
|
|
+ <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
|
|
|
+ <param name="basedir" expression="${basedir}"/>
|
|
|
+ <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
|
|
|
+ <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
|
|
|
+ <param name="default_db.dir" expression="${default_db.dir}"/>
|
|
|
+ <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
|
|
|
+ <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
|
|
|
+ <param name="external_schema" expression="${external_schema}"/>
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ </xslt>
|
|
|
+ </sequential>
|
|
|
+ </parallel>
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="generate_schema_with_id" depends="procesy5_system_schema.xml" description="first we generate schema to check if all have correct ID">
|
|
|
+ <!-- schema @id fixing -->
|
|
|
+ <parallel threadcount="2">
|
|
|
+ <sequential>
|
|
|
+ <!--<sleep seconds="3"/>-->
|
|
|
+ <!--<exec executable="say" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="Checking schema for correnct id attributes if not generating them"/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="Checking schema for correnct id attributes if not generating them" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ </sequential>
|
|
|
+ <sequential>
|
|
|
+ <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
|
|
|
+ <delete file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
|
|
|
+ <delete file="${parse_schema_to_generate_id_raport.xml}"/>
|
|
|
+ <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
|
|
|
+ <echo>#406 xslt ${parse_schema_to_generate_id.xsl}</echo>
|
|
|
+ <xslt basedir="./" style="${parse_schema_to_generate_id.xsl}" in="${empty.xml}" destdir="./" out="${parse_schema_to_generate_id_raport.xml}" >
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ <attribute name="http://saxon.sf.net/feature/initialTemplate" value="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport}parse_schema_to_generate_id"/>
|
|
|
+ </factory>
|
|
|
+ <!-- d2a -->
|
|
|
+ <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
|
|
|
+ <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
|
|
|
+ <param name="external_schema" expression="${external_schema}"/>
|
|
|
+
|
|
|
+ <param name="d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl" expression="${d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/default_db/CRM_PROCES_tree/CRM_PROCES_tree.postprocess_modules.xsd}disable.ditamap" expression=""/>
|
|
|
+
|
|
|
+ <param name="temp" expression="${p5build.temp}"/>
|
|
|
+ <param
|
|
|
+ name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.param.xsl"
|
|
|
+ expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.param.xsl}"/>
|
|
|
+ <param
|
|
|
+ name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.xsl"
|
|
|
+ expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.xsl}"/>
|
|
|
+ <!-- EOF d2a -->
|
|
|
+ <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
|
|
|
+ <param name="procesy5_system_schema_file" expression="${procesy5_system_schema.xml}"/>
|
|
|
+ <param name="targetNamespace_DEFAULTS" expression="${targetNamespace_DEFAULTS}"/>
|
|
|
+ <param name="new-schema-with-ID-to-move-and-rename-to-xsd" expression="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
|
|
|
+ <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
|
|
|
+ <param name="default_db.dir" expression="${default_db.dir}"/>
|
|
|
+ <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
|
|
|
+ <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
|
|
|
+ <param name="basedir" expression="${basedir}"/>
|
|
|
+ <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
|
|
|
+ <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
|
|
|
+ <!--<param name="vrtfNamespaces_file" expression="${vrtfNamespaces.xml}"/>-->
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ </xslt>
|
|
|
+ <antcall target="p5suis.p5suis.say_to_queue.copy_file.drop_overflow" >
|
|
|
+ <param name="p5suis.say_to_queue.copy_file" value="${parse_schema_to_generate_id_raport.xml}"/>
|
|
|
+ </antcall>
|
|
|
+ <echo>#466 check what were missing in no-id directory</echo>
|
|
|
+ <sleep seconds="3"/>
|
|
|
+ </sequential>
|
|
|
+ </parallel>
|
|
|
+ </target>
|
|
|
+
|
|
|
+
|
|
|
+ <target depends="generate_schema_with_id" name="new-schema-with-ID-to-move-and-rename-to-xsd_test">
|
|
|
+ <condition taskname="new-schema-with-ID-to-move-and-rename-to-xsd" property="new-schema-with-ID-to-move-and-rename-to-xsd_exists">
|
|
|
+ <available file="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
|
|
|
+ </condition>
|
|
|
+ </target>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <target name="new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.cond" depends="new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.test,new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.fail,new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.ok" />
|
|
|
+ <target name="new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.test">
|
|
|
+ <condition property="new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.test" taskname="new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.cond">
|
|
|
+ <available file="${procesy5_system_schema.complete}"/>
|
|
|
+ </condition>
|
|
|
+ </target>
|
|
|
+ <target name="new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.fail" unless="${new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.test}" />
|
|
|
+ <target name="new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.ok" if="${new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.test}">
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="need to generate schema with id" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ </target>
|
|
|
+ <target name="new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete" description="to make procesy5 system schema only if no ${procesy5_system_schema.complete}"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <target name="new-schema-with-ID-to-move-and-rename-to-xsd" depends="new-schema-with-ID-to-move-and-rename-to-xsd_test" if="${new-schema-with-ID-to-move-and-rename-to-xsd_exists}" > <!-- R save_build_properties,read_build_properties, -->
|
|
|
+ <parallel failonany="true" threadCount="2">
|
|
|
+ <sequential>
|
|
|
+ <!--<exec executable="say" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="need to generate schema with id"/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="need to generate schema with id" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ </sequential>
|
|
|
+ <sequential>
|
|
|
+ <copy todir="${procesy5_system_schema_collection_dir}">
|
|
|
+ <fileset dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
|
|
|
+ </copy>
|
|
|
+ <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
|
|
|
+ <delete file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
|
|
|
+ </sequential>
|
|
|
+ </parallel>
|
|
|
+
|
|
|
+ <sequential>
|
|
|
+ <antcall target="procesy5_system_schema.xml"/> <!-- saved files are not in current schema - need to regenerate -->
|
|
|
+ <antcall target="vrtfNamespaces.xml"/>
|
|
|
+ <!--<exec executable="say" spawn="true" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="generated schema with id complete"/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="generated schema with id complete" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ </sequential>
|
|
|
+
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="procesy5_system_schema.xml_complete" depends="new-schema-with-ID-to-move-and-rename-to-xsd" description="Generate procesy5_system_schema.xml and vrtfNamespaces.xml which can be not correct">
|
|
|
+ <sequential>
|
|
|
+ <sleep seconds="2"/>
|
|
|
+
|
|
|
+ <!--<exec executable="say" spawn="true" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="generating complete process 5 system schema"/>
|
|
|
+ </exec>-->
|
|
|
+
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="generating complete process 5 system schema" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <mkdir dir="${default_db.instance.xml}"/>
|
|
|
+ <mkdir dir="${transformed.local}"/>
|
|
|
+ <delete file="${procesy5_system_schema.xml}" failonerror="false"/>
|
|
|
+ <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
|
|
|
+ <delete file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
|
|
|
+ <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
|
|
|
+ <echo> run ${get_all_xsd.xsl} with param procesy5_system_schema_collection_dir=${procesy5_system_schema_collection_dir}; </echo>
|
|
|
+ <xslt basedir="./" style="${get_all_xsd.xsl}" in="${empty.xml}" destdir="./" out="${procesy5_system_schema.xml}" >
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ <attribute name="http://saxon.sf.net/feature/initialTemplate" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}get_all_xsd"/>
|
|
|
+ </factory>
|
|
|
+ <param name="ignore_SVG.xsd" expression="true"/>
|
|
|
+ <param name="procesy5_system_schema_collection_dir" expression="${procesy5_system_schema_collection_dir}"/>
|
|
|
+ <param name="cache" expression="refresh"/>
|
|
|
+ <param name="external_schema" expression="${external_schema}"/>
|
|
|
+ <param name="external_schema_id_namespace_prefix" expression="${external_schema_id_namespace_prefix}"/>
|
|
|
+ <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
|
|
|
+ <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
|
|
|
+ <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
|
|
|
+ <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
|
|
|
+ <param name="basedir" expression="${basedir}"/>
|
|
|
+ <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
|
|
|
+ <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
|
|
|
+ <param name="default_db.dir" expression="${default_db.dir}"/>
|
|
|
+ <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
|
|
|
+ <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
|
|
|
+ <param name="external_schema" expression="${external_schema}"/>
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ </xslt>
|
|
|
+ </sequential>
|
|
|
+ <sleep seconds="1"/>
|
|
|
+ <antcall target="vrtfNamespaces.xml"/>
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="element_complexType.xml.single" description="SINGLE generate list of elements and Complextype to generate flat and tr_map">
|
|
|
+ <parallel threadcount="2">
|
|
|
+ <sequential>
|
|
|
+ <!--<exec executable="say" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="generating xml object list from system schema to provide making multi thread build lists for complex Types and transaction maps and others "/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="generating xml object list from system schema to provide making multi thread build lists for complex Types and transaction maps and others" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ </sequential>
|
|
|
+ <sequential>
|
|
|
+ <delete file="${element_complexType.xml}"/>
|
|
|
+ <xslt basedir="./" style="${get_all_xsd.xsl}" in="${procesy5_system_schema.xml}" destdir="./" out="${element_complexType.xml}" >
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}element_complexType"/>
|
|
|
+ </factory>
|
|
|
+ <param name="ignore_SVG.xsd" expression="true"/>
|
|
|
+ <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
|
|
|
+ <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
|
|
|
+ <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
|
|
|
+ <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
|
|
|
+ <param name="debug_level_param" expression="${debug_level_param}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
|
|
|
+ <param name="basedir" expression="${basedir}"/>
|
|
|
+ <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
|
|
|
+ <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
|
|
|
+ <param name="default_db.dir" expression="${default_db.dir}"/>
|
|
|
+ <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
|
|
|
+ <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
|
|
|
+ <param name="external_schema" expression="${external_schema}"/>
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ </xslt>
|
|
|
+ </sequential>
|
|
|
+ </parallel>
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="build_element_complexType.xml.single.task" depends="p5build.SYSTEM.transformed,save_build_properties,element_complexType.xml.single" description="Just element_complexType elements"> <!-- R save_build_properties,read_build_properties, -->
|
|
|
+
|
|
|
+ <parallel threadcount="2">
|
|
|
+ <sequential>
|
|
|
+ <!--<exec executable="say" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="generating multi thread build lists for complex Types "/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="generating multi thread build lists for complex Types" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ </sequential>
|
|
|
+ <sequential>
|
|
|
+ <delete file="${build_element_complexType.xml}"/>
|
|
|
+ <!--<tempfile property="build_element_complexType.xml.properties_override" prefix="build_element_complexType.xml.properties_override" suffix=".xml" destdir="${transformed.local}" deleteonexit="no"/>-->
|
|
|
+ <!--<echoxml file="${build_element_complexType.xml.properties_override}" >
|
|
|
+ <properties>
|
|
|
+ <property name="uuid" value="PROCES_INIT_TREE_$${xpath_value}"/> <!-\- to be evaluated in child xsl/ant-\->
|
|
|
+ <property name="typeName" value="default_db:PROCES_INIT"/>
|
|
|
+ <property name="xpath" value="ID"/>
|
|
|
+ </properties>
|
|
|
+ </echoxml>-->
|
|
|
+ <xslt basedir="./" style="${build_ant_universal_by_xsl_match.xsl}" in="${element_complexType.xml}" destdir="./" out="${build_element_complexType.xml}" >
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ <attribute name="http://saxon.sf.net/feature/initialMode" value="build_element_complexType.xml"/>
|
|
|
+ </factory>
|
|
|
+ <!--<param name="match_root_element" expression="wfs:FeatureCollection"/>-->
|
|
|
+ <param name="match_element" expression=""/><!-- To be set universally to another type of object tree -->
|
|
|
+ <param name="antfile_prefix" expression="build_element_complexType.xml"/>
|
|
|
+ <param name="temp" expression="/tmp"/>
|
|
|
+ <param name="basedir" expression="${basedir}"/>
|
|
|
+ <param name="antfile" expression=""/>
|
|
|
+ <!--<param name="target" expression="xml_recursed_from_tr_map_with_RelatedFeatureLoop"/>-->
|
|
|
+ <param name="match_child_element" expression=""/>
|
|
|
+ <param name="match_child_element_property_name" expression=""/>
|
|
|
+ <param name="properties.xml" expression="${build_properties.xml}"/>
|
|
|
+ <!--<param name="properties_override.xml" expression="${properties_override.xml}"/>-->
|
|
|
+ <param name="parallel" expression="1"/>
|
|
|
+ <param name="threadCount" expression="${threadCount}"/>
|
|
|
+ <param name="ant-launcher.jar" expression="${ant-launcher.jar}"/>
|
|
|
+ <param name="debug_level_param" expression="${debug_level_param}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
+ <!--<param name="external_schema_table.path" expression="${external_schema_table.path}"/>-->
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ </xslt>
|
|
|
+ <!--<exec executable="say" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="executing multi thread build for complex Types by thread count ${threadCount}"/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="executing multi thread build for complex Types by thread count ${threadCount}" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+
|
|
|
+ <!--<delete dir="${build_complexType.local}"/>-->
|
|
|
+ <echo>#637 will antfile: ${build_element_complexType.xml}
|
|
|
+ </echo>
|
|
|
+ <ant antfile="${build_element_complexType.xml}"/>
|
|
|
+ <touch file="${build_element_complexType.xml.complete}"/>
|
|
|
+ <!--<exec executable="say" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="generating complex types complete"/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="generating complex types complete" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+ </sequential>
|
|
|
+ </parallel>
|
|
|
+ </target>
|
|
|
+
|
|
|
+
|
|
|
+ <target name="p5build.SYSTEM.transformed">
|
|
|
+ <mkdir dir="${p5build.SYSTEM.transformed.build_complexType.local}"/>
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="save_build_properties" >
|
|
|
+ <mkdir dir="${p5build.temp}"/>
|
|
|
+ <mkdir dir="${p5build.repository}"/>
|
|
|
+ <ant antfile="${WPS_Functions.build}" inheritall="yes"/>
|
|
|
+
|
|
|
+ <!--R <ant antfile="${build_SE.xml}" target="save_build_properties"/>-->
|
|
|
+ <!-- R <loadproperties srcfile="${build_SE.properties}"/>-->
|
|
|
+
|
|
|
+ <!--R <echoproperties destfile="${build_properties}" />-->
|
|
|
+ <echoproperties destfile="${build_properties.xml}" format="xml"/>
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="delete.external_schema_table.path" description="To delete generated by ${build_object_install_se_ant_object.xml} task system_cache__appinfo:object_install_se_ant_object.generate_tables_from_external models">
|
|
|
+ <delete dir="${external_schema_table.path}" failonerror="false"/>
|
|
|
+ </target>
|
|
|
+
|
|
|
+
|
|
|
+ <target name="build_detect_resource_type.xml.single.task" description="Just build_detect_resource_type.xml elements"> <!-- R depends="save_build_properties,read_build_properties" -->
|
|
|
+
|
|
|
+ <parallel threadcount="2">
|
|
|
+ <sequential>
|
|
|
+ <!--<exec executable="say" spawn="true" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="generating multi thread build lists for complex resource types relations "/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="generating multi thread build lists for complex resource types relations " />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ </sequential>
|
|
|
+ <sequential>
|
|
|
+ <delete file="${build_detect_resource_type.xml}" failonerror="false"/>
|
|
|
+ <delete file="${build_detect_resource_type.complete}" failonerror="false"/>
|
|
|
+
|
|
|
+ <xslt basedir="./" style="${build_ant_universal_by_xsl_match.xsl}" in="${element_complexType.xml}" destdir="./" out="${build_detect_resource_type.xml}" >
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ <attribute name="http://saxon.sf.net/feature/initialMode" value="build_detect_resource_type.xml"/>
|
|
|
+ </factory>
|
|
|
+ <!--<param name="match_root_element" expression="wfs:FeatureCollection"/>-->
|
|
|
+ <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
|
|
|
+
|
|
|
+ <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
|
|
|
+ <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
|
|
|
+ <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
|
|
|
+ <param name="external_schema" expression="${external_schema}"/>
|
|
|
+ <param name="default_db.dir" expression="${default_db.dir}"/>
|
|
|
+
|
|
|
+
|
|
|
+ <param name="match_element" expression=""/><!-- To be set universally to another type of object tree -->
|
|
|
+ <param name="antfile_prefix" expression="build_element_complexType.xml"/>
|
|
|
+ <param name="temp" expression="/tmp"/>
|
|
|
+ <param name="basedir" expression="${basedir}"/>
|
|
|
+ <param name="antfile" expression=""/>
|
|
|
+ <!--<param name="target" expression="xml_recursed_from_tr_map_with_RelatedFeatureLoop"/>-->
|
|
|
+ <param name="match_child_element" expression=""/>
|
|
|
+ <param name="match_child_element_property_name" expression=""/>
|
|
|
+ <param name="properties.xml" expression="${build_properties.xml}"/>
|
|
|
+ <!--<param name="properties_override.xml" expression="${properties_override.xml}"/>-->
|
|
|
+ <param name="parallel" expression="1"/>
|
|
|
+ <param name="threadCount" expression="${threadCount}"/>
|
|
|
+ <param name="ant-launcher.jar" expression="${ant-launcher.jar}"/>
|
|
|
+ <param name="debug_level_param" expression="${debug_level_param}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param name="detect_resource_type.xsl" expression="${detect_resource_type.xsl}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
|
|
|
+ <!--<param name="external_schema_table.path" expression="${external_schema_table.path}"/>-->
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ </xslt>
|
|
|
+
|
|
|
+ <!--<exec executable="say" spawn="true" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="executing multi thread build for relations by thread count ${threadCount}"/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="executing multi thread build for relations by thread count ${threadCount}" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+
|
|
|
+ <!--<delete dir="${build_complexType.local}"/>-->
|
|
|
+ <ant antfile="${build_detect_resource_type.xml}"/>
|
|
|
+ <touch file="${build_detect_resource_type.complete}"/>
|
|
|
+ <!--<exec executable="say" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="generating relations types complete"/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="generating relations types complete" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ </sequential>
|
|
|
+ </parallel>
|
|
|
+ </target>
|
|
|
+
|
|
|
|
|
|
+ <target name="build_detect_objects_parent_relations.single" depends="build_detect_resource_type.xml.single.task" description="we generate detect resources parent relations -to dir detect_resource_type "> <!-- R save_build_properties,read_build_properties, -->
|
|
|
+
|
|
|
+ <parallel threadcount="2">
|
|
|
+ <sequential>
|
|
|
+ <!--<exec executable="say" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="generating detect_object_parent_relations_single with distinct object definitions in detect_resource_type directory."/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="generating detect_object_parent_relations_single with distinct object definitions in detect_resource_type directory." />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ </sequential>
|
|
|
+ <sequential>
|
|
|
+ <delete file="${detect_objects_parent_relations.xml}"/>
|
|
|
+
|
|
|
+ <xslt basedir="./" style="${detect_objects_parent_relations.xsl}" in="${empty.xml}" destdir="./" out="${detect_objects_parent_relations.xml}" force="yes" >
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ <attribute name="http://saxon.sf.net/feature/initialTemplate" value="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport}detect_objects_parent_relations"/>
|
|
|
+ </factory>
|
|
|
+
|
|
|
+ <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
|
|
|
+ <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
|
|
|
+ <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
|
|
|
+ <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
|
|
|
+ <param name="external_schema" expression="${external_schema}"/>
|
|
|
+
|
|
|
+ <param name="default_db.dir" expression="${default_db.dir}"/>
|
|
|
+ <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
|
|
|
+ <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
|
|
|
+ <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
|
|
|
+ <param name="procesy5_system_schema_file" expression="${procesy5_system_schema.xml}"/>
|
|
|
+ <param name="targetNamespace_DEFAULTS" expression="${targetNamespace_DEFAULTS}"/>
|
|
|
+ <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
|
|
|
+ <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
|
|
|
+ <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/object_parent_relations/object_parent_relations.xsd}detect_objects_parent_relations.local" expression="${detect_objects_parent_relations.local}"/>
|
|
|
+ <param name="basedir" expression="${basedir}"/>
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ </xslt>
|
|
|
+ <!--<exec executable="say" spawn="true" failifexecutionfails="false">
|
|
|
+ <arg line="-v alex"/>
|
|
|
+ <arg line="complete build detect objects parent relations single"/>
|
|
|
+ </exec>-->
|
|
|
+ <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
|
|
|
+ <property name="p5suis:say_text" value="complete build detect objects parent relations single" />
|
|
|
+ </ant>
|
|
|
+ <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
|
|
|
+
|
|
|
+ </sequential>
|
|
|
+ </parallel>
|
|
|
+ <!--file:/Users/a.binder/Documents/xmlschema_procesy5/src-xmlschema/public_html/default_db.instance.xml/transformed/resources_tree_required_occurs_raport/detect_objects_parent_relations-\-http__x3A____x2F____x2F__biuro.biall__x2D__net.pl__x2F__xmlschema_procesy5__x2F__default_db.xml-->
|
|
|
+ </target>
|
|
|
|
|
|
- <target name="automation_driven.submodule.struct.read.xsd"
|
|
|
+ <target name="automation_driven.submodule.struct.read.xsd" depends="automation_driven.submodule.xsd__struct_write"
|
|
|
description="to initially generate xsd from automation_driven.submodule.struct.h file">
|
|
|
<echo>#42 generating ${automation_driven.submodule.struct.read.xsd} using ${automation_driven.submodule.struct.h}</echo>
|
|
|
<xslt basedir="${automation_driven.submodule.basedir}"
|
|
|
@@ -84,6 +744,51 @@
|
|
|
</xslt>
|
|
|
</target>
|
|
|
|
|
|
+
|
|
|
+ <target name="automation_driven.submodule.xsd__struct_write"
|
|
|
+ description="to initially generate h " >
|
|
|
+ <echo>#42 generating from ${automation_driven.submodule.struct.write.xsd} </echo>
|
|
|
+ <xslt basedir="${automation_driven.submodule.basedir}"
|
|
|
+ destdir="${automation_driven.submodule.temp}"
|
|
|
+ force="true"
|
|
|
+ in="${automation_driven.submodule.struct.write.xsd}"
|
|
|
+ out="${automation_driven.submodule.struct.write.h}"
|
|
|
+ style="${automation_driven.submodule.struct.write.xsl}"> <!-- ${automation_driven.submodule.struct.h} -->
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ <!--<attribute name="http://saxon.sf.net/feature/initialTemplate"
|
|
|
+ value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>-->
|
|
|
+ <attribute name="http://saxon.sf.net/feature/initialMode"
|
|
|
+ value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}write.h"/>
|
|
|
+ <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
|
|
|
+ value="true"/>
|
|
|
+ </factory>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
|
|
|
+ expression="${automation_driven.basedir}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
|
|
|
+ expression="${automation_driven.repository}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
|
|
|
+ expression="${automation_driven.temp}"/>
|
|
|
+
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
|
|
|
+ expression="${automation_driven.submodule.basedir}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
|
|
|
+ expression="${automation_driven.submodule.repository}"/>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
|
|
|
+ expression="${automation_driven.submodule.temp}"/>
|
|
|
+
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
|
|
|
+ expression="${automation_driven.submodule.struct.h}"/>
|
|
|
+
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
|
|
|
+ expression="${automation_driven.submodule.namespaces.xsd}"/>
|
|
|
+
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ <xmlcatalog refid="dita-ot.dtd.catalog"/>
|
|
|
+ </xslt>
|
|
|
+ </target>
|
|
|
+
|
|
|
+
|
|
|
<target name="automation_driven.submodule.xsd__struct_files"
|
|
|
description="to initially generate xsd " depends="automation_driven.submodule.struct.read.xsd">
|
|
|
<echo>#42 generating ${automation_driven.submodule.struct.read.xsd} using ${automation_driven.submodule.xsd}</echo>
|
|
|
@@ -262,6 +967,7 @@
|
|
|
</target>-->
|
|
|
|
|
|
<target name="automation_driven.submodule.struct.read__communication.xml"
|
|
|
+ depends="automation_driven.submodule.xsd__struct_files__fixed"
|
|
|
|
|
|
><!--
|
|
|
depends="automation_driven.submodule.xsd__struct_files__fixed"
|
|
|
@@ -282,6 +988,8 @@
|
|
|
<attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
|
|
|
value="true"/>
|
|
|
</factory>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_default.xml"
|
|
|
+ expression="${automation_driven.submodule.xsd__struct_files_fix_default.xml}"/>
|
|
|
<param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_default.xml"
|
|
|
expression="${automation_driven.submodule.xsd__struct_files_fix_default.xml}"/>
|
|
|
<param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
|
|
|
@@ -338,6 +1046,8 @@
|
|
|
<attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
|
|
|
value="true"/>
|
|
|
</factory>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_default.xml"
|
|
|
+ expression="${automation_driven.submodule.xsd__struct_files_fix_default.xml}"/>
|
|
|
<param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
|
|
|
expression="${automation_driven.basedir}"/>
|
|
|
<param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
|
|
|
@@ -387,6 +1097,8 @@
|
|
|
<attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
|
|
|
value="true"/>
|
|
|
</factory>
|
|
|
+ <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_default.xml"
|
|
|
+ expression="${automation_driven.submodule.xsd__struct_files_fix_default.xml}"/>
|
|
|
<param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
|
|
|
expression="${automation_driven.basedir}"/>
|
|
|
<param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
|