| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project
- xmlns:p5build="http://biuro.biall-net.pl/xmlschema_procesy5/build.xsd"
- basedir="." name="p5build" default="sync_p5_tr_map_with_se.refresh"> <!-- 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>-->
-
-
-
- <include file="build.p5build.GLOBALS.xml"/>
-
- <include file="build.p5build.PRODUCT.xml"/><!--<include file="build_SE_basedir/build.p5build_SE.PRODUCT.name.xml"/>-->
- <include file="build_SE_basedir/build.p5build_SE.SYSTEM.xml" as="build_SE.SYSTEM"/>
- <include file="build.p5build.SYSTEM.xml"/>
- <include file="build.p5build.SYSTEM.transformed.xml" as="SYSTEM.transformed"/>
- <include file="WPS_Functions/build.WPS_Functions.PRODUCT.xml" optional="true"/>
-
- <include file="WPS_Functions/system_ui_info_speech/build_system_ui_info_speech.xml" as="p5suis" optional="true"/>
- <include file="Types/build.p5Type.PRODUCT.xml" optional="true"/>
- <include file="WPS_Functions/dita-to-ant/build.d2a.PRODUCT.xml" as="d2a"/>
- <include file="ant-object/build.ant-object.xml" as="ant-object"/>
- <!--moved to PRODUCT <property name="threadCount" value="3"/>
- <property name="debug_level_param" value="0"/>-->
- <!-- licence values are read from build_SE.xml-->
- <!--<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 -->
-
- <!--moved to PRODUCT <property name="XMLSchema_prefix" value="xs"/>
- <property name="public_html" location="${basedir}"/> <!-\- do wstawienia schematos -\->
- -->
-
-
-
- <!--<target name="detect_objects_parent_relations_clean">
- <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
- </target>-->
-
-
-
- <target name="self_repair">
- <description>To fix errors like: java.nio.file.AccessDeniedException: /opt/local/pl.procesy5/p5build_SE/temp/p5build_SE/p5build_SE.getpid1435546814.property </description>
- <echo>#51 will try to fix perms for dir ${p5build_SE.temp}
- for $p5build_SE.SYSTEM.local-user = ${p5build_SE.SYSTEM.local-user}
- dirs ${p5build_SE.SYSTEM.StandardOutPath}
- ${p5build_SE.SYSTEM.StandardErrorPath}
- p5build_SE.INSTALL_ROOT.temp = ${p5build_SE.INSTALL_ROOT.temp}
- p5build_SE.INSTALL_ROOT.temp.symlink = ${p5build_SE.INSTALL_ROOT.temp.symlink}
- </echo>
- <fail unless="p5build_SE.SYSTEM.local-user">- not set $p5build_SE.SYSTEM.local-user</fail>
- <chown owner="${p5build_SE.SYSTEM.local-user}" verbose="true">
-
- <fileset dir="${p5build_SE.INSTALL_ROOT.temp}" includes="*"/>
- <dirset dir="${p5build_SE.INSTALL_ROOT.temp}" includes="*"/>
-
- <fileset dir="${p5build_SE.temp}" includes="**/*"/>
- <dirset dir="${p5build_SE.temp}" includes="**/*"/>
-
- <fileset dir="${p5build_SE.SYSTEM.StandardOutPath}" includes="**/*"/>
- <dirset dir="${p5build_SE.SYSTEM.StandardOutPath}" includes="**/*"/>
- <fileset dir="${p5build_SE.SYSTEM.StandardErrorPath}" includes="**/*"/>
- <dirset dir="${p5build_SE.SYSTEM.StandardErrorPath}" includes="**/*"/>
- </chown>
- </target>
-
- <target name="CRM_LISTA_ZASOBOW.get_wfs_recurse_xsl.xml" description="to retrieve CRM_LISTA_ZASOBOW.get_wfs_recurse_xsl.xml to build typespecial_to_ref.xml">
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue" >
- <property name="p5suis:say_text" value="we check for fresh resources list from default database for add to models current process 5 references" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
-
- <property name="build_get_wfs_recurse_xsl" value="${WPS_Functions}/get_wfs_recurse_xsl/build_get_wfs_recurse_xsl.xml"/> <!-- TODO to be read by <ant antfile="${build_WPS_Functions.xml}" target="read_WPS_Functions.childproperties.builds"/> -->
- <ant antfile="${build_get_wfs_recurse_xsl}" target="bgwrx:check_if_file_older_than_minutes_and_call_action">
- <property name="bgwrx:check_if_file_older.max_minutes" value="1000000"/> <!-- 10000 -->
- <property name="bgwrx:check_if_file_older.call_action" value="CRM_LISTA_ZASOBOW.get_wfs_recurse_xsl.xml"/>
- <property name="bgwrx:check_if_file_older.file_to_check" value="${CRM_LISTA_ZASOBOW.get_wfs_recurse_xsl.xml}"/>
- </ant>
-
- </target>
-
- <target name="typespecial_to_ref.xml.clean" description="to delete typespecial_to_ref.xml and typespecial_to_ref_final.xml">
- <delete file="${typespecial_to_ref.xml}" failonerror="false"/>
- <delete file="${typespecial_to_ref_final.xml}" failonerror="false"/>
- </target>
-
-
-
-
- <target name="typespecial_to_ref.xml" description="generate 1 stage of detecting @ref from resources by type specials " depends="typespecial_to_ref.xml.clean"> <!-- save_build_properties,read_build_properties, -->
- <!--<exec executable="say" spawn="true" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="generate first stage of detecting references from resources by type specials"/>
- </exec>-->
-
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="generate first stage of detecting references from resources by type specials. " />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
-
- <xslt basedir="./" style="${typespecial_to_ref.xsl}" in="${CRM_LISTA_ZASOBOW.get_wfs_recurse_xsl.xml}" destdir="./" out="${typespecial_to_ref.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/typespecial_to_ref/typespecial_to_ref.xsd}typespecial_refererences"/>
- </factory>
- <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
- <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="NamespaceBinding.xml" expression="${NamespaceBinding.xml}"/>
- <param name="procesy5_system_schema.xml" expression="${procesy5_system_schema.xml}"/>
- <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}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- <echo> Complete </echo>
-
- </target>
-
- <target name="typespecial_to_ref_final.xml" description="generate final stage of detecting @ref from resources by type specials. Now we are able to merge objects and do all new objects calculations if needed" depends="typespecial_to_ref.xml"> <!-- save_build_properties,read_build_properties, -->
- <!--<exec executable="say" spawn="true" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="generate final stage of detecting references from resources by type specials - now we can merge object and after rebuild all system obbjects "/>
- </exec>-->
-
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="generate final stage of detecting references from resources by type specials - now we can merge object and after rebuild all system obbjects "/>
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
-
- <xslt basedir="./" style="${typespecial_to_ref.xsl}" in="${typespecial_to_ref.xml}" destdir="./" out="${typespecial_to_ref_final.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/typespecial_to_ref/typespecial_to_ref.xsd}typespecial_to_ref_final"/>
- </factory>
- <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
- <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="NamespaceBinding.xml" expression="${NamespaceBinding.xml}"/>
- <param name="procesy5_system_schema.xml" expression="${procesy5_system_schema.xml}"/>
- <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}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- <echo> Complete </echo>
-
- </target>
-
- <target name="typespecial_to_ref_final.xml_to_default_db" description="save imported schemas to database repository" depends="typespecial_to_ref.xml.clean,typespecial_to_ref_final.xml"> <!-- R save_build_properties,read_build_properties, -->
-
-
- <!--<exec executable="say" spawn="true" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="save imported schemas to database repository"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="save imported schemas to database repository" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- <xslt basedir="./" style="${typespecial_to_ref.xsl}" in="${typespecial_to_ref_final.xml}" destdir="./" out="${typespecial_to_ref_final.xml_to_default_db.report.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/typespecial_to_ref/typespecial_to_ref.xsd}to_default_db"/>
- </factory>
- <param name="procesy5_system_schema_collection_dir" expression="${basedir}"/>
- <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="NamespaceBinding.xml" expression="${NamespaceBinding.xml}"/>
- <param name="procesy5_system_schema.xml" expression="${procesy5_system_schema.xml}"/>
- <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}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- <echo> Complete </echo>
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="Completed type special references" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- </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="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>-->
-
- <!--R <target name="read_build_properties">
- <loadproperties srcfile="${build_properties}"/>
- <ant antfile="${build_SE.xml}" target="save_build_properties"/>
- <loadproperties srcfile="${build_SE.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="empty.xml" description="Builds empty.xml">
- <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
- </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=${basedir};
- $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>
- <!-- 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="${basedir}"/>
- <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>
- <!-- 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="${basedir}"/>
- <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="procesy5_system_schema.xml_complete" 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=${basedir}; </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="${basedir}"/>
- <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="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="procesy5_system_schema_collection_dir" expression="${basedir}"/>
- <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 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">
- <parallel threadcount="2">
- <sequential>
- <!--<exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="Generating Namespaces Binding to map models to API address"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="Generating Namespaces Binding to map models to API address" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
- </sequential>
- <sequential>
- <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}"/>
- <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
- <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="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="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="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="element_complexType.xml" depends="procesy5_system_schema.xml_complete,NamespaceBinding.xml,element_complexType.xml.single" description=" generate list of elements and Complextype to generate flat and tr_map">
- <!--<antcall target="element_complexType.xml.single" inheritall="yes"/>-->
- </target>
-
-
- <target name="build_element_complexType.xml.single" depends="element_complexType.xml.single,build_element_complexType.xml.single.task" description="Just element_complexType elements"> <!-- save_build_properties,read_build_properties, -->
- <!--<antcall target="build_element_complexType.xml.single.task" inheritall="yes"/>-->
- </target>
-
-
- <target name="build_element_complexType.xml.complete.test">
- <echo>testing if exist $build_element_complexType.xml.complete ${build_element_complexType.xml.complete}</echo>
- <!--<exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="Testing if ComplexType has beed completed?"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="Testing if ComplexType has beed completed?" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- <condition property="build_element_complexType.xml.complete.cond" taskname="build_element_complexType.xml.completel.cond">
- <available file="${build_element_complexType.xml.complete}"/>
- </condition>
- </target>
-
- <target name="build_element_complexType.xml.complete.cond" depends="build_element_complexType.xml.complete.test,build_element_complexType.xml.complete.fail,build_element_complexType.xml.complete.ok"/>
-
- <target name="build_element_complexType.xml.complete.fail" unless="${build_element_complexType.xml.complete.cond}">
- <echo> not aviabble file $build_element_complexType.xml.complete ${build_element_complexType.xml.complete} calling to build.single</echo>
- <!--<exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="need to build Complex Type!"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="need to build Complex Type!" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- <antcall target="build_element_complexType.xml.single.task"/>
- </target>
-
-
- <target name="build_element_complexType.xml.complete.ok" if="${build_element_complexType.xml.complete.cond}">
- <echo> are complete $build_element_complexType.xml.complete ${build_element_complexType.xml.complete} calling to build.single</echo>
- <!--<exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="Are complete!"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="Are complete!" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
- </target>
-
-
-
-
-
- <target name="build_element_complexType.xml.single.task" depends="SYSTEM.transformed.p5build.SYSTEM.transformed,save_build_properties" 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>
-
- <!-- depends="element_complexType.xml,save_build_properties,empty.xml" -->
- <target name="build_element_complexType.xml" depends="element_complexType.xml,empty.xml" description="generate build_element_complexType.xml for parallel launch"><!-- R save_build_properties,read_build_properties, -->
- <!--<antcall target="build_element_complexType.xml.single.task" inheritall="yes"/> lower should exec only conditionally-->
- <antcall target="build_element_complexType.xml.complete.cond" inheritall="yes"/>
- </target>
-
-
- <target name="delete.build_complexType.local" description="to optionally delete all created models build_complexType.local - not needed after failure so - optionally">
- <delete dir="${build_complexType.local}"/>
- </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>-->
- <!--depends="build_element_complexType.xml" depends="save_build_properties,read_build_properties"-->
- <target name="build_tr_map.xml" depends="build_element_complexType.xml" description="we generate all tr_map for all known elements and complexType in schema in parallel">
- <antcall target="build_tr_map.xml.single"/>
- </target>
-
- <target name="build_tr_map.xml.single" depends="element_complexType.xml.single" description="we generate all tr_map for all known elements and complexType in schema in parallel">
- <parallel threadcount="2">
- <sequential>
- <!--<sleep seconds="2"/>-->
- <!--<exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="deleting and generating transaction map by multi thread build list. To provide easy object engine calculations like creating simple schema"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="deleting and generating transaction map by multi thread build list. To provide easy object engine calculations like creating simple schema" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
-
- </sequential>
- <sequential>
- <echo> deleting build_tr_map.xml ${build_tr_map.xml} </echo>
- <delete file="${build_tr_map.xml}"/>
- <delete file="${build_tr_map.xml.complete}" failonerror="false"/>
- <xslt basedir="./" style="${build_ant_universal_by_xsl_match.xsl}" in="${element_complexType.xml}" destdir="./" out="${build_tr_map.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_tr_map.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="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}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
- </sequential>
- </parallel>
- <sequential>
- <!--<exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="executing build transaction map list by thread count ${threadCount}"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="executing build transaction map list by thread count ${threadCount}" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- <sleep seconds="2"/>
- <ant antfile="${build_tr_map.xml}"/>
- <!--<exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="transaction map complete"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="transaction map complete" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- <touch file="${build_tr_map.xml.complete}"/>
- </sequential>
- </target>
-
-
-
- <target name="delete.p5_tr_map.local" description="to use when refresh is needed after model change">
- <delete dir="${p5_tr_map.local}"/>
- </target>
-
- <!--<target name="build_tr_map" depends="build_element_complexType.xml" 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.xml" description="we generate detect_resource_type for use it for generate detect_objects_parent_relations">
- <antcall target="build_detect_resource_type.single"/>
- <!-- 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>
-
- <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="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_resource_type.single" description="we generate detect_resource_type for use it for generate detect_objects_parent_relations"> <!-- R depends="save_build_properties,read_build_properties" -->
-
- <antcall target="build_detect_resource_type.xml.single.task"/>
- <!-- todo -->
- <!--<delete file="${build_detect_resource_type.xml}"/>
- <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="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="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}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>
-
- <ant antfile="${build_detect_resource_type.xml}"/>-->
- <!--<exec executable="say" spawn="true" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="generating detect resource type xml - to allow generate compelte detect objects parent relations xml . with also calculation for every object in detect resource type directory"/>
- </exec>
- <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}" 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_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.xml" 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 -\->
- <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
- <param name="vrtfNamespaces_file" expression="${vrtfNamespaces.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}"/>
- <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 resource type single"/>
- </exec>-->
- <!-- 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 -to dir detect_resource_type ">
-
- <antcall target="build_detect_objects_parent_relations.single"/>
-
- <!--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="detect_resource_type.xml.test">
- <echo>testing if exist $detect_resource_type.xml</echo>
- <condition property="build_detect_resource_type.complete.cond" taskname="detect_resource_type.xml.cond">
- <available file="${build_detect_resource_type.complete}"/>
- </condition>
- </target>
-
- <target name="detect_resource_type.xml.cond" depends="detect_resource_type.xml.test,detect_resource_type.xml.fail"/>
-
- <target name="detect_resource_type.xml.fail" unless="${build_detect_resource_type.complete.cond}">
- <echo> not aviabble file $build_detect_resource_type.complete ${build_detect_resource_type.complete} calling to build.single</echo>
- <!--<exec executable="say" spawn="true" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="need to generate detect resource type xml"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="need to generate detect resource type xml" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- <antcall target="build_detect_resource_type.single"/>
- </target>
-
-
-
-
-
-
- <target name="build_detect_objects_parent_relations.single" depends="detect_resource_type.xml.cond" 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="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>
-
-
- <!--disabled at 2018-01-05 single pass is faster <target name="build_detect_objects_parent_relations.single.task" depends="save_build_properties,read_build_properties,element_complexType.xml.single" description="Just build build_detect_objects_parent_relations.xml ">
-
- <parallel threadcount="2">
- <sequential>
- <exec executable="say" spawn="true" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="generating multi thread build lists for detect parent relations "/>
- </exec>
- </sequential>
- <sequential>
- <delete file="${build_detect_objects_parent_relations.xml}" failonerror="false"/>
- <delete file="${build_detect_objects_parent_relations.complete}" failonerror="false"/>
- <mkdir dir="${detect_objects_parent_relations.local}"/>
-
- <xslt basedir="./" style="${build_ant_universal_by_xsl_match.xsl}" in="${element_complexType.xml}" destdir="./" out="${build_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/initialMode" value="build_detect_objects_parent_relations.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="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>
- <!-\-<delete dir="${build_complexType.local}"/>-\->
- <ant antfile="${build_detect_objects_parent_relations.xml}"/>
- <touch file="${build_detect_objects_parent_relations.complete}"/>
- <exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="generating relations types complete"/>
- </exec>
- </sequential>
- </parallel>
- </target>-->
-
-
- <target name="delete.detect_resource_type.local" description="to optionaly delete all p5_tr_map - not use when crashed">
- <delete dir="${detect_resource_type.local}"/>
- </target>
-
- <target name="detect_objects_parent_relations.xml.test" description="to detect if created ${detect_objects_parent_relations.xml}">
- <condition property="detect_objects_parent_relations.xml.cond" taskname="detect_objects_parent_relations.xml.cond">
- <available file="${detect_objects_parent_relations.xml}"/>
- </condition>
- </target>
-
- <target name="detect_objects_parent_relations.xml.cond" depends="detect_objects_parent_relations.xml.test,detect_objects_parent_relations.xml.fail" description="to detect if created ${detect_objects_parent_relations.xml}"/>
-
- <target name="detect_objects_parent_relations.xml.fail" unless="${detect_objects_parent_relations.xml.cond}" >
- <echo> not aviable $detect_objects_parent_relations.xml ${detect_objects_parent_relations.xml} generating single </echo>
- <antcall target="build_detect_objects_parent_relations.single"/>
- </target>
-
-
- <!-- depends="build_detect_objects_parent_relations" depends="save_build_properties,read_build_properties" -->
- <target name="build_simpleSchema_for_recurse_ant.single" > <!-- R depends="save_build_properties,read_build_properties" -->
- <parallel threadcount="2">
- <sequential>
- <!--<exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="deleting and generating simple schema to provide easy object access by wfs filters"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="deleting and generating simple schema to provide easy object access by wfs filters" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
- </sequential>
- <sequential>
- <delete dir="${simpleSchema.local}"/>
- <delete file="${build_simpleSchema_for_recurse_ant.single.complete}" failonerror="false"/>
- <!--<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}" 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/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}"/>
- <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}"/>
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
- </xslt>-->
-
- <antcall target="build_simpleSchema_for_recurse_ant.single.task"/>
-
- <!--<exec executable="say" spawn="true" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="complete build simpleSchema for recurse ant single"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="complete build simpleSchema for recurse ant single" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- </sequential>
- </parallel>
- </target>
-
-
- <target name="build_simpleSchema_for_recurse_ant.single.task" description="Build simple Schema by multithread "> <!-- 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 Simple Schema " />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- </sequential>
- <sequential>
- <delete file="${build_SimpleSchema.xml}" failonerror="false"/>
- <delete file="${build_simpleSchema_for_recurse_ant.single.complete}" failonerror="false"/>
-
- <xslt basedir="./" style="${build_ant_universal_by_xsl_match.xsl}" in="${element_complexType.xml}" destdir="./" out="${build_SimpleSchema.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_SimpleSchema.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="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 Simple Schema by thread count ${threadCount}" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
-
- <!--<delete dir="${build_complexType.local}"/>-->
- <ant antfile="${build_SimpleSchema.xml}"/>
- <touch file="${build_simpleSchema_for_recurse_ant.single.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 Simple Schema complete" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- </sequential>
- </parallel>
- </target>
-
-
- <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">
- <antcall target="build_simpleSchema_for_recurse_ant.single"/>
- <touch file="${build_simpleSchema_for_recurse_ant.single.complete}"/>
- </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 file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
- <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="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="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="${basedir}">
- <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="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.recomplete" description="when deleted something - use this option to try to regenerate missed">
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="Try to regenerete deleted cache files" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
-
- <delete file="${build_simpleSchema_for_recurse_ant.single.complete}" failonerror="false"/>
- <delete file="${build_element_complexType.xml.complete}" failonerror="false"/>
- <delete file="${build_tr_map.xml.complete}" failonerror="false"/>
-
- <antcall target="sync_p5_tr_map_with_se"/>
-
-
- </target>
-
- <target name="sync_p5_tr_map_with_se.refresh" depends="build_SE.SYSTEM.build_SE.SYSTEM" description="to force delete delete.build_complexType.local after modifications of schema. Not use after crash">
-
- <parallel failonany="true" threadCount="3">
- <sequential>
- <!--<exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="deleting all generated cached objects"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="deleting all generated cached objects" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- </sequential>
- <sequential>
- <delete file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
- <delete file="${build_simpleSchema_for_recurse_ant.single.complete}" failonerror="false"/>
- <delete file="${build_element_complexType.xml.complete}" failonerror="false"/>
- <delete file="${build_tr_map.xml.complete}" failonerror="false"/>
- <delete file="${build_detect_objects_parent_relations.complete}"/>
- <delete file="${build_detect_resource_type.complete}"></delete>
- </sequential>
- <sequential>
- <antcall target="delete.build_complexType.local"/>
- </sequential>
- <sequential>
- <antcall target="delete.detect_resource_type.local"/>
- </sequential>
- <sequential>
- <antcall target="delete.p5_tr_map.local"/>
- </sequential>
- </parallel>
-
- <sequential>
- <antcall target="sync_p5_tr_map_with_se"/>
- </sequential>
- <sequential>
- <antcall target="typespecial_to_ref.xml.clean"/>
- </sequential>
-
- <!--<exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="full refresh sync process 5 with SE complete"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue" >
- <property name="p5suis:say_text" value="full refresh sync process 5 with SE complete" />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- </target>
-
- <target name="sync_p5_tr_map_with_se" depends="sync_p5_tr_map_with_se.logged.start,new-schema-with-ID-to-move-and-rename-to-xsd,build_simpleSchema_for_recurse_ant,p5_make_symlink_to_work_in_default_db.in7_dziennik_koresp,sync_p5_tr_map_with_se.logged.stop" description="syncrhonizacja wygenerowanych map z default_db.instance/p5_tr_map do SE/schema/public_instance/p5_tr_map"> <!-- R save_build_properties,read_build_properties, -->
- <parallel failonany="true" threadCount="3">
- <sequential>
- <!--<exec executable="say" failifexecutionfails="false">
- <arg line="-v alex"/>
- <arg line="deleting all cached complexType transactions maps and parent relations. "/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="deleting all remote cached complexType transactions maps and parent relations. DISABLED DUE TO MIGRATION TO ONE SYSTEM " />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
- <!--
- <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}"/>
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="Copying to remote all cached files" />
- </ant>
- <!-\-<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-\->
-
- <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>-->
- </sequential>
- <!-- <sequential>
- <delete dir="${table.remote}" failonerror="no"/>
- <copy todir="${table.remote}">
- <fileset dir="${table.local}"/>
- </copy>
- </sequential>
- <sequential>
- <delete dir="${build_complexType.remote}" failonerror="no"/>
- <copy todir="${build_complexType.remote}">
- <fileset dir="${build_complexType.local}"/>
- </copy>
- </sequential>
- <sequential>
- <delete dir="${simpleSchema.remote}" failonerror="no"/>
- <copy todir="${simpleSchema.remote}">
- <fileset dir="${simpleSchema.local}"/>
- </copy>
- </sequential>-->
- </parallel>
- </target>
-
- <target name="sync_p5_tr_map_with_se.logged.start" >
- <echo>record name="${p5build.SYSTEM.StandardOutPath}" action="start" append="true"</echo>
- <echo>record name="${p5build.SYSTEM.StandardErrorPath}" action="start" append="true" loglevel="warning"</echo>
- <record name="${p5build.SYSTEM.StandardOutPath}" action="start" append="false"/>
- <record name="${p5build.SYSTEM.StandardErrorPath}" action="start" append="false" loglevel="warning"/>
- </target>
- <target name="sync_p5_tr_map_with_se.logged.stop" >
- <record name="${p5build.SYSTEM.StandardOutPath}" action="stop" />
- <record name="${p5build.SYSTEM.StandardErrorPath}" action="stop" />
- </target>
-
-
- <target name="p5_make_symlink_to_work_in_default_db.in7_dziennik_koresp" description="temporary to allow work with paths cheating and create on SE/schema/default_db.in7_dziennik_koresp symlink to ../WPS_Functions/get_wfs/ etc...">
- <echo> ln -s ${remote.default_db.in7_dziennik_koresp}/CRM_PROCES_tree/CRM_PROCES_tree ../../WPS_Functions/default_db/CRM_PROCES_tree</echo>
- <!--<exec executable="ln" dir="${default_db.instance.xml.symlink}/CRM_PROCES_tree" >
- <arg line="-s ../WPS_Functions/default_db/CRM_PROCES_tree"/>
- </exec>-->
- <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
- <property name="p5suis:say_text" value="Symlink extra to corespondence task - to be removed " />
- </ant>
- <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
-
- <symlink link="${remote.default_db.in7_dziennik_koresp}/CRM_PROCES_tree" resource="../../WPS_Functions/default_db/CRM_PROCES_tree" overwrite="true"/>
- <!--Cannot find /Users/a.binder/Documents/se/SE/schema/ant-url_action/build.WPS_Functions.SYSTEM.xml imported from /Users/a.binder/Documents/se/SE/schema/ant-url_action/get_wfs/build.get_wfs.SYSTEM.xml-->
- <symlink link="${remote.ant-url_action}/build.WPS_Functions.SYSTEM.xml" resource="../WPS_Functions/build.WPS_Functions.SYSTEM.xml" overwrite="true"/>
- <symlink link="${remote.ant-url_action}/build.WPS_Functions.PRODUCT.xml" resource="../WPS_Functions/build.WPS_Functions.PRODUCT.xml" overwrite="true"/>
- <symlink link="${remote.ant-url_action}/build_WPS_Function_basedir.xml" resource="../WPS_Functions/build_WPS_Function_basedir.xml" overwrite="true"/>
- <symlink link="${remote.ant-url_action}/build_WPS_Function_properties.xml" resource="../WPS_Functions/build_WPS_Function_properties.xml" overwrite="true"/>
- <symlink link="${remote.ant-url_action}/username_and_pass_from_passwordBase64Basic" resource="../WPS_Functions/username_and_pass_from_passwordBase64Basic" overwrite="true"/>
- <symlink link="${remote.ant-url_action}/get_wfs" resource="../WPS_Functions/get_wfs" overwrite="true"/>
- </target>
-
-
-
- <target name="p5_make_symlink_to_work_in_default_db.bi_audit_energa_rum_kontrahenci_powiazania" description="temporary to allow work with paths cheating and create on SE/schema/default_db.bi_audit_energa_rum_kontrahenci_powiazania symlink to ../WPS_Functions/get_wfs/ etc...">
- <echo> ln -s ${remote.default_db.bi_audit_energa_rum_kontrahenci_powiazania}/CRM_PROCES_tree/CRM_PROCES_tree ../../WPS_Functions/default_db/CRM_PROCES_tree</echo>
- <mkdir dir="${remote.default_db.bi_audit_energa_rum_kontrahenci_powiazania}"/>
- <symlink link="${remote.default_db.in7_dziennik_koresp}/CRM_PROCES_tree" resource="../../WPS_Functions/default_db/CRM_PROCES_tree" overwrite="true"/>
- </target>
-
-
-
-
- </project>
|