build_automation_driven.xml 91 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:automation_driven="http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd"
  3. basedir="../../."
  4. default="default"
  5. name="automation_driven">
  6. <include as="PRODUCT" file="build.automation_driven.PRODUCT.xml"/>
  7. <include as="SYSTEM" file="build.automation_driven.SYSTEM.xml"/>
  8. <include as="INSTALL" file="build.automation_driven.INSTALL.xml"/>
  9. <include as="${local.p5ant.WPS_Functions.PRODUCT.module.input}"
  10. file="build.automation_driven.${local.p5ant.WPS_Functions.PRODUCT.module.input}.xml"
  11. optional="yes"/>
  12. <include as="WPS_Functions" file="../build.WPS_Functions.PRODUCT.xml"/>
  13. <!--<include file="../system_ui_info_speech/build.system_ui_info_speech.PRODUCT.xml"/>-->
  14. <include file="../system_ui_info_speech/build_system_ui_info_speech.xml" as="p5suis" optional="false"/>
  15. <extension-point name="default.default" depends="default"/>
  16. <extension-point name="default" depends="PRODUCT.PRODUCT,INSTALL.INSTALL"/>
  17. <target name="xsl-test"
  18. description="test usage of default xslt template for module">
  19. <xslt basedir="${automation_driven.basedir}"
  20. destdir="${automation_driven.temp}"
  21. force="true"
  22. in="${automation_driven.INSTALL.install_example}"
  23. out="${automation_driven.temp}/INSTALL.install_example.xsl-test.xml"
  24. style="${automation_driven.xsl}">
  25. <factory name="net.sf.saxon.TransformerFactoryImpl">
  26. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  27. <attribute name="http://saxon.sf.net/feature/initialMode"
  28. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}INSTALL.install_example.xsl-test.xml"/>
  29. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  30. value="true"/>
  31. </factory>
  32. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
  33. expression="${automation_driven.basedir}"/>
  34. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
  35. expression="${automation_driven.repository}"/>
  36. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
  37. expression="${automation_driven.temp}"/>
  38. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  39. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  40. </xslt>
  41. </target>
  42. <target name="procesy5_system_schema.xml" depends="empty.xml" description="Generate procesy5_system_schema.xml and vrtfNamespaces.xml which can be not correct">
  43. <sleep seconds="2"/>
  44. <!--<exec executable="say" spawn="true" failifexecutionfails="false">
  45. <arg line="-v alex"/>
  46. <arg line="Generating process 5 system schema"/>
  47. </exec>-->
  48. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  49. <property name="p5suis:say_text" value="Generating process 5 system schema" />
  50. </ant>
  51. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  52. <antcall target="delete.external_schema_table.path"/>
  53. <mkdir dir="${default_db.instance.xml}"/>
  54. <mkdir dir="${transformed.local}"/>
  55. <delete file="${procesy5_system_schema.xml}" failonerror="false"/>
  56. <delete dir="${procesy5_system_schema.xml}" failonerror="false"/>
  57. <echo>#242 run ${get_all_xsd.xsl} with param procesy5_system_schema_collection_dir=${procesy5_system_schema_collection_dir};
  58. $basedir = ${basedir}
  59. $default_db.dir = ${default_db.dir}
  60. $external_schema_table.path = ${external_schema_table.path}
  61. </echo>
  62. <!-- ${get_all_xsd.xsl} d2a__x3A__p5xsl__x3A__p5CPTpm.xsl-->
  63. <xslt basedir="./" style="${get_all_xsd.xsl}" in="${empty.xml}" destdir="./" out="${procesy5_system_schema.xml}" >
  64. <factory name="net.sf.saxon.TransformerFactoryImpl">
  65. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  66. <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"/>
  67. </factory>
  68. <param name="ignore_SVG.xsd" expression="true"/>
  69. <!-- d2a -->
  70. <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
  71. <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
  72. <param name="external_schema" expression="${external_schema}"/>
  73. <param name="d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl" expression="${d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl}"/>
  74. <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=""/>
  75. <param name="temp" expression="${p5build.temp}"/>
  76. <param
  77. name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.param.xsl"
  78. expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.param.xsl}"/>
  79. <param
  80. name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.xsl"
  81. expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.xsl}"/>
  82. <!-- EOF d2a -->
  83. <param name="procesy5_system_schema_collection_dir" expression="${procesy5_system_schema_collection_dir}"/>
  84. <param name="cache" expression="refresh"/>
  85. <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
  86. <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
  87. <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
  88. <param name="default_db.dir" expression="${default_db.dir}"/>
  89. <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
  90. <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
  91. <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
  92. <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}"/>
  93. <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
  94. <param name="basedir" expression="${basedir}"/>
  95. <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
  96. <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
  97. <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
  98. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  99. </xslt>
  100. <sequential>
  101. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  102. <property name="p5suis:say_text" value="analyzing process 5 schema namespaces" />
  103. </ant>
  104. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  105. <!--<exec executable="say" spawn="true" failifexecutionfails="false">
  106. <arg line="-v alex"/>
  107. <arg line="analyzing process 5 schema namespaces"/>
  108. </exec>-->
  109. <delete file="${vrtfNamespaces.xml}"/>
  110. <xslt basedir="./" style="${get_all_xsd.xsl}" in="${procesy5_system_schema.xml}" destdir="./" out="${vrtfNamespaces.xml}" >
  111. <factory name="net.sf.saxon.TransformerFactoryImpl">
  112. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  113. <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}vrtfNamespaces"/>
  114. </factory>
  115. <param name="ignore_SVG.xsd" expression="true"/>
  116. <!-- d2a -->
  117. <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
  118. <param name="external_schema" expression="${external_schema}"/>
  119. <param name="d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl" expression="${d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl}"/>
  120. <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=""/>
  121. <param name="basedir" expression="${basedir}"/>
  122. <param name="temp" expression="${p5build.temp}"/>
  123. <param
  124. name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.param.xsl"
  125. expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.param.xsl}"/>
  126. <param
  127. name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.xsl"
  128. expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.xsl}"/>
  129. <!-- EOF d2a -->
  130. <param name="procesy5_system_schema_collection_dir" expression="${procesy5_system_schema_collection_dir}"/>
  131. <param name="cache" expression="refresh"/>
  132. <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
  133. <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
  134. <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
  135. <param name="default_db.dir" expression="${default_db.dir}"/>
  136. <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
  137. <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
  138. <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
  139. <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}"/>
  140. <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
  141. <param name="default_db.dir" expression="${default_db.dir}"/>
  142. <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
  143. <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
  144. <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
  145. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  146. </xslt>
  147. <sleep seconds="1"/>
  148. </sequential>
  149. </target>
  150. <target name="empty.xml" description="Builds empty.xml">
  151. <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
  152. </target>
  153. <target name="vrtfNamespaces.xml" description="Procedure to create vrtfNamespaces.xml - used in some tasks especially in generate schema with id">
  154. <parallel threadcount="2">
  155. <sequential>
  156. <!--<exec executable="say" failifexecutionfails="false">
  157. <arg line="-v alex"/>
  158. <arg line="Generating namspaces list "/>
  159. </exec>-->
  160. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  161. <property name="p5suis:say_text" value="Generating namspaces list" />
  162. </ant>
  163. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  164. </sequential>
  165. <sequential>
  166. <delete file="${vrtfNamespaces.xml}"/>
  167. <xslt basedir="./" style="${get_all_xsd.xsl}" in="${procesy5_system_schema.xml}" destdir="./" out="${vrtfNamespaces.xml}" >
  168. <factory name="net.sf.saxon.TransformerFactoryImpl">
  169. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  170. <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}vrtfNamespaces"/>
  171. </factory>
  172. <param name="ignore_SVG.xsd" expression="true"/>
  173. <param name="procesy5_system_schema_collection_dir" expression="${procesy5_system_schema_collection_dir}"/>
  174. <param name="cache" expression="refresh"/>
  175. <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
  176. <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
  177. <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
  178. <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
  179. <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
  180. <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
  181. <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}"/>
  182. <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
  183. <param name="basedir" expression="${basedir}"/>
  184. <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
  185. <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
  186. <param name="default_db.dir" expression="${default_db.dir}"/>
  187. <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
  188. <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
  189. <param name="external_schema" expression="${external_schema}"/>
  190. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  191. </xslt>
  192. </sequential>
  193. </parallel>
  194. </target>
  195. <target name="generate_schema_with_id" depends="procesy5_system_schema.xml" description="first we generate schema to check if all have correct ID">
  196. <!-- schema @id fixing -->
  197. <parallel threadcount="2">
  198. <sequential>
  199. <!--<sleep seconds="3"/>-->
  200. <!--<exec executable="say" failifexecutionfails="false">
  201. <arg line="-v alex"/>
  202. <arg line="Checking schema for correnct id attributes if not generating them"/>
  203. </exec>-->
  204. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  205. <property name="p5suis:say_text" value="Checking schema for correnct id attributes if not generating them" />
  206. </ant>
  207. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  208. </sequential>
  209. <sequential>
  210. <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
  211. <delete file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
  212. <delete file="${parse_schema_to_generate_id_raport.xml}"/>
  213. <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
  214. <echo>#406 xslt ${parse_schema_to_generate_id.xsl}</echo>
  215. <xslt basedir="./" style="${parse_schema_to_generate_id.xsl}" in="${empty.xml}" destdir="./" out="${parse_schema_to_generate_id_raport.xml}" >
  216. <factory name="net.sf.saxon.TransformerFactoryImpl">
  217. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  218. <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"/>
  219. </factory>
  220. <!-- d2a -->
  221. <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
  222. <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
  223. <param name="external_schema" expression="${external_schema}"/>
  224. <param name="d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl" expression="${d2a__x3A__p5xsl__x3A__p5CPTpm.limited_import.xsl}"/>
  225. <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=""/>
  226. <param name="temp" expression="${p5build.temp}"/>
  227. <param
  228. name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.param.xsl"
  229. expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.param.xsl}"/>
  230. <param
  231. name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/ant_interface/ant_interface.xsd}fast_fix_param.xsl"
  232. expression="${p5xsl__x3A__p5ant-interface.fast_fix_param.xsl}"/>
  233. <!-- EOF d2a -->
  234. <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
  235. <param name="procesy5_system_schema_file" expression="${procesy5_system_schema.xml}"/>
  236. <param name="targetNamespace_DEFAULTS" expression="${targetNamespace_DEFAULTS}"/>
  237. <param name="new-schema-with-ID-to-move-and-rename-to-xsd" expression="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
  238. <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
  239. <param name="default_db.dir" expression="${default_db.dir}"/>
  240. <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
  241. <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
  242. <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
  243. <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
  244. <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}"/>
  245. <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
  246. <param name="basedir" expression="${basedir}"/>
  247. <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
  248. <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
  249. <!--<param name="vrtfNamespaces_file" expression="${vrtfNamespaces.xml}"/>-->
  250. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  251. </xslt>
  252. <antcall target="p5suis.p5suis.say_to_queue.copy_file.drop_overflow" >
  253. <param name="p5suis.say_to_queue.copy_file" value="${parse_schema_to_generate_id_raport.xml}"/>
  254. </antcall>
  255. <echo>#466 check what were missing in no-id directory</echo>
  256. <sleep seconds="3"/>
  257. </sequential>
  258. </parallel>
  259. </target>
  260. <target depends="generate_schema_with_id" name="new-schema-with-ID-to-move-and-rename-to-xsd_test">
  261. <condition taskname="new-schema-with-ID-to-move-and-rename-to-xsd" property="new-schema-with-ID-to-move-and-rename-to-xsd_exists">
  262. <available file="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
  263. </condition>
  264. </target>
  265. <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" />
  266. <target name="new-schema-with-ID-to-move-and-rename-to-xsd.if_not_complete.test">
  267. <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">
  268. <available file="${procesy5_system_schema.complete}"/>
  269. </condition>
  270. </target>
  271. <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}" />
  272. <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}">
  273. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  274. <property name="p5suis:say_text" value="need to generate schema with id" />
  275. </ant>
  276. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  277. </target>
  278. <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}"/>
  279. <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, -->
  280. <parallel failonany="true" threadCount="2">
  281. <sequential>
  282. <!--<exec executable="say" failifexecutionfails="false">
  283. <arg line="-v alex"/>
  284. <arg line="need to generate schema with id"/>
  285. </exec>-->
  286. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  287. <property name="p5suis:say_text" value="need to generate schema with id" />
  288. </ant>
  289. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  290. </sequential>
  291. <sequential>
  292. <copy todir="${procesy5_system_schema_collection_dir}">
  293. <fileset dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
  294. </copy>
  295. <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}"/>
  296. <delete file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
  297. </sequential>
  298. </parallel>
  299. <sequential>
  300. <antcall target="procesy5_system_schema.xml"/> <!-- saved files are not in current schema - need to regenerate -->
  301. <antcall target="vrtfNamespaces.xml"/>
  302. <!--<exec executable="say" spawn="true" failifexecutionfails="false">
  303. <arg line="-v alex"/>
  304. <arg line="generated schema with id complete"/>
  305. </exec>-->
  306. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  307. <property name="p5suis:say_text" value="generated schema with id complete" />
  308. </ant>
  309. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  310. </sequential>
  311. </target>
  312. <target name="procesy5_system_schema.xml_complete" depends="new-schema-with-ID-to-move-and-rename-to-xsd" description="Generate procesy5_system_schema.xml and vrtfNamespaces.xml which can be not correct">
  313. <sequential>
  314. <sleep seconds="2"/>
  315. <!--<exec executable="say" spawn="true" failifexecutionfails="false">
  316. <arg line="-v alex"/>
  317. <arg line="generating complete process 5 system schema"/>
  318. </exec>-->
  319. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  320. <property name="p5suis:say_text" value="generating complete process 5 system schema" />
  321. </ant>
  322. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  323. <mkdir dir="${default_db.instance.xml}"/>
  324. <mkdir dir="${transformed.local}"/>
  325. <delete file="${procesy5_system_schema.xml}" failonerror="false"/>
  326. <delete dir="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
  327. <delete file="${new-schema-with-ID-to-move-and-rename-to-xsd}" failonerror="false"/>
  328. <echoxml file="${empty.xml}"><empty>empty</empty></echoxml>
  329. <echo> run ${get_all_xsd.xsl} with param procesy5_system_schema_collection_dir=${procesy5_system_schema_collection_dir}; </echo>
  330. <xslt basedir="./" style="${get_all_xsd.xsl}" in="${empty.xml}" destdir="./" out="${procesy5_system_schema.xml}" >
  331. <factory name="net.sf.saxon.TransformerFactoryImpl">
  332. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  333. <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"/>
  334. </factory>
  335. <param name="ignore_SVG.xsd" expression="true"/>
  336. <param name="procesy5_system_schema_collection_dir" expression="${procesy5_system_schema_collection_dir}"/>
  337. <param name="cache" expression="refresh"/>
  338. <param name="external_schema" expression="${external_schema}"/>
  339. <param name="external_schema_id_namespace_prefix" expression="${external_schema_id_namespace_prefix}"/>
  340. <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
  341. <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
  342. <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
  343. <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
  344. <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
  345. <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
  346. <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}"/>
  347. <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
  348. <param name="basedir" expression="${basedir}"/>
  349. <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
  350. <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
  351. <param name="default_db.dir" expression="${default_db.dir}"/>
  352. <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
  353. <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
  354. <param name="external_schema" expression="${external_schema}"/>
  355. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  356. </xslt>
  357. </sequential>
  358. <sleep seconds="1"/>
  359. <antcall target="vrtfNamespaces.xml"/>
  360. </target>
  361. <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">
  362. <parallel threadcount="2">
  363. <sequential>
  364. <!--<exec executable="say" failifexecutionfails="false">
  365. <arg line="-v alex"/>
  366. <arg line="Generating Namespaces Binding to map models to API address"/>
  367. </exec>-->
  368. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  369. <property name="p5suis:say_text" value="Generating Namespaces Binding to map models to API address" />
  370. </ant>
  371. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  372. </sequential>
  373. <sequential>
  374. <xslt basedir="./" style="${TargetNamespaceBindings.xsl}" in="${procesy5_system_schema.xml}" destdir="./" out="${NamespaceBinding.xml}" force="true">
  375. <factory name="net.sf.saxon.TransformerFactoryImpl">
  376. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  377. <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}NamespaceBinding.xml"/>
  378. </factory>
  379. <param name="targetNamespace_DEFAULTS_prefix" expression="${targetNamespace_DEFAULTS_prefix}"/>
  380. <param name="targetNamespace_DEFAULTS_prefix_objects" expression="${targetNamespace_DEFAULTS_prefix_objects}"/>
  381. <param name="TargetNamespaceBindingsApiUrl" expression="${TargetNamespaceBindingsApiUrl}"/>
  382. <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
  383. <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
  384. <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
  385. <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
  386. <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
  387. <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
  388. <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}"/>
  389. <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
  390. <param name="basedir" expression="${basedir}"/>
  391. <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
  392. <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
  393. <param name="default_db.dir" expression="${default_db.dir}"/>
  394. <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
  395. <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
  396. <param name="external_schema" expression="${external_schema}"/>
  397. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  398. </xslt>
  399. </sequential>
  400. </parallel>
  401. </target>
  402. <target name="element_complexType.xml.single" description="SINGLE generate list of elements and Complextype to generate flat and tr_map">
  403. <parallel threadcount="2">
  404. <sequential>
  405. <!--<exec executable="say" failifexecutionfails="false">
  406. <arg line="-v alex"/>
  407. <arg line="generating xml object list from system schema to provide making multi thread build lists for complex Types and transaction maps and others "/>
  408. </exec>-->
  409. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  410. <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" />
  411. </ant>
  412. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  413. </sequential>
  414. <sequential>
  415. <delete file="${element_complexType.xml}"/>
  416. <xslt basedir="./" style="${get_all_xsd.xsl}" in="${procesy5_system_schema.xml}" destdir="./" out="${element_complexType.xml}" >
  417. <factory name="net.sf.saxon.TransformerFactoryImpl">
  418. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  419. <attribute name="http://saxon.sf.net/feature/initialMode" value="{http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd}element_complexType"/>
  420. </factory>
  421. <param name="ignore_SVG.xsd" expression="true"/>
  422. <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
  423. <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
  424. <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
  425. <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
  426. <param name="debug_level_param" expression="${debug_level_param}"/>
  427. <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
  428. <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
  429. <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
  430. <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
  431. <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}"/>
  432. <param name="basedir" expression="${basedir}"/>
  433. <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
  434. <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
  435. <param name="default_db.dir" expression="${default_db.dir}"/>
  436. <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
  437. <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
  438. <param name="external_schema" expression="${external_schema}"/>
  439. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  440. </xslt>
  441. </sequential>
  442. </parallel>
  443. </target>
  444. <target name="build_element_complexType.xml.single.task" depends="p5build.SYSTEM.transformed,save_build_properties,element_complexType.xml.single" description="Just element_complexType elements"> <!-- R save_build_properties,read_build_properties, -->
  445. <parallel threadcount="2">
  446. <sequential>
  447. <!--<exec executable="say" failifexecutionfails="false">
  448. <arg line="-v alex"/>
  449. <arg line="generating multi thread build lists for complex Types "/>
  450. </exec>-->
  451. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  452. <property name="p5suis:say_text" value="generating multi thread build lists for complex Types" />
  453. </ant>
  454. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  455. </sequential>
  456. <sequential>
  457. <delete file="${build_element_complexType.xml}"/>
  458. <!--<tempfile property="build_element_complexType.xml.properties_override" prefix="build_element_complexType.xml.properties_override" suffix=".xml" destdir="${transformed.local}" deleteonexit="no"/>-->
  459. <!--<echoxml file="${build_element_complexType.xml.properties_override}" >
  460. <properties>
  461. <property name="uuid" value="PROCES_INIT_TREE_$${xpath_value}"/> <!-\- to be evaluated in child xsl/ant-\->
  462. <property name="typeName" value="default_db:PROCES_INIT"/>
  463. <property name="xpath" value="ID"/>
  464. </properties>
  465. </echoxml>-->
  466. <xslt basedir="./" style="${build_ant_universal_by_xsl_match.xsl}" in="${element_complexType.xml}" destdir="./" out="${build_element_complexType.xml}" >
  467. <factory name="net.sf.saxon.TransformerFactoryImpl">
  468. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  469. <attribute name="http://saxon.sf.net/feature/initialMode" value="build_element_complexType.xml"/>
  470. </factory>
  471. <!--<param name="match_root_element" expression="wfs:FeatureCollection"/>-->
  472. <param name="match_element" expression=""/><!-- To be set universally to another type of object tree -->
  473. <param name="antfile_prefix" expression="build_element_complexType.xml"/>
  474. <param name="temp" expression="/tmp"/>
  475. <param name="basedir" expression="${basedir}"/>
  476. <param name="antfile" expression=""/>
  477. <!--<param name="target" expression="xml_recursed_from_tr_map_with_RelatedFeatureLoop"/>-->
  478. <param name="match_child_element" expression=""/>
  479. <param name="match_child_element_property_name" expression=""/>
  480. <param name="properties.xml" expression="${build_properties.xml}"/>
  481. <!--<param name="properties_override.xml" expression="${properties_override.xml}"/>-->
  482. <param name="parallel" expression="1"/>
  483. <param name="threadCount" expression="${threadCount}"/>
  484. <param name="ant-launcher.jar" expression="${ant-launcher.jar}"/>
  485. <param name="debug_level_param" expression="${debug_level_param}"/>
  486. <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
  487. <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
  488. <!--<param name="external_schema_table.path" expression="${external_schema_table.path}"/>-->
  489. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  490. </xslt>
  491. <!--<exec executable="say" failifexecutionfails="false">
  492. <arg line="-v alex"/>
  493. <arg line="executing multi thread build for complex Types by thread count ${threadCount}"/>
  494. </exec>-->
  495. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  496. <property name="p5suis:say_text" value="executing multi thread build for complex Types by thread count ${threadCount}" />
  497. </ant>
  498. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  499. <!--<delete dir="${build_complexType.local}"/>-->
  500. <echo>#637 will antfile: ${build_element_complexType.xml}
  501. </echo>
  502. <ant antfile="${build_element_complexType.xml}"/>
  503. <touch file="${build_element_complexType.xml.complete}"/>
  504. <!--<exec executable="say" failifexecutionfails="false">
  505. <arg line="-v alex"/>
  506. <arg line="generating complex types complete"/>
  507. </exec>-->
  508. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  509. <property name="p5suis:say_text" value="generating complex types complete" />
  510. </ant>
  511. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  512. </sequential>
  513. </parallel>
  514. </target>
  515. <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">
  516. <parallel threadcount="2">
  517. <sequential>
  518. <!--<sleep seconds="2"/>-->
  519. <!--<exec executable="say" failifexecutionfails="false">
  520. <arg line="-v alex"/>
  521. <arg line="deleting and generating transaction map by multi thread build list. To provide easy object engine calculations like creating simple schema"/>
  522. </exec>-->
  523. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  524. <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" />
  525. </ant>
  526. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  527. </sequential>
  528. <sequential>
  529. <echo> deleting build_tr_map.xml ${build_tr_map.xml} </echo>
  530. <delete file="${build_tr_map.xml}"/>
  531. <delete file="${build_tr_map.xml.complete}" failonerror="false"/>
  532. <xslt basedir="./" style="${build_ant_universal_by_xsl_match.xsl}" in="${element_complexType.xml}" destdir="./" out="${build_tr_map.xml}" >
  533. <factory name="net.sf.saxon.TransformerFactoryImpl">
  534. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  535. <attribute name="http://saxon.sf.net/feature/initialMode" value="build_tr_map.xml"/>
  536. </factory>
  537. <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
  538. <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
  539. <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
  540. <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
  541. <param name="external_schema" expression="${external_schema}"/>
  542. <param name="default_db.dir" expression="${default_db.dir}"/>
  543. <!--<param name="match_root_element" expression="wfs:FeatureCollection"/>-->
  544. <param name="match_element" expression=""/><!-- To be set universally to another type of object tree -->
  545. <param name="antfile_prefix" expression="build_element_complexType.xml"/>
  546. <param name="temp" expression="/tmp"/>
  547. <param name="basedir" expression="${basedir}"/>
  548. <param name="antfile" expression=""/>
  549. <!--<param name="target" expression="xml_recursed_from_tr_map_with_RelatedFeatureLoop"/>-->
  550. <param name="match_child_element" expression=""/>
  551. <param name="match_child_element_property_name" expression=""/>
  552. <param name="properties.xml" expression="${build_properties.xml}"/>
  553. <!--<param name="properties_override.xml" expression="${properties_override.xml}"/>-->
  554. <param name="parallel" expression="1"/>
  555. <param name="threadCount" expression="${threadCount}"/>
  556. <param name="ant-launcher.jar" expression="${ant-launcher.jar}"/>
  557. <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
  558. <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
  559. <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
  560. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  561. </xslt>
  562. </sequential>
  563. </parallel>
  564. <sequential>
  565. <!--<exec executable="say" failifexecutionfails="false">
  566. <arg line="-v alex"/>
  567. <arg line="executing build transaction map list by thread count ${threadCount}"/>
  568. </exec>-->
  569. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  570. <property name="p5suis:say_text" value="executing build transaction map list by thread count ${threadCount}" />
  571. </ant>
  572. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  573. <sleep seconds="2"/>
  574. <ant antfile="${build_tr_map.xml}"/>
  575. <!--<exec executable="say" failifexecutionfails="false">
  576. <arg line="-v alex"/>
  577. <arg line="transaction map complete"/>
  578. </exec>-->
  579. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  580. <property name="p5suis:say_text" value="transaction map complete" />
  581. </ant>
  582. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  583. <touch file="${build_tr_map.xml.complete}"/>
  584. </sequential>
  585. </target>
  586. <target name="p5build.SYSTEM.transformed">
  587. <mkdir dir="${p5build.SYSTEM.transformed.build_complexType.local}"/>
  588. </target>
  589. <target name="save_build_properties" >
  590. <mkdir dir="${p5build.temp}"/>
  591. <mkdir dir="${p5build.repository}"/>
  592. <ant antfile="${WPS_Functions.build}" inheritall="yes"/>
  593. <!--R <ant antfile="${build_SE.xml}" target="save_build_properties"/>-->
  594. <!-- R <loadproperties srcfile="${build_SE.properties}"/>-->
  595. <!--R <echoproperties destfile="${build_properties}" />-->
  596. <echoproperties destfile="${build_properties.xml}" format="xml"/>
  597. </target>
  598. <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">
  599. <delete dir="${external_schema_table.path}" failonerror="false"/>
  600. </target>
  601. <target name="build_detect_resource_type.xml.single.task" depends="build_tr_map.xml.single" description="Just build_detect_resource_type.xml elements"> <!-- R depends="save_build_properties,read_build_properties" -->
  602. <parallel threadcount="2">
  603. <sequential>
  604. <!--<exec executable="say" spawn="true" failifexecutionfails="false">
  605. <arg line="-v alex"/>
  606. <arg line="generating multi thread build lists for complex resource types relations "/>
  607. </exec>-->
  608. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  609. <property name="p5suis:say_text" value="generating multi thread build lists for complex resource types relations " />
  610. </ant>
  611. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  612. </sequential>
  613. <sequential>
  614. <delete file="${build_detect_resource_type.xml}" failonerror="false"/>
  615. <delete file="${build_detect_resource_type.complete}" failonerror="false"/>
  616. <xslt basedir="./" style="${build_ant_universal_by_xsl_match.xsl}" in="${element_complexType.xml}" destdir="./" out="${build_detect_resource_type.xml}" >
  617. <factory name="net.sf.saxon.TransformerFactoryImpl">
  618. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  619. <attribute name="http://saxon.sf.net/feature/initialMode" value="build_detect_resource_type.xml"/>
  620. </factory>
  621. <!--<param name="match_root_element" expression="wfs:FeatureCollection"/>-->
  622. <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
  623. <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
  624. <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
  625. <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
  626. <param name="external_schema" expression="${external_schema}"/>
  627. <param name="default_db.dir" expression="${default_db.dir}"/>
  628. <param name="match_element" expression=""/><!-- To be set universally to another type of object tree -->
  629. <param name="antfile_prefix" expression="build_element_complexType.xml"/>
  630. <param name="temp" expression="/tmp"/>
  631. <param name="basedir" expression="${basedir}"/>
  632. <param name="antfile" expression=""/>
  633. <!--<param name="target" expression="xml_recursed_from_tr_map_with_RelatedFeatureLoop"/>-->
  634. <param name="match_child_element" expression=""/>
  635. <param name="match_child_element_property_name" expression=""/>
  636. <param name="properties.xml" expression="${build_properties.xml}"/>
  637. <!--<param name="properties_override.xml" expression="${properties_override.xml}"/>-->
  638. <param name="parallel" expression="1"/>
  639. <param name="threadCount" expression="${threadCount}"/>
  640. <param name="ant-launcher.jar" expression="${ant-launcher.jar}"/>
  641. <param name="debug_level_param" expression="${debug_level_param}"/>
  642. <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
  643. <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
  644. <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
  645. <param name="detect_resource_type.xsl" expression="${detect_resource_type.xsl}"/>
  646. <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}"/>
  647. <!--<param name="external_schema_table.path" expression="${external_schema_table.path}"/>-->
  648. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  649. </xslt>
  650. <!--<exec executable="say" spawn="true" failifexecutionfails="false">
  651. <arg line="-v alex"/>
  652. <arg line="executing multi thread build for relations by thread count ${threadCount}"/>
  653. </exec>-->
  654. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  655. <property name="p5suis:say_text" value="executing multi thread build for relations by thread count ${threadCount}" />
  656. </ant>
  657. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  658. <!--<delete dir="${build_complexType.local}"/>-->
  659. <ant antfile="${build_detect_resource_type.xml}"/>
  660. <touch file="${build_detect_resource_type.complete}"/>
  661. <!--<exec executable="say" failifexecutionfails="false">
  662. <arg line="-v alex"/>
  663. <arg line="generating relations types complete"/>
  664. </exec>-->
  665. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  666. <property name="p5suis:say_text" value="generating relations types complete" />
  667. </ant>
  668. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  669. </sequential>
  670. </parallel>
  671. </target>
  672. <target name="build_detect_objects_parent_relations.single" depends="NamespaceBinding.xml, build_detect_resource_type.xml.single.task" description="we generate detect resources parent relations -to dir detect_resource_type "> <!-- R save_build_properties,read_build_properties, -->
  673. <parallel threadcount="2">
  674. <sequential>
  675. <!--<exec executable="say" failifexecutionfails="false">
  676. <arg line="-v alex"/>
  677. <arg line="generating detect_object_parent_relations_single with distinct object definitions in detect_resource_type directory."/>
  678. </exec>-->
  679. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  680. <property name="p5suis:say_text" value="generating detect_object_parent_relations_single with distinct object definitions in detect_resource_type directory." />
  681. </ant>
  682. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  683. </sequential>
  684. <sequential>
  685. <delete file="${detect_objects_parent_relations.xml}"/>
  686. <xslt basedir="./" style="${detect_objects_parent_relations.xsl}" in="${empty.xml}" destdir="./" out="${detect_objects_parent_relations.xml}" force="yes" >
  687. <factory name="net.sf.saxon.TransformerFactoryImpl">
  688. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  689. <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"/>
  690. </factory>
  691. <param name="p5Type.basedir" expression="${p5Type.basedir}"/>
  692. <param name="WPS_Functions" expression="${WPS_Functions.basedir}"/>
  693. <param name="default_db.ant-object.basedir" expression="${default_db.ant-object.basedir}"/>
  694. <param name="default_db_xml_cache.public" expression="${default_db_xml_cache.public}"/>
  695. <param name="external_schema" expression="${external_schema}"/>
  696. <param name="default_db.dir" expression="${default_db.dir}"/>
  697. <param name="default_db.instance.xml" expression="${default_db.instance.xml}"/>
  698. <param name="default_db.instance.xml.symlink" expression="${default_db.instance.xml.symlink}"/>
  699. <param name="vrtfNamespaces.xml" expression="${vrtfNamespaces.xml}"/>
  700. <param name="procesy5_system_schema_file" expression="${procesy5_system_schema.xml}"/>
  701. <param name="targetNamespace_DEFAULTS" expression="${targetNamespace_DEFAULTS}"/>
  702. <param name="external_schema_table.path" expression="${external_schema_table.path}"/>
  703. <param name="default_db_targetNamespace_detect_string" expression="${default_db_targetNamespace_detect_string}"/>
  704. <param name="zasob_id_db_targetNamespace_detect_string" expression="${zasob_id_db_targetNamespace_detect_string}"/>
  705. <param name="detect_resource_type.local" expression="${detect_resource_type.local}"/>
  706. <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}"/>
  707. <param name="basedir" expression="${basedir}"/>
  708. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  709. </xslt>
  710. <!--<exec executable="say" spawn="true" failifexecutionfails="false">
  711. <arg line="-v alex"/>
  712. <arg line="complete build detect objects parent relations single"/>
  713. </exec>-->
  714. <ant antfile="${system_ui_info_speech}" target="p5suis:say_to_queue">
  715. <property name="p5suis:say_text" value="complete build detect objects parent relations single" />
  716. </ant>
  717. <!--<ant antfile="${system_ui_info_speech}" target="p5suis:say_from_queue"/>-->
  718. </sequential>
  719. </parallel>
  720. <!--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-->
  721. </target>
  722. <target name="automation_driven.submodule.struct.read.xsd" depends="automation_driven.submodule.xsd__struct_write"
  723. description="to initially generate xsd from automation_driven.submodule.struct.h file">
  724. <echo>#42 generating ${automation_driven.submodule.struct.read.xsd} using ${automation_driven.submodule.struct.h}</echo>
  725. <xslt basedir="${automation_driven.submodule.basedir}"
  726. destdir="${automation_driven.submodule.temp}"
  727. force="true"
  728. in="${empty.xml}"
  729. out="${automation_driven.submodule.struct.read.xsd}"
  730. style="${automation_driven.submodule.struct.read.xsl}"> <!-- ${automation_driven.submodule.struct.h} -->
  731. <factory name="net.sf.saxon.TransformerFactoryImpl">
  732. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  733. <attribute name="http://saxon.sf.net/feature/initialTemplate"
  734. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>
  735. <!--<attribute name="http://saxon.sf.net/feature/initialMode"
  736. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>-->
  737. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  738. value="true"/>
  739. </factory>
  740. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
  741. expression="${automation_driven.basedir}"/>
  742. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
  743. expression="${automation_driven.repository}"/>
  744. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
  745. expression="${automation_driven.temp}"/>
  746. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
  747. expression="${automation_driven.submodule.basedir}"/>
  748. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
  749. expression="${automation_driven.submodule.repository}"/>
  750. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
  751. expression="${automation_driven.submodule.temp}"/>
  752. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
  753. expression="${automation_driven.submodule.struct.h}"/>
  754. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
  755. expression="${automation_driven.submodule.namespaces.xsd}"/>
  756. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  757. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  758. </xslt>
  759. </target>
  760. <target name="automation_driven.submodule.xsd__struct_write"
  761. description="to initially generate h " >
  762. <echo>#42 generating from ${automation_driven.submodule.struct.write.xsd} </echo>
  763. <xslt basedir="${automation_driven.submodule.basedir}"
  764. destdir="${automation_driven.submodule.temp}"
  765. force="true"
  766. in="${automation_driven.submodule.struct.write.xsd}"
  767. out="${automation_driven.submodule.struct.write.h}"
  768. style="${automation_driven.submodule.struct.write.xsl}"> <!-- ${automation_driven.submodule.struct.h} -->
  769. <factory name="net.sf.saxon.TransformerFactoryImpl">
  770. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  771. <!--<attribute name="http://saxon.sf.net/feature/initialTemplate"
  772. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>-->
  773. <attribute name="http://saxon.sf.net/feature/initialMode"
  774. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}write.h"/>
  775. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  776. value="true"/>
  777. </factory>
  778. <param name="build_complexType_dir" expression="${build_complexType.local}"/>
  779. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
  780. expression="${automation_driven.basedir}"/>
  781. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
  782. expression="${automation_driven.repository}"/>
  783. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
  784. expression="${automation_driven.temp}"/>
  785. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
  786. expression="${automation_driven.submodule.basedir}"/>
  787. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
  788. expression="${automation_driven.submodule.repository}"/>
  789. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
  790. expression="${automation_driven.submodule.temp}"/>
  791. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
  792. expression="${automation_driven.submodule.struct.h}"/>
  793. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
  794. expression="${automation_driven.submodule.namespaces.xsd}"/>
  795. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  796. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  797. </xslt>
  798. </target>
  799. <target name="automation_driven.submodule.xsd__struct_files"
  800. description="to initially generate xsd " depends="automation_driven.submodule.struct.read.xsd">
  801. <echo>#42 generating ${automation_driven.submodule.struct.read.xsd} using ${automation_driven.submodule.xsd}</echo>
  802. <xslt basedir="${automation_driven.submodule.basedir}"
  803. destdir="${automation_driven.submodule.temp}"
  804. force="true"
  805. in="${automation_driven.submodule.xsd}"
  806. out="${automation_driven.submodule.struct.read.xsd}"
  807. style="${automation_driven.submodule.struct.read.xsl}"> <!-- ${automation_driven.submodule.struct.h} -->
  808. <factory name="net.sf.saxon.TransformerFactoryImpl">
  809. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  810. <!--<attribute name="http://saxon.sf.net/feature/initialTemplate"
  811. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>-->
  812. <attribute name="http://saxon.sf.net/feature/initialMode"
  813. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>
  814. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  815. value="true"/>
  816. </factory>
  817. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
  818. expression="${automation_driven.basedir}"/>
  819. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
  820. expression="${automation_driven.repository}"/>
  821. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
  822. expression="${automation_driven.temp}"/>
  823. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
  824. expression="${automation_driven.submodule.basedir}"/>
  825. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
  826. expression="${automation_driven.submodule.repository}"/>
  827. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
  828. expression="${automation_driven.submodule.temp}"/>
  829. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
  830. expression="${automation_driven.submodule.struct.h}"/>
  831. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
  832. expression="${automation_driven.submodule.namespaces.xsd}"/>
  833. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  834. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  835. </xslt>
  836. </target>
  837. <target name="automation_driven.submodule.xsd__struct_files_fix_default.xml"
  838. description="to initially generate xsd " depends="automation_driven.submodule.xsd__struct_files">
  839. <echo>#42 generating ${automation_driven.submodule.struct.read.xsd} using ${automation_driven.submodule.xsd}</echo>
  840. <xslt basedir="${automation_driven.submodule.basedir}"
  841. destdir="${automation_driven.submodule.temp}"
  842. force="true"
  843. in="${automation_driven.submodule.struct.read.xsd}"
  844. out="${automation_driven.submodule.xsd__struct_files_fix_default.xml}"
  845. style="${automation_driven.submodule.xsd__struct_files_fix_default.xsl}"> <!-- ${automation_driven.submodule.struct.h} -->
  846. <factory name="net.sf.saxon.TransformerFactoryImpl">
  847. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  848. <!--<attribute name="http://saxon.sf.net/feature/initialTemplate"
  849. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>-->
  850. <attribute name="http://saxon.sf.net/feature/initialMode"
  851. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_default.xml"/>
  852. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  853. value="true"/>
  854. </factory>
  855. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
  856. expression="${automation_driven.basedir}"/>
  857. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
  858. expression="${automation_driven.repository}"/>
  859. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
  860. expression="${automation_driven.temp}"/>
  861. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
  862. expression="${automation_driven.submodule.basedir}"/>
  863. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
  864. expression="${automation_driven.submodule.repository}"/>
  865. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
  866. expression="${automation_driven.submodule.temp}"/>
  867. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
  868. expression="${automation_driven.submodule.struct.h}"/>
  869. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
  870. expression="${automation_driven.submodule.namespaces.xsd}"/>
  871. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  872. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  873. </xslt>
  874. </target>
  875. <target name="automation_driven.submodule.xsd__struct_files__fixed" depends="automation_driven.submodule.xsd__struct_files_fix_default.xml"
  876. description="to initially generate xsd ">
  877. <echo>#42 generating ${automation_driven.submodule.struct.read.xsd} using ${automation_driven.submodule.xsd}</echo>
  878. <xslt basedir="${automation_driven.submodule.basedir}"
  879. destdir="${automation_driven.submodule.temp}"
  880. force="true"
  881. in="${automation_driven.submodule.xsd}"
  882. out="${automation_driven.submodule.struct.read.xsd}"
  883. style="${automation_driven.submodule.struct.read.xsl}"> <!-- ${automation_driven.submodule.struct.h} -->
  884. <factory name="net.sf.saxon.TransformerFactoryImpl">
  885. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  886. <!--<attribute name="http://saxon.sf.net/feature/initialTemplate"
  887. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>-->
  888. <attribute name="http://saxon.sf.net/feature/initialMode"
  889. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>
  890. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  891. value="true"/>
  892. </factory>
  893. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_default.xml"
  894. expression="${automation_driven.submodule.xsd__struct_files_fix_default.xml}"/>
  895. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
  896. expression="${automation_driven.basedir}"/>
  897. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
  898. expression="${automation_driven.repository}"/>
  899. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
  900. expression="${automation_driven.temp}"/>
  901. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
  902. expression="${automation_driven.submodule.basedir}"/>
  903. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
  904. expression="${automation_driven.submodule.repository}"/>
  905. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
  906. expression="${automation_driven.submodule.temp}"/>
  907. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
  908. expression="${automation_driven.submodule.struct.h}"/>
  909. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
  910. expression="${automation_driven.submodule.namespaces.xsd}"/>
  911. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  912. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  913. </xslt>
  914. </target>
  915. <!--<target name="automation_driven.submodule.xsd__struct_files_fix_types.xml"
  916. ><!-\- depends="automation_driven.submodule.xsd__struct_files" -\->
  917. <echo>#42 generating ${automation_driven.submodule.struct.read.xsd} using ${automation_driven.submodule.xsd}</echo>
  918. <xslt basedir="${automation_driven.submodule.basedir}"
  919. destdir="${automation_driven.submodule.temp}"
  920. force="true"
  921. in="${automation_driven.submodule.struct.read.xsd}"
  922. out="${automation_driven.submodule.xsd__struct_files_fix_types.xml}"
  923. style="${automation_driven.submodule.xsd__struct_files_fix_types.xsl}"> <!-\- ${automation_driven.submodule.struct.h} -\->
  924. <factory name="net.sf.saxon.TransformerFactoryImpl">
  925. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  926. <!-\-<attribute name="http://saxon.sf.net/feature/initialTemplate"
  927. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>-\->
  928. <attribute name="http://saxon.sf.net/feature/initialMode"
  929. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_types.xml"/>
  930. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  931. value="true"/>
  932. </factory>
  933. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
  934. expression="${automation_driven.basedir}"/>
  935. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
  936. expression="${automation_driven.repository}"/>
  937. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
  938. expression="${automation_driven.temp}"/>
  939. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
  940. expression="${automation_driven.submodule.basedir}"/>
  941. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
  942. expression="${automation_driven.submodule.repository}"/>
  943. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
  944. expression="${automation_driven.submodule.temp}"/>
  945. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
  946. expression="${automation_driven.submodule.struct.h}"/>
  947. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
  948. expression="${automation_driven.submodule.namespaces.xsd}"/>
  949. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  950. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  951. </xslt>
  952. </target>-->
  953. <target name="automation_driven.submodule.struct.read__communication.xml"
  954. depends="automation_driven.submodule.xsd__struct_files__fixed"
  955. ><!--
  956. depends="automation_driven.submodule.xsd__struct_files__fixed"
  957. -->
  958. <echo>#42 generating ${automation_driven.submodule.struct.read__communication.xml} using ${automation_driven.submodule.struct.read__communication.xsd} and ${automation_driven.submodule.struct.read__communication_generated.xsd} and </echo>
  959. <xslt basedir="${automation_driven.submodule.basedir}"
  960. destdir="${automation_driven.submodule.temp}"
  961. force="true"
  962. in="${automation_driven.submodule.struct.read__communication.xsd}"
  963. out="${automation_driven.submodule.struct.read__communication.xml}"
  964. style="${automation_driven.submodule.struct.read__communication.xsl}"> <!-- ${automation_driven.submodule.struct.h} -->
  965. <factory name="net.sf.saxon.TransformerFactoryImpl">
  966. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  967. <!--<attribute name="http://saxon.sf.net/feature/initialTemplate"
  968. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>-->
  969. <attribute name="http://saxon.sf.net/feature/initialMode"
  970. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct.read__communication.xml"/>
  971. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  972. value="true"/>
  973. </factory>
  974. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_default.xml"
  975. expression="${automation_driven.submodule.xsd__struct_files_fix_default.xml}"/>
  976. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_default.xml"
  977. expression="${automation_driven.submodule.xsd__struct_files_fix_default.xml}"/>
  978. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
  979. expression="${automation_driven.basedir}"/>
  980. <param name="{http://biuro.biall-net.pl/xmlschema_proce9sy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
  981. expression="${automation_driven.repository}"/>
  982. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
  983. expression="${automation_driven.temp}"/>
  984. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
  985. expression="${automation_driven.submodule.basedir}"/>
  986. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
  987. expression="${automation_driven.submodule.repository}"/>
  988. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
  989. expression="${automation_driven.submodule.temp}"/>
  990. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
  991. expression="${automation_driven.submodule.struct.h}"/>
  992. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
  993. expression="${automation_driven.submodule.namespaces.xsd}"/>
  994. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xsd"
  995. expression="${automation_driven.submodule.struct.read.xsd}"/>
  996. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read__communication.xsd"
  997. expression="${automation_driven.submodule.struct.read__communication.xsd}"/>
  998. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read__communication_generated.xml"
  999. expression="${automation_driven.submodule.struct.read__communication_generated.xml}"/>
  1000. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read__communication_generated.xsd"
  1001. expression="${automation_driven.submodule.struct.read__communication_generated.xsd}"/>
  1002. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  1003. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  1004. </xslt>
  1005. </target>
  1006. <target name="automation_driven.submodule.struct.read__communication_generated.xml"
  1007. depends="automation_driven.submodule.struct.read__communication.xml" >
  1008. <echo>#42 generating ${automation_driven.submodule.struct.read__communication.xml} using ${automation_driven.submodule.struct.read__communication.xsd} and ${automation_driven.submodule.struct.read__communication_generated.xsd} and </echo>
  1009. <xslt basedir="${automation_driven.submodule.basedir}"
  1010. destdir="${automation_driven.submodule.temp}"
  1011. force="true"
  1012. in="${automation_driven.submodule.struct.read__communication.xml}"
  1013. out="${automation_driven.submodule.struct.read__communication_generated.xml}"
  1014. style="${automation_driven.submodule.struct.read__communication_generated.xsl}"> <!-- ${automation_driven.submodule.struct.h} -->
  1015. <factory name="net.sf.saxon.TransformerFactoryImpl">
  1016. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  1017. <!--<attribute name="http://saxon.sf.net/feature/initialTemplate"
  1018. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>-->
  1019. <attribute name="http://saxon.sf.net/feature/initialMode"
  1020. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct.read__communication_generated.xml"/>
  1021. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  1022. value="true"/>
  1023. </factory>
  1024. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_default.xml"
  1025. expression="${automation_driven.submodule.xsd__struct_files_fix_default.xml}"/>
  1026. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
  1027. expression="${automation_driven.basedir}"/>
  1028. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
  1029. expression="${automation_driven.repository}"/>
  1030. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
  1031. expression="${automation_driven.temp}"/>
  1032. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
  1033. expression="${automation_driven.submodule.basedir}"/>
  1034. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
  1035. expression="${automation_driven.submodule.repository}"/>
  1036. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
  1037. expression="${automation_driven.submodule.temp}"/>
  1038. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
  1039. expression="${automation_driven.submodule.struct.h}"/>
  1040. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
  1041. expression="${automation_driven.submodule.namespaces.xsd}"/>
  1042. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xsd"
  1043. expression="${automation_driven.submodule.struct.read.xsd}"/>
  1044. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read__communication_generated.xml"
  1045. expression="${automation_driven.submodule.struct.read__communication_generated.xml}"/>
  1046. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read__communication_generated.xsd"
  1047. expression="${automation_driven.submodule.struct.read__communication_generated.xsd}"/>
  1048. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  1049. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  1050. </xslt>
  1051. </target>
  1052. <target name="automation_driven.submodule.struct.read__communication_generated.h"
  1053. depends="automation_driven.submodule.struct.read__communication_generated.xml" >
  1054. <echo>#370 generating ${automation_driven.submodule.struct.read__communication_generated.h} </echo>
  1055. <xslt basedir="${automation_driven.submodule.basedir}"
  1056. destdir="${automation_driven.submodule.temp}"
  1057. force="true"
  1058. in="${automation_driven.submodule.struct.read__communication_generated.xml}"
  1059. out="${automation_driven.submodule.struct.read__communication_generated.h}"
  1060. style="${automation_driven.submodule.struct.read__communication_generated.h.xsl}"> <!-- ${automation_driven.submodule.struct.h} -->
  1061. <factory name="net.sf.saxon.TransformerFactoryImpl">
  1062. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  1063. <!--<attribute name="http://saxon.sf.net/feature/initialTemplate"
  1064. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xml"/>-->
  1065. <attribute name="http://saxon.sf.net/feature/initialMode"
  1066. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct.read__communication_generated.h"/>
  1067. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  1068. value="true"/>
  1069. </factory>
  1070. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}struct_files_fix_default.xml"
  1071. expression="${automation_driven.submodule.xsd__struct_files_fix_default.xml}"/>
  1072. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
  1073. expression="${automation_driven.basedir}"/>
  1074. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
  1075. expression="${automation_driven.repository}"/>
  1076. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
  1077. expression="${automation_driven.temp}"/>
  1078. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
  1079. expression="${automation_driven.submodule.basedir}"/>
  1080. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
  1081. expression="${automation_driven.submodule.repository}"/>
  1082. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
  1083. expression="${automation_driven.submodule.temp}"/>
  1084. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
  1085. expression="${automation_driven.submodule.struct.h}"/>
  1086. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h_files"
  1087. expression="${automation_driven.submodule.struct.read__communication_generated.h_files}"/>
  1088. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
  1089. expression="${automation_driven.submodule.namespaces.xsd}"/>
  1090. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.xsd"
  1091. expression="${automation_driven.submodule.struct.read.xsd}"/>
  1092. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read__communication_generated.xml"
  1093. expression="${automation_driven.submodule.struct.read__communication_generated.xml}"/>
  1094. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read__communication_generated.xsd"
  1095. expression="${automation_driven.submodule.struct.read__communication_generated.xsd}"/>
  1096. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  1097. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  1098. </xslt>
  1099. </target>
  1100. <!--<target name="automation_driven.submodule.struct.read.enumerate.xsd"
  1101. description="to enumerate unique attributes " depends="automation_driven.submodule.xsd__struct_files">
  1102. <echo>#42 generating ${automation_driven.submodule.struct.read.enumerate.xsd} using ${automation_driven.submodule.struct.read.xsd}</echo>
  1103. <xslt basedir="${automation_driven.submodule.basedir}"
  1104. destdir="${automation_driven.submodule.temp}"
  1105. force="true"
  1106. in="${automation_driven.submodule.struct.read.xsd}"
  1107. out="${automation_driven.submodule.struct.read.enumerate.xsd}"
  1108. style="${automation_driven.submodule.struct.read.enumerate.xsl}"> <!-\- ${automation_driven.submodule.struct.h} -\->
  1109. <factory name="net.sf.saxon.TransformerFactoryImpl">
  1110. <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
  1111. <!-\-<attribute name="http://saxon.sf.net/feature/initialTemplate"
  1112. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.enumerate.xml"/>-\->
  1113. <attribute name="http://saxon.sf.net/feature/initialMode"
  1114. value="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}read.enumerate.xml"/>
  1115. <attribute name="http://saxon.sf.net/feature/dtd-validation-recoverable"
  1116. value="true"/>
  1117. </factory>
  1118. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}basedir"
  1119. expression="${automation_driven.basedir}"/>
  1120. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}repository"
  1121. expression="${automation_driven.repository}"/>
  1122. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.xsd}temp"
  1123. expression="${automation_driven.temp}"/>
  1124. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}basedir"
  1125. expression="${automation_driven.submodule.basedir}"/>
  1126. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}repository"
  1127. expression="${automation_driven.submodule.repository}"/>
  1128. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.xsd}temp"
  1129. expression="${automation_driven.submodule.temp}"/>
  1130. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.struct.xsd}h"
  1131. expression="${automation_driven.submodule.struct.h}"/>
  1132. <param name="{http://biuro.biall-net.pl/xmlschema_procesy5/WPS_Functions/automation_driven/automation_driven.submodule.namespaces.xsd}xsd"
  1133. expression="${automation_driven.submodule.namespaces.xsd}"/>
  1134. <classpath location="/opt/local/share/java/saxon9he.jar"/>
  1135. <xmlcatalog refid="dita-ot.dtd.catalog"/>
  1136. </xslt>
  1137. </target>-->
  1138. </project>