| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project basedir="." name="xmlschema_procesy5" default="sync_p5_tr_map_with_se"> <!-- sync_p5_tr_map_with_se new-schema-with-ID-to-move-and-rename-to-xsd generate_schema_with_id build_detect_objects_parent_relations build_detect_resource_type build_tr_map element_complexType.xml generate_schema_with_id sync_p5_tr_map_with_se -->
- <description>This file is Business Objects Transformations Component described in procesy5 documentation </description>
- <!--<description>Do przetwarzania wygenerowanych schematow itp i integracji z systemem</description>-->
-
-
- <!-- licence values -->
- <property name="TargetNamespaceBindings" value="https://biuro.biall-net.pl"/> <!-- default https://biuro.biall-net.pl for API working in this domain -->
- <property name="TargetNamespaceBindingsApi" value="${TargetNamespaceBindings}/wfs"/>
- <property name="TargetNamespaceBindingsApiUrl" value="${TargetNamespaceBindingsApi}/wfs-data.php"/>
- <property name="targetNamespace_DEFAULTS_prefix" value="default_db"/>
- <property name="targetNamespace_DEFAULTS_prefix_objects" value="default_objects"/>
- <property name="targetNamespace_DEFAULTS" value="${TargetNamespaceBindings}/xmlschema_procesy5/${targetNamespace_DEFAULTS_prefix}"/> <!-- namespace do lokalnego bindowania do default_db http://biuro.biall-net.pl/xmlschema_procesy5/default_db -->
- <property name="config_dir" value="${basedir}/config"/>
- <property name="NamespaceBinding.xml" value="${config_dir}/NamespaceBinding.xml"/> <!-- file with binding informations -->
-
-
- <property name="public_html" location="${basedir}"/> <!-- do wstawienia schematos -->
-
-
-
- <!-- modules WPS_Functions -->
- <property name="WPS_Functions" location="${basedir}/WPS_Functions"/>
- <property name="build_WPS_Functions.xml" location="${WPS_Functions}/build_WPS_Functions.xml"/> <!-- call it to get properties -->
- <property name="build_WPS_Functions.xml.properties" location="${build_WPS_Functions.xml}.properties"/>
- <!-- went to WPS_Functions/build_WPS_Functions -->
- <property name="ant-launcher.jar" location="/opt/local/share/java/apache-ant/lib/ant-launcher.jar"/>
-
-
- <property name="Shared_Git_Root" location="../../../"/> <!-- do ustalenia gdzie trzymamy wszystkie repozytoria na serwerze -->
-
- <property name="remote" location="${Shared_Git_Root}/se/SE/schema"/>
-
- <property name="table.local" location="${public_html}/table"/>
- <property name="table.remote" location="${remote}/table"/>
-
-
-
- <property name="default_db.instance.xml" value="${basedir}/default_db.instance.xml"><!--<glossgroup id="glossgroup_ezt_5sz_gz">--></property>
- <property name="default_db.instance.xml.symlink" value="${basedir}/default_db.instance.xml.symlink"/>
-
- <property name="transformed.local" location="${default_db.instance.xml}/transformed"/> <!-- dir for some raport outputs -->
- <property name="procesy5_system_schema.xml" value="${transformed.local}/procesy5_system_schema.xml"/>
- <property name="vrtfNamespaces.xml" value="${transformed.local}/vrtfNamespaces.xml"/>
- <property name="element_complexType.xml" value="${transformed.local}/element_complexType.xml"/><!-- for build flat schema and tr_map -->
-
-
-
-
- <property name="build_complexType.local" location="${default_db.instance.xml}/build_complexType"/>
- <property name="build_complexType.remote" location="${remote}/default_db.instance.xml/build_complexType"/>
-
- <property name="p5_tr_map.local" location="${default_db.instance.xml}/p5_tr_map"/>
- <property name="p5_tr_map.remote" location="${remote}/default_db.instance.xml/p5_tr_map"/>
-
-
- <property name="detect_resource_type.local" location="${default_db.instance.xml}/detect_resource_type"/>
- <property name="detect_resource_type.remote" location="${remote}/default_db.instance.xml/detect_resource_type"/>
-
- <property name="simpleSchema.local" location="${default_db.instance.xml}/simpleSchema"/>
- <property name="simpleSchema.remote" location="${remote}/default_db.instance.xml/simpleSchema"/>
-
- <!-- module cache -->
- <property name="build_properties" location="${public_html}/build_properties" />
-
-
-
-
- <property name="new-schema-with-ID-to-move-and-rename-to-xsd" location="${transformed.local}/new-schema-with-ID-to-move-and-rename-to-xsd"/>
- <property name="empty.xml" value="empty.xml"/>
- <!-- templates -->
- <property name="default_db_xml_cache.public" location="${public_html}/default_db_xml_cache.public"/>
- <property name="default_db_xml_cache" value="default_db_xml_cache"/><!-- xsl Business Objects Transformers -->
- <property name="system_cache__resources_tree_generate_xsl_required_occurs_raport" value="${default_db_xml_cache}/system_cache__resources_tree_generate_xsl_required_occurs_raport"/>
- <property name="parse_schema_to_generate_id.xsl" value="${system_cache__resources_tree_generate_xsl_required_occurs_raport}/parse_schema_to_generate_id.xsl" />
- <property name="parse_schema_to_generate_id_raport.xml" value="${transformed.local}/new-schema-with-ID-to-move-and-rename-to-xsd.xml"/>
- <property name="get_all_xsd.xsl" value="${default_db_xml_cache.public}/get_all_xsd.xsl"/>
-
- <property name="build_element_complexType.xml" value="${transformed.local}/build_element_complexType.xml"/> <!-- ant build to generate elements flat and p5_tr_map -->
-
- <property name="build_complexType.xsl" value="${default_db_xml_cache}/build_complexType.xsl"/>
- <property name="build_complexType_raport.xml" value="${transformed.local}/build_complexType_raport.xml"/>
-
- <property name="build_tr_map_raport.xml" value="${transformed.local}/build_tr_map_raport.xml"/>
- <property name="p5_tr_map.xsl" value="${default_db_xml_cache}/p5_tr_map.xsl"/>
-
- <property name="detect_resource_type.xsl" value="${default_db_xml_cache}/system_cache__resources_tree_generate_xsl_required_occurs_raport/detect_resource_type.xsl"/>
- <property name="detect_resource_type.xml" value="${transformed.local}/detect_resource_type.xml"/> <!-- ${targetNamespace_DEFAULTS_prefix} -->
-
- <property name="detect_objects_parent_relations.xsl" value="${default_db_xml_cache}/system_cache__resources_tree_generate_xsl_required_occurs_raport/detect_objects_parent_relations.xsl"/>
- <property name="detect_objects_parent_relations.xml" value="${transformed.local}/detect_objects_parent_relations.xml"/>
-
- <property name="main_build_recurse_ant.dita_with_id.xsl" value="${default_db_xml_cache.public}/main_build_recurse_ant.dita_with_id.xsl"/>
- <property name="main_build_recurse_ant.dita_with_id_raport.xml" value="${transformed.local}/main_build_recurse_ant.dita_with_id_raport.xml"/><!-- raport only for simpleSchema -->
-
-
- <property name="default_db.xml" value="${public_html}/default_db/default_db.xml"/>
- <property name="default_db.xml.get_url" value="${TargetNamespaceBindings}/SE/version-git/api.php/xml/xsd/default_db"/> <!-- TODO to be set -->
-
- <property name="TargetNamespaceBindings.xsl" value="${default_db_xml_cache.public}/system_cache__appinfo/TargetNamespaceBindings.xsl"/>
-
-
-
-
-
- <!-- important xsl templates another -->
- <property name="build_ant_universal_by_xsl_match.xsl" value="${default_db_xml_cache.public}/build_ant_universal_by_xsl_match.xsl"/>
-
- <!-- this is current dowloaded from API GET_ALL_XSD scehema of database to rebuild_structures and analysis etc...
- <xsl:variable name="URL" select="concat($api_url,'/dev-pl/se-feature-api/api.php/xml/xsd/',$db_name_prefix)"/>
- -->
-
-
-
- <!-- for WPS_Functions/default_db/CRM_PROCES_tree informations -->
- <!--<FeatureType xmlns:default_objects="https://biuro.biall-net.pl/wfs/default_objects">
- <Name>SystemProcess</Name>
- <Title>SystemProcess</Title>
- <Abstract>SystemProcess</Abstract>
- <Keywords>SystemProcess</Keywords>
- <SRS>EPSG:4326</SRS>
- </FeatureType>-->
- <property name="default_objects:SystemProces" value="default_objects:SystemProces"/> <!-- to retrieve SystemProces -->
-
-
- <!--<target name="detect_objects_parent_relations_clean">
- <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
- </target>-->
-
-
- <target name="save_build_properties" >
- <ant antfile="${build_WPS_Functions.xml}" inheritall="yes"/>
- <echoproperties destfile="${build_properties}" />
- </target>
-
- <!--<target name="read_build_properties_check">
- <!-\-<condition property="read_build_properties_check" taskname="save_build_properties" >
- <available file="${build_properties}"/>
- </condition>-\->
- <antcall target="save_build_properties"/>
- <loadproperties srcfile="${build_properties}"/>
- </target>-->
-
- <target name="read_build_properties">
- <loadproperties srcfile="${build_properties}"/>
- </target>
-
-
- <target name="procesy5_system_schema.xml_if_not_exists_check" description="to be called from procesy5_system_schema.xml_if_not_exists">
- <echo>Debug test relative property object_modeling_basedir=${object_modeling_basedir} </echo>
- <condition property="procesy5_system_schema.xml_if_not_exists_check" taskname="procesy5_system_schema.xml_if_not_exists">
- <available file="${procesy5_system_schema.xml}"/>
- </condition>
- </target>
-
- <target name="procesy5_system_schema.xml_if_not_exists" depends="procesy5_system_schema.xml_if_not_exists_check" unless="${procesy5_system_schema.xml_if_not_exists_check}" description="For external ant calls to be sure that xmlshema is generated if not - do it">
- <echo>procesy5_system_schema.xml_if_not_exists we do it by antcall procesy5_system_schema.xml </echo>
- <antcall target="procesy5_system_schema.xml"/>
- </target>
-
-
- <target name="procesy5_system_schema.xml" description="Generate procesy5_system_schema.xml and vrtfNamespaces.xml which can be not correct">
- <mkdir dir="${default_db.instance.xml}"/>
- <mkdir dir="${transformed.local}"/>
- <delete file="${procesy5_system_schema.xml}" failonerror="false"/>
- <echo> run ${get_all_xsd.xsl} with param procesy5_system_schema_collection_dir=${public_html}; </echo>
- <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
- <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="procesy5_system_schema_collection_dir" expression="${public_html}"/>
- <param name="cache" expression="refresh"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- <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="procesy5_system_schema_collection_dir" expression="${public_html}"/>
- <param name="cache" expression="refresh"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- </target>
-
- <target name="procesy5_system_schema.xml_complete" description="Generate procesy5_system_schema.xml and vrtfNamespaces.xml which can be not correct">
- <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}"/>
- <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
- <echo> run ${get_all_xsd.xsl} with param procesy5_system_schema_collection_dir=${public_html}; </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="procesy5_system_schema_collection_dir" expression="${public_html}"/>
- <param name="cache" expression="refresh"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
-
- <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="procesy5_system_schema_collection_dir" expression="${public_html}"/>
- <param name="cache" expression="refresh"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- </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 -->
- <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
- <delete file="${parse_schema_to_generate_id_raport.xml}"/>
- <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
- <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>
- <param name="vrtfNamespaces_file" 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}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- </target>
-
- <target name="NamespaceBinding.xml" description="To generate config for NamespaceBinding.xml for use in SimpleSchema for related features etc - correctly use namespace prefix and url for API requests">
- <xslt basedir="./" style="${TargetNamespaceBindings.xsl}" in="${procesy5_system_schema.xml}" destdir="./" out="${NamespaceBinding.xml}.temp.xml" force="true">
- <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}NamespaceBinding.xml"/>
- </factory>
- <param name="targetNamespace_DEFAULTS_prefix" expression="${targetNamespace_DEFAULTS_prefix}"/>
- <param name="targetNamespace_DEFAULTS_prefix_objects" expression="${targetNamespace_DEFAULTS_prefix_objects}"/>
- <param name="TargetNamespaceBindingsApiUrl" expression="${TargetNamespaceBindingsApiUrl}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
-
-
- </target>
-
- <target name="element_complexType.xml" depends="procesy5_system_schema.xml_complete,NamespaceBinding.xml" description=" generate list of elements and Complextype to generate flat and tr_map">
- <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>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- </target>
-
- <target name="build_complexType" depends="element_complexType.xml" description="we generate all complexType for all known elements and complexType in schema">
- <delete dir="${build_complexType.local}"/>
- <xslt basedir="./" style="${build_complexType.xsl}" in="${element_complexType.xml}" destdir="./" out="${build_complexType_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/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}element_complexType"/>
- </factory>
- <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_file" expression="${vrtfNamespaces.xml}"/>
- <param name="procesy5_system_schema_file" expression="${procesy5_system_schema.xml}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- </target>
-
- <target name="build_tr_map" depends="build_complexType" description="we generate all tr_map for all known elements and complexType in schema">
- <delete dir="${p5_tr_map.local}"/>
- <xslt basedir="./" style="${p5_tr_map.xsl}" in="${element_complexType.xml}" destdir="./" out="${build_tr_map_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/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/procesy5_translate_map.xsd}element_complexType_tr_map"/>
- </factory>
- <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_file" expression="${vrtfNamespaces.xml}"/>
- <param name="procesy5_system_schema_file" expression="${procesy5_system_schema.xml}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- </target>
-
- <!-- depends="build_tr_map" -->
- <target name="build_detect_resource_type" depends="build_tr_map" description="we generate detect_resource_type for use it for generate detect_objects_parent_relations">
- <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
- <delete file="${detect_resource_type.xml}"/>
- <xslt basedir="./" style="${detect_resource_type.xsl}" in="${empty.xml}" destdir="./" out="${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/initialTemplate" value="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport}detect_resource_type"/>
- </factory>
- <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_file" expression="${vrtfNamespaces.xml}"/>
- <param name="procesy5_system_schema_file" expression="${procesy5_system_schema.xml}"/>
- <param name="targetNamespace_DEFAULTS" expression="${targetNamespace_DEFAULTS}"/>
- <param name="NamespaceBinding.xml" expression="${NamespaceBinding.xml}"/> <!-- todo for better handle DefaultObjects etc -->
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- <!-- file:/Users/a.binder/Documents/xmlschema_procesy5/src-xmlschema/public_html/default_db.instance.xml/transformed/resources_tree_required_occurs_raport/detect_resource_type-\-http__x3A____x2F____x2F__biuro.biall__x2D__net.pl__x2F__xmlschema_procesy5__x2F__default_db.xml-->
- </target>
-
- <!-- depends="build_detect_resource_type" -->
- <target name="build_detect_objects_parent_relations" depends="build_detect_resource_type" description="we generate detect resources parent relations ">
- <delete dir="${detect_resource_type.local}"/>
- <delete file="${detect_objects_parent_relations.xml}"/>
-
- <xslt basedir="./" style="${detect_objects_parent_relations.xsl}" in="${detect_resource_type.xml}" destdir="./" out="${detect_objects_parent_relations.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}detect_resource_type"/>-->
- </factory>
- <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_file" expression="${vrtfNamespaces.xml}"/>
- <param name="procesy5_system_schema_file" expression="${procesy5_system_schema.xml}"/>
- <param name="targetNamespace_DEFAULTS" expression="${targetNamespace_DEFAULTS}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
-
- <!--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>
-
-
-
- <!-- depends="build_detect_objects_parent_relations" -->
- <target name="build_simpleSchema_for_recurse_ant" depends="build_detect_objects_parent_relations" description="we generate by using main_build_recurse_ant.dita_with_id.xsl simple transport map for use in interfaces and ant xml output">
- <delete dir="${simpleSchema.local}"/>
- <xslt basedir="./" style="${main_build_recurse_ant.dita_with_id.xsl}" in="${detect_objects_parent_relations.xml}" destdir="./" out="${main_build_recurse_ant.dita_with_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/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/system_cache/resources_tree_generate_xsl_require_occurs_raport}build_simpleSchema_for_recurse_ant"/>
- </factory>
- <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_file" expression="${vrtfNamespaces.xml}"/>
- <param name="procesy5_system_schema_file" expression="${procesy5_system_schema.xml}"/>
- <param name="targetNamespace_DEFAULTS" expression="${targetNamespace_DEFAULTS}"/>-->
- <param name="namespace_prefix" expression="${targetNamespace_DEFAULTS_prefix}"/>
- <param name="detect_resource_type_dir" expression="${detect_resource_type.local}"/>
- <param name="build_complexType_dir" expression="${build_complexType.local}"/>
- <param name="simpleSchema_dir" expression="${simpleSchema.local}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
-
- </target>
- <!--<target name="generate_ant_data_business_modules" description="generate modules specified in "/>
- <target name="read_db_structure" description="we read db structure to than analyze it against missing or not correct fields/tables/indexes "/>
- <target name="modify_uncorrect_structure" description="we add missing structure fields/tables/indexes "/>
- <target name="add_missing_structure" description="we add missing structure fields/tables/indexes "/>
- <target name="read_installed_business_objects" description="we read current installed business_objects to verify to update them (version)"/>
- <target name="update_installed_business_objects" description="we update current installed business_objects (version) and applying transaction apply template if some data need to be updated"/>
- <target name="install_business_objects" description="we install business_objects (version) and applying transaction apply template if some data need to be updated - rebuild references or instances "/>
- -->
-
-
-
-
- <target name="detect_objects_parent_relations_clean" description="piewsze czyszczenie - pewnie nie ma @id">
- <!--<exec command="make">
- <arg line="clean"/>
- </exec>-->
- <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
- <delete dir="${detect_resource_type.local}"/>
- <delete dir="${transformed.local}"/>
- <delete dir="${build_complexType.local}"/>
- <delete dir="${p5_tr_map.local}"/>
- <delete dir="${simpleSchema.local}"/>
- </target>
- <!--<target name="detect_objects_parent_relations" depends="detect_objects_parent_relations_clean" description="pierwsze szukanie relacji - moga nie miec @id">
- <!-\-<exec command="make" failifexecutionfails="no">
- <arg line="detect_objects_parent_relations"/>
- </exec>-\->
- <antcall target="build_complexType"/>
- <antcall target="build_tr_map"/>
- <antcall target="build_detect_resource_type"/>
- </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" depends="new-schema-with-ID-to-move-and-rename-to-xsd_test" if="${new-schema-with-ID-to-move-and-rename-to-xsd_exists}">
- <copy todir="${public_html}">
- <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}"/>
- </target>
-
-
- <!--<target name="detect_objects_parent_relations_clean_complete" if="${new-schema-with-ID-to-move-and-rename-to-xsd_complete_exists}" description="drugi raz czyscimy na czysto - z @id">
- <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
- <delete dir="${detect_resource_type.local}"/>
- <delete dir="${transformed.local}"/>
- <delete dir="${build_complexType.local}"/>
- <delete dir="${p5_tr_map.local}"/>
- <delete dir="${simpleSchema.local}"/>
- <!-\-<exec command="make">
- <arg line="clean"/>
- </exec>-\->
- </target>-->
- <!--<target name="new-schema-with-ID-to-move-and-rename-to-xsd_test_complete">
- <condition taskname="detect_objects_parent_relations_complete" property="new-schema-with-ID-to-move-and-rename-to-xsd_complete_exists">
- <available file="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
- </condition>
- </target>-->
-
- <!--<target name="detect_objects_parent_relations_complete" if="${new-schema-with-ID-to-move-and-rename-to-xsd_complete_exists}" depends="new-schema-with-ID-to-move-and-rename-to-xsd_test_complete,detect_objects_parent_relations_clean_complete" description=" tutaj juz sa skopiowane z @id">
- <!-\-<exec command="make">
- <arg line="detect_objects_parent_relations"/>
- </exec>-\->
- <!-\-<antcall target="build_complexType"/>
- <antcall target="build_tr_map"/>
- <antcall target="build_detect_resource_type"/>-\->
- <!-\-<antcall target="build_simpleSchema_for_recurse_ant"/> <!-\\- to wystarczy - wyzwala sie kolejno po dependency -\\->-\->
- </target>-->
-
- <target name="sync_p5_tr_map_with_se" depends="new-schema-with-ID-to-move-and-rename-to-xsd,build_simpleSchema_for_recurse_ant" description="syncrhonizacja wygenerowanych map z default_db.instance/p5_tr_map do SE/schema/public_instance/p5_tr_map">
- <delete dir="${p5_tr_map.remote}" failonerror="no"/>
- <!--<copydir src="${p5_tr_map.local}" dest="${p5_tr_map.remote}" />-->
- <mkdir dir="${p5_tr_map.remote}"/>
- <copy todir="${p5_tr_map.remote}">
- <fileset dir="${p5_tr_map.local}"/>
- </copy>
- <delete dir="${detect_resource_type.remote}" failonerror="no"/>
- <copy todir="${detect_resource_type.remote}">
- <fileset dir="${detect_resource_type.local}"/>
- </copy>
- <delete dir="${table.remote}" failonerror="no"/>
- <copy todir="${table.remote}">
- <fileset dir="${table.local}"/>
- </copy>
- <delete dir="${build_complexType.remote}" failonerror="no"/>
- <copy todir="${build_complexType.remote}">
- <fileset dir="${build_complexType.local}"/>
- </copy>
- <delete dir="${simpleSchema.remote}" failonerror="no"/>
- <copy todir="${simpleSchema.remote}">
- <fileset dir="${simpleSchema.local}"/>
- </copy>
-
- </target>
-
-
- </project>
|