|
|
@@ -1,9 +1,11 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<project basedir="." name="recurse_ant" default="buildpdf_recursed" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
+<project basedir="../../../." name="recurse_ant" default="buildpdf_recursed_xsl_mail" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema" >
|
|
|
<description>
|
|
|
- Umowa my zleceniobiorca
|
|
|
+ Umowa zleceniobiorca
|
|
|
</description>
|
|
|
+
|
|
|
+ <!--<echo>#88 $uuid = ${uuid}</echo>-->
|
|
|
<!-- template do kopiowania test-druk @2017-03-02 bindera
|
|
|
Copyright BIALL-NET sp. z o.o. wszelkie prawa zastrzezone
|
|
|
|
|
|
@@ -34,30 +36,45 @@
|
|
|
-DtypeName="p5_default_db:IN7_DZIENNIK_KORESP"
|
|
|
-Dxpath=ID -Dxpath_value=1000
|
|
|
-Duuid=1 -DwebRootUrl=somePathDir-->
|
|
|
+
|
|
|
+ <include file="build.recurse_ant.PRODUCT.xml"/>
|
|
|
+ <include file="${basedir}/../build_SE.xml" as="p5build_SE"/><!-- for paths and dirs create in some tasks -->
|
|
|
+ <include file="${basedir}/build.p5build.PRODUCT.xml" as="PRODUCT"/>
|
|
|
+ <!--<include file="${p5build_SE.build}" as="p5build_SE"/> <!-\- for paths and dirs create in some tasks -\->-->
|
|
|
+ <include file="${send_email.build.xml}" as="send_email"/>
|
|
|
+
|
|
|
+ <include file="${basedir}/WPS_Functions/get_wfs_recurse_xsl/build.bgwrx.PRODUCT.xml" as="PRODUCT" />
|
|
|
+
|
|
|
<property name="basedir" location="${basedir}" /> <!-- do ustalenia glownego katalogu -->
|
|
|
- <property name="default_db:recurse_ant_basedir" location="."/>
|
|
|
- <property name="default_db:recurse_ant_basedir.temp" location="${default_db:recurse_ant_basedir}/temp/${uuid}"/> <!-- /${uuid} -->
|
|
|
- <property name="default_db:recurse_ant" value="${default_db:recurse_ant_basedir}/build_recurse_ant.xml"/>
|
|
|
- <property name="default_db:recurse_ant_basedir.recurse_cache" location="${default_db:recurse_ant_basedir}/recurse_cache"/>
|
|
|
+ <property name="default_db:recurse_ant_basedir" value="${recurse_ant.basedir}"/>
|
|
|
+ <property name="default_db:recurse_ant_basedir.temp" location="${recurse_ant.temp}/${uuid}"/> <!-- /${uuid} -->
|
|
|
+ <property name="default_db:recurse_ant" value="${recurse_ant.build.xml}"/>
|
|
|
+ <property name="default_db:recurse_ant_basedir.recurse_cache" location="${recurse_ant.repository}/recurse_cache"/>
|
|
|
|
|
|
<!--<property name="build_recurse_ant.childproperties" location="${WPS_Functions.childproperties}/build_recurse_ant.properties"/>--><!-- TODO UNKNOWN -->
|
|
|
|
|
|
<property name="out" value="out"/> <!-- output ready files like pdf -->
|
|
|
<property name="p5_tr_map_dir" location="${basedir}/../../../default_db.instance.xml/p5_tr_map" />
|
|
|
- <property name="simpleSchema_dir" location="${basedir}/../../../default_db.instance.xml/simpleSchema" />
|
|
|
- <property name="detect_resource_type_dir" location="${basedir}/../../../default_db.instance.xml/detect_resource_type" />
|
|
|
- <property name="build_complexType_dir" location="${basedir}/../../../default_db.instance.xml/build_complexType" />
|
|
|
- <property name="default_db.instance.xml" location="${basedir}/../../../default_db.instance.xml" />
|
|
|
+ <!--R<property name="simpleSchema_dir" location="${basedir}/../../../default_db.instance.xml/simpleSchema" />-->
|
|
|
+ <!--R<property name="detect_resource_type_dir" location="${basedir}/../../../default_db.instance.xml/detect_resource_type" />-->
|
|
|
+ <!--R<property name="build_complexType_dir" location="${basedir}/../../../default_db.instance.xml/build_complexType" />-->
|
|
|
+ <!--R<property name="default_db.instance.xml" location="${basedir}/../../../default_db.instance.xml" />-->
|
|
|
|
|
|
<property name="uuid" value="${uuid}"/> <!--TODO-->
|
|
|
<property name="passwordBase64Basic" value="${passwordBase64Basic}"/>
|
|
|
- <property name="php_session_id" value="${php_session_id}"/> <!-- optional cookie if sent work with it if not - get it -->
|
|
|
+
|
|
|
+ <!--<property name="php_session_id" value="${php_session_id}"/>--> <!-- optional cookie if sent work with it if not - get it -->
|
|
|
+
|
|
|
+ <condition property="php_session_id_ok.string" value="${php_session_id}">
|
|
|
+ <isset property="php_session_id"/>
|
|
|
+ </condition>
|
|
|
+
|
|
|
<property name="url" value="${url}"/>
|
|
|
<property name="webRootUrl" value="${$webRootUrl}"/>
|
|
|
|
|
|
- <property name="api_url" value="https://biuro.biall-net.pl/SE/version-git/wfs-data.php"/>
|
|
|
- <property name="namespace_prefix" value="p5_default_db"/> <!-- ex: p5_default_db to complete after p5_default_db:IN7_DZIENNIK_KORESP -->
|
|
|
- <property name="namespace_prefix_p5_tr_map" value="default_db"/> <!-- do przetowrzenia w nazwie pliku docelowej element-default_db__x3A__CRM_PROCES__x3A__CRM_PROCES oraz dla detect_resource_type_dir -->
|
|
|
+ <!--R<property name="api_url" value="https://biuro.biall-net.pl/SE/version-git/wfs-data.php"/>-->
|
|
|
+ <!--R<property name="namespace_prefix" value="p5_default_db"/>--> <!-- ex: p5_default_db to complete after p5_default_db:IN7_DZIENNIK_KORESP -->
|
|
|
+ <!--R<property name="namespace_prefix_p5_tr_map" value="default_db"/>--> <!-- do przetowrzenia w nazwie pliku docelowej element-default_db__x3A__CRM_PROCES__x3A__CRM_PROCES oraz dla detect_resource_type_dir -->
|
|
|
<property name="typeName" value="${typeName}" /> <!-- to be set initially ex: p5_default_db:IN7_DZIENNIK_KORESP - be careful not to give it in apostrophs like 'p5_default_db:IN7_DZIENNIK_KORESP' - it wont work! -->
|
|
|
<property name="xpath" value="${xpath}"/> <!-- to be set initially like as key to search ID -->
|
|
|
<property name="xpath_value" value="${xpath_value}" /> <!-- to be set initially like 1000 (to search ID=1000, if ID we get by featureID -->
|
|
|
@@ -70,7 +87,9 @@
|
|
|
<!-- DO NOT SET --><property name="parallel_pos" value="1"/>
|
|
|
<!--<property name="temp_name" value="temp" />--> <!-- temp files-->
|
|
|
<property name="temp" value="${default_db:recurse_ant_basedir.temp}${loop_path_recurs}" /> <!-- temp files-->
|
|
|
+ <!--<echo>#75 before $xpath_query.xsl = ${xpath_query.xsl} , $uuid = ${uuid}</echo>-->
|
|
|
<property name="xpath_query.xsl" value="${default_db:recurse_ant_basedir.temp}/${uuid}.xpath_query.xsl"/>
|
|
|
+ <!--<echo>#76 after $xpath_query.xsl = ${xpath_query.xsl} , $uuid = ${uuid}</echo>-->
|
|
|
<property name="build_recurse_ant_xpath_query.xsl" value="${default_db:recurse_ant_basedir.temp}/build_recurse_ant_xpath_query.xsl"/>
|
|
|
|
|
|
<property name="process_locks" value="${default_db:recurse_ant_basedir.temp}/.locks"/>
|
|
|
@@ -86,19 +105,19 @@
|
|
|
<property name="out_task.dita.final_with_RelatedFeatureLoop_no_path" value="${uuid}.out_task.dita.final_with_RelatedFeatureLoop" />
|
|
|
<property name="out_task.dita.final_with_RelatedFeatureLoop" value="${default_db:recurse_ant_basedir}/out/${uuid}.out_task.dita.final_with_RelatedFeatureLoop" />
|
|
|
|
|
|
- <property name="ant-launcher.jar" location="/opt/local/share/java/apache-ant/lib/ant-launcher.jar"/><!-- should be also set in parent build -->
|
|
|
- <property name="build_check_java_process_count.xml" value="${basedir}/../check_java_process_count/build_check_java_process_count.xml"/>
|
|
|
+ <!-- should be also set in parent build --><!-- should be also set in parent build -->
|
|
|
+ <property name="build_check_java_process_count.xml" value="${check_java_process_count.build.xml}"/>
|
|
|
<property name="parallel_java_process_max" value="20"/> <!-- to limit max processes in parallel concurent tasks jobs - will use ${build_check_java_process_count.xml} -->
|
|
|
<!-- do zrobienia -->
|
|
|
<!--<tempfile property="wfs_output" deleteonexit="no" destdir="temp" suffix=".xml" />-->
|
|
|
- <property name="get_wfs_basedir" location="${default_db:recurse_ant_basedir}/../../get_wfs"/>
|
|
|
- <property name="get_wfs" location="${get_wfs_basedir}/build_get_wfs.xml"/>
|
|
|
+ <!--R<property name="get_wfs_basedir" location="${default_db:recurse_ant_basedir}/../../get_wfs"/>-->
|
|
|
+ <!--R<property name="get_wfs" location="${get_wfs_basedir}/build_get_wfs.xml"/>-->
|
|
|
+
|
|
|
+ <property name="build_CRM_PROCES_tree" location="${CRM_PROCES_tree.build.xml}"/>
|
|
|
+ <property name="CRM_PROCES_tree_basedir" location="${CRM_PROCES_tree.basedir}" />
|
|
|
+ <property name="CRM_PROCES_tree_basedir.temp" location="${CRM_PROCES_tree.temp}" />
|
|
|
|
|
|
- <property name="build_CRM_PROCES_tree" location="${default_db:recurse_ant_basedir}/../CRM_PROCES_tree/build_CRM_PROCES_tree.xml"/>
|
|
|
- <property name="CRM_PROCES_tree_basedir" location="${default_db:recurse_ant_basedir}/../CRM_PROCES_tree" />
|
|
|
- <property name="CRM_PROCES_tree_basedir.temp" location="${CRM_PROCES_tree_basedir}/temp" />
|
|
|
|
|
|
- <property name="dita.dir" location="/Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita"/>
|
|
|
|
|
|
<property name="input_obj_fid_forced" value="${input_obj_fid_forced}"/>
|
|
|
|
|
|
@@ -110,15 +129,13 @@
|
|
|
</echo>-->
|
|
|
|
|
|
<!-- uuid -->
|
|
|
- <property name="CRM_PROCES_tree_basedir" location="${default_db:recurse_ant_basedir}/../CRM_PROCES_tree" />
|
|
|
- <property name="CRM_PROCES_tree_basedir.temp" location="${CRM_PROCES_tree_basedir}/temp" />
|
|
|
+ <!--<property name="CRM_PROCES_tree_basedir" location="${CRM_PROCES_tree.basedir}" />-->
|
|
|
+ <!--<property name="CRM_PROCES_tree_basedir.temp" location="${CRM_PROCES_tree.temp}" />-->
|
|
|
|
|
|
- <property name="dita.dir" location="/Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita"/>
|
|
|
+ <!--R <property name="dita.dir" location="/Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita"/>-->
|
|
|
|
|
|
|
|
|
|
|
|
- <property name="default_db_targetNamespace_detect_string" value="default_db/table/"/>
|
|
|
- <property name="zasob_id_db_targetNamespace_detect_string" value="https://biuro.biall-net.pl/api/"/>
|
|
|
|
|
|
<target name="write_child_props_to_config_dir" depends="install_folders">
|
|
|
<!--<echoproperties destfile="${build_recurse_ant.childproperties}"/>-->
|
|
|
@@ -243,13 +260,20 @@
|
|
|
</target>
|
|
|
|
|
|
|
|
|
- <target name="install_folders">
|
|
|
+ <target name="install_folders" depends="p5build_SE.save_build_properties">
|
|
|
<mkdir dir="${temp}"/>
|
|
|
<mkdir dir="${out}"/>
|
|
|
<mkdir dir="${default_db:recurse_ant_basedir.recurse_cache}"/>
|
|
|
- <chmod dir="${temp}" perm="ugo+rwx"/>
|
|
|
- <chmod dir="${out}" perm="ugo+rwx"/>
|
|
|
- <chmod dir="${default_db:recurse_ant_basedir.recurse_cache}" perm="ugo+rwx"/>
|
|
|
+ <chmod dir="${temp}" perm="ugo+rwx" failonerror="false"/>
|
|
|
+ <chmod dir="${out}" perm="ugo+rwx" failonerror="false"/>
|
|
|
+ <chmod dir="${default_db:recurse_ant_basedir.recurse_cache}" perm="ugo+rwx" failonerror="false"/>
|
|
|
+ <echo>#259 running main p5build_SE.save_build_properties to retrieve paths for folders etc
|
|
|
+ $p5build_SE.build_procesy5_config.folders.root_points.mount_point = ${p5build_SE.build_procesy5_config.folders.root_points.mount_point}
|
|
|
+ $p5build_SE.build_procesy5_config.folders.IN7_DZIENNIK_KORESP_COLUMN.mount_point = ${p5build_SE.build_procesy5_config.folders.IN7_DZIENNIK_KORESP_COLUMN.mount_point}
|
|
|
+
|
|
|
+ </echo>
|
|
|
+ <!--<antcall target="p5build_SE.save_build_properties"/>-->
|
|
|
+
|
|
|
</target>
|
|
|
|
|
|
|
|
|
@@ -265,7 +289,7 @@
|
|
|
<property name="main_build_recurse_ant.dita_with_id" value="${temp}/${main_build_recurse_ant.dita}.with_id.xml" />
|
|
|
<property name="main_build_recurse_ant.dita_with_id.xsl" value="${default_db_xml_cache.public}/main_build_recurse_ant.dita_with_id.xsl" />
|
|
|
<condition property="test_if_dita" taskname="check_dita" >
|
|
|
- <available file="${main_build_recurse_ant.dita}"/>
|
|
|
+ <available file="${recurse_ant.basedir}/${main_build_recurse_ant.dita}"/>
|
|
|
</condition>
|
|
|
</target>
|
|
|
|
|
|
@@ -422,6 +446,99 @@
|
|
|
</target>
|
|
|
|
|
|
|
|
|
+ <target name="xml_recursed_from_tr_map_with_RelatedFeatureLoop_tree_to_dita_wfs_recursed" unless="confirmAntfile.isset" depends="install_folders,uuid_check,typeName_check,xpath_check,xpath_value_check,set_dita,confirmAntfile" description="URL_TASK Wygeneruj druk z obiektu uzywajac styli systemowych za pomoca funkcji xsl_recursed">
|
|
|
+ <record name="recursed.log" action="start" />
|
|
|
+
|
|
|
+ <exec executable="bash" dir="." outputproperty="out_task_file">
|
|
|
+ <arg value="-c"/>
|
|
|
+ <arg value="echo ${out_task.dita.final} |sed 's/^.*\///'"/>
|
|
|
+ </exec>
|
|
|
+
|
|
|
+ <echo>#427 $out_task.dita.final = ${out_task.dita.final} , $out = ${out} , $out_task_file = ${out_task_file}
|
|
|
+ $out_task.dita.final.noext = ${out_task.dita.final.noext}
|
|
|
+ $out_task.dita.final_with_RelatedFeatureLoop = ${out_task.dita.final_with_RelatedFeatureLoop}
|
|
|
+ $CRM_PROCES_tree_basedir.temp = ${CRM_PROCES_tree_basedir.temp}
|
|
|
+ </echo>
|
|
|
+ <!--
|
|
|
+ [echo] #427 $out_task.dita.final = /Users/a.binder/Documents/se/SE/schema/ant-url_action/default_db.in7_dziennik_koresp/pismo/temp/Proj6782__/Proj6782___out_task_dita_final.dita ,
|
|
|
+ $out = out ,
|
|
|
+ $out_task_file = Proj6782___out_task_dita_final.dita
|
|
|
+
|
|
|
+
|
|
|
+ /Users/a.binder/Documents/se/SE/schema/ant-url_action/default_db.in7_dziennik_koresp/CRM_PROCES_tree/build_CRM_PROCES_tree.xml:294: input file
|
|
|
+ /Users/a.binder/Documents/se/SE/schema/ant-url_action/default_db.in7_dziennik_koresp/pismo/out/Proj6782__.out_task.dita.final_with_RelatedFeatureLoop.xml does not exist -->
|
|
|
+
|
|
|
+ <echoxml file="${empty.xml}">
|
|
|
+ <empty>empty</empty>
|
|
|
+ </echoxml>
|
|
|
+
|
|
|
+ <xslt basedir="${default_db:recurse_ant_basedir}" style="${get_wfs_recurse_xsl.xsl}" in="${empty.xml}" destdir="./" out="${out_task.dita.final}" > <!-- out_task.dita.final -->
|
|
|
+ <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="main"/>
|
|
|
+ </factory>
|
|
|
+
|
|
|
+ <!--<classpath location="/opt/local/share/java/saxon.jar"/>-->
|
|
|
+
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ <param name="typeName" expression="${typeName}"/>
|
|
|
+ <!--<param name="webRootUrl" expression="${webRootUrl}" />-->
|
|
|
+ <!--<param name="main_build_recurse_ant.dita" expression="${main_build_recurse_ant.dita}"/>-->
|
|
|
+ <param name="uuid" expression="${uuid_tested}"/>
|
|
|
+ <param name="xpath" expression="${xpath}"/>
|
|
|
+ <param name="xpath_value" expression="${xpath_value}"/>
|
|
|
+ <param name="username.pass" expression="${Password}"/>
|
|
|
+ <param name="php_session_id_ok.string" expression="${php_session_id}"/>
|
|
|
+ <!--<param name="basedir" expression="${basedir}"/>-->
|
|
|
+ <param name="temp" expression="${temp}"/>
|
|
|
+ <param name="debug" expression="0"/>
|
|
|
+ <param name="simpleSchema_dir" expression="${simpleSchema_dir}"/>
|
|
|
+ <!--<param name="simpleSchema.xml" expression="${basedir}/${main_build_recurse_ant.dita}"/>-->
|
|
|
+ <!--<param name="noRelatedFeatureRoot" expression="1"/>-->
|
|
|
+ </xslt>
|
|
|
+
|
|
|
+
|
|
|
+ <!--<move file="${out_task.dita.final}" tofile="${out_task.dita.final}.xml"/>-->
|
|
|
+ <copy file="${out_task.dita.final}" tofile="${out_task.dita.final_with_RelatedFeatureLoop}.xml"/>
|
|
|
+
|
|
|
+ <ant antfile="${build_CRM_PROCES_tree}" target="default_db:PROCES_INIT:tree:dita" inheritall="false">
|
|
|
+ <property name="uuid" value="${uuid}"/>
|
|
|
+ <property name="default_db:recurse_ant_basedir.out" value="${default_db:recurse_ant_basedir}/out"/>
|
|
|
+ </ant>
|
|
|
+
|
|
|
+ <exec executable="${dita.dir}" dir=".">
|
|
|
+ <arg value="-i"/>
|
|
|
+ <arg value="${CRM_PROCES_tree_basedir.temp}/${uuid}/${uuid}.ditamap" />
|
|
|
+ <!-- <arg value="-t" />
|
|
|
+ <arg value="temp" />-->
|
|
|
+ <arg value="-f" />
|
|
|
+ <arg value="pdf"/>
|
|
|
+ <arg value="-o"/>
|
|
|
+ <arg value="${user.dir}/${out}"/>
|
|
|
+ </exec>
|
|
|
+
|
|
|
+ <echo message="OUTPUT__START"/>
|
|
|
+ <!--<echo>
|
|
|
+ <br>Wygenerowano wyjsciowy plik XML - sciagnij go <a href="${webRootUrl}/${out_task.dita.final_with_RelatedFeatureLoop_no_path}.xml" target="_blank"> "${webRootUrl}/${out_task.dita.final_with_RelatedFeatureLoop_no_path}.xml</a></br>
|
|
|
+ </echo>-->
|
|
|
+ <echo>
|
|
|
+ <br># Wygenerowano wyjsciowy plik PDF - sciagnij go <a href="${webRootUrl}/${out}/${uuid}.pdf" target="_blank"> "${webRootUrl}/${out}/${uuid}.pdf</a></br>
|
|
|
+ </echo>
|
|
|
+ <echo>
|
|
|
+ <br>Wyslanie linka mailem : <a href="mailto:?subject=Wiadomosc nr ${xpath_value}&body=link do sprawy: ${webRootUrl}/${out}/${out_task.dita.final.noext}.pdf">Wyslanie linka mailem</a> </br>
|
|
|
+ </echo>
|
|
|
+ <antcall target="send_email.send_email_from_xml_parsed">
|
|
|
+ <param name="send_email.xml_to_parse.xml" value="${out_task.dita.final}"/>
|
|
|
+ <param name="antFunctionUrl" value="${antFunctionUrl}"/>
|
|
|
+ <param name="confirmAntfile" value="${confirmAntfile}"/>
|
|
|
+ <param name="confirmAntfileTarget" value="${confirmAntfileTarget}"/>
|
|
|
+ <param name="out.pdf" value="${user.dir}/${out}/${out_task.dita.final.noext}.pdf"/>
|
|
|
+ </antcall>
|
|
|
+ <echo message="OUTPUT__END"/>
|
|
|
+ <record name="recursed.log" action="stop" />
|
|
|
+ </target>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<!-- @2017-12-14 copied to build_get_wfs.xml TO BE REMOVED FROM THERE!!! after basepath modify! -->
|
|
|
<target name="php_session_id_cond">
|
|
|
@@ -481,6 +598,7 @@
|
|
|
</target>
|
|
|
|
|
|
<target name="check_default_db_xml_cache.public_default" depends="set_default_db_xml_cache.public_local" unless="${set_default_db_xml_cache.public_local}">
|
|
|
+ <fail>#569 TO VERIFY SHOULD BE ROOT BASEDIR WORKING FINE</fail>
|
|
|
<echo>#475 B Ustawiamy ${basedir}/../../../default_db_xml_cache.public</echo>
|
|
|
<property name="default_db_xml_cache.public" value="${basedir}/../../../default_db_xml_cache.public"/>
|
|
|
<property name="build_recurse_ant.xsl" value="${default_db_xml_cache.public}/build_recurse_ant.xsl"/>
|
|
|
@@ -500,8 +618,9 @@
|
|
|
|
|
|
|
|
|
<target name="main_build_recurse_ant.dita_with_id" if="${test_if_dita}">
|
|
|
- <echo>#490 debug external_schema_table.path ${external_schema_table.path} - is it correct?</echo>
|
|
|
- <xslt basedir="${default_db:recurse_ant_basedir}" style="${main_build_recurse_ant.dita_with_id.xsl}" in="${main_build_recurse_ant.dita}" destdir="./" out="${main_build_recurse_ant.dita_with_id}" >
|
|
|
+ <echo>#490 debug external_schema_table.path ${external_schema_table.path} - is it correct?
|
|
|
+ $xpath_query.xsl = ${xpath_query.xsl}</echo>
|
|
|
+ <xslt basedir="${default_db:recurse_ant_basedir}" style="${main_build_recurse_ant.dita_with_id.xsl}" in="${recurse_ant.basedir}/${main_build_recurse_ant.dita}" destdir="./" out="${main_build_recurse_ant.dita_with_id}" >
|
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
</factory>
|
|
|
@@ -576,6 +695,7 @@
|
|
|
</target>
|
|
|
|
|
|
<target name="xpath_query.xsl_fail" depends="xpath_query.xsl_check" if="${xpath_query_set}" description="to generate xpath_query.xsl if it is set">
|
|
|
+ <echo>#580 debug $uuid = ${uuid} , $xpath_query.xsl = ${xpath_query.xsl} </echo>
|
|
|
<echoxml file="${empty.xml}">
|
|
|
<empty>empty</empty>
|
|
|
</echoxml>
|
|
|
@@ -610,7 +730,9 @@
|
|
|
</target>
|
|
|
|
|
|
<target name="build_recurse_ant_xsl_xpath_filter.xsl_fail" depends="check_default_db_xml_cache.public_default,check_set_default_db_xml_cache.public_local" if="${xpath_query_set}" description="if it is not set ">
|
|
|
- <echo>build_recurse_ant_xsl_xpath_filter.xsl using $default_db_xml_cache.public ${default_db_xml_cache.public}</echo>
|
|
|
+ <echo>#626 build_recurse_ant_xsl_xpath_filter.xsl using $default_db_xml_cache.public ${default_db_xml_cache.public}
|
|
|
+ $xpath_query.xsl = ${xpath_query.xsl}
|
|
|
+ </echo>
|
|
|
<xslt basedir="${default_db:recurse_ant_basedir}" style="${build_recurse_ant_xsl_xpath_filter.xsl}" in="${build_recurse_ant.xsl}" destdir="./" out="${build_recurse_ant_xpath_query.xsl}" force="true" >
|
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
@@ -831,11 +953,11 @@
|
|
|
|
|
|
|
|
|
<target name="buildpdf_recursed" depends="install_folders,uuid_check,typeName_check,xpath_check,xpath_value_check,passwordBase64Basic_check,php_session_id_check,mkdir_process_locks,build_recurse_ant_xsl_xpath_filter.xsl,check_dita" if="${test_if_dita}">
|
|
|
-
|
|
|
- <exec executable="${dita.dir}" dir=".">
|
|
|
+ <echo>#926 executing dita in @dir = $temp = ${temp}</echo>
|
|
|
+ <exec executable="${dita.dir}" dir="${temp}" > <!-- R dir="." -->
|
|
|
<arg value="-i"/>
|
|
|
<arg value="${out_task.dita.final}" />
|
|
|
- <!-- <arg value="-t" />
|
|
|
+ <!-- <arg value="-t" />
|
|
|
<arg value="temp" />-->
|
|
|
<arg value="-f" />
|
|
|
<arg value="pdf"/>
|
|
|
@@ -846,6 +968,11 @@
|
|
|
<arg value="-c"/>
|
|
|
<arg value="echo ${out_task.dita.final} |sed 's/^.*\///'"/>
|
|
|
</exec>
|
|
|
+
|
|
|
+ <!--<antcall target="send_email.send_email_from_xml_parsed">
|
|
|
+ <param name="send_email.xml_to_parse.xml" value="${out_task.dita.final}"/>
|
|
|
+ </antcall>-->
|
|
|
+
|
|
|
<echo message="OUTPUT__START"/>
|
|
|
<!--<echo> url = ${url}
|
|
|
</echo>-->
|
|
|
@@ -870,25 +997,80 @@
|
|
|
<echo message="OUTPUT__END"/>
|
|
|
</target>
|
|
|
|
|
|
- <target name="buildpdf_recursed_xsl" depends="install_folders,uuid_check,typeName_check,xpath_check,xpath_value_check,set_dita" description="retrieve and build object from api using just XSL calls - needed username and password">
|
|
|
+
|
|
|
+
|
|
|
+ <target name="builxml_recursed" description="To build just XML from map - usable for custom scripting" depends="install_folders,uuid_check,typeName_check,xpath_check,xpath_value_check,passwordBase64Basic_check,php_session_id_check,mkdir_process_locks,build_recurse_ant_xsl_xpath_filter.xsl,check_dita" if="${test_if_dita}">
|
|
|
+ <input addproperty="main_build_recurse_ant.dita" message="Type xml map of object to traverse (RelatedFeature xpath=ID typeName=p5_default_db:CRM_LISTA_ZASOBOW) "/>
|
|
|
+ <input addproperty="typeName"/>
|
|
|
+ <input addproperty="uuid"/>
|
|
|
+ <input addproperty="xpath"/>
|
|
|
+ <input addproperty="xpath_value"/>
|
|
|
+ <input addproperty="passwordBase64Basic"/>
|
|
|
+ <input addproperty="out_task.dita.final"/>
|
|
|
+
|
|
|
|
|
|
|
|
|
- <echo>#836 will try to in $main_build_recurse_ant.dita_with_id ${main_build_recurse_ant.dita_with_id}</echo>
|
|
|
- <xslt basedir="${default_db:recurse_ant_basedir}" style="${get_wfs_recurse_xsl.xsl}" in="${empty.xml}" destdir="./" out="${main_build_recurse_ant.dita_with_id}" > <!-- out_task.dita.final -->
|
|
|
+ <!-- -Dmain_build_recurse_ant.dita=/Users/a.binder/Documents/xmlschema_procesy5/src-xmlschema/public_html/WPS_Functions/default_db/recurse_ant/CRM_LISTA_ZASOBOW_test.schema.xml -->
|
|
|
+ <!--<exec executable="${dita.dir}" dir=".">
|
|
|
+ <arg value="-i"/>
|
|
|
+ <arg value="${out_task.dita.final}" />
|
|
|
+ <!-\- <arg value="-t" />
|
|
|
+ <arg value="temp" />-\->
|
|
|
+ <arg value="-f" />
|
|
|
+ <arg value="pdf"/>
|
|
|
+ <arg value="-o"/>
|
|
|
+ <arg value="${out}"/>
|
|
|
+ </exec>-->
|
|
|
+ <!--<exec executable="bash" dir="." outputproperty="out_task_file">
|
|
|
+ <arg value="-c"/>
|
|
|
+ <arg value="echo ${out_task.dita.final} |sed 's/^.*\///'"/>
|
|
|
+ </exec>-->
|
|
|
+ <echo message="OUTPUT__START"/>
|
|
|
+ <!--<echo> url = ${url}
|
|
|
+ </echo>-->
|
|
|
+ <!--<echo> passwordBase64Basic = ${passwordBase64Basic_tested}
|
|
|
+ </echo>-->
|
|
|
+ <!--<echo> $webRootUrl = ${webRootUrl}
|
|
|
+ </echo>-->
|
|
|
+ <!--<echo> $wfs_output = ${wfs_output}
|
|
|
+ </echo>-->
|
|
|
+ <echo>
|
|
|
+ out_task.dita.final = ${out_task.dita.final}
|
|
|
+ </echo>
|
|
|
+ <!--<echo>
|
|
|
+ <br>Wygenerowano druk pdf - sciagnij go <a href="${webRootUrl}/${out}/${out_task.dita.final.noext}.pdf" target="_blank"> "${webRootUrl}/${out}/${out_task.dita.final.noext}.pdf</a></br>
|
|
|
+ </echo>-->
|
|
|
+
|
|
|
+ <echo message="OUTPUT__END"/>
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="buildpdf_recursed_xsl" depends="install_folders,uuid_check,typeName_check,xpath_check,xpath_value_check,set_dita" description="retrieve and build object from api using just XSL calls - needed username and password">
|
|
|
+ <record name="buildpdf_recursed_xsl.log" action="start" />
|
|
|
+ <echo>#836 will try to in $main_build_recurse_ant.dita_with_id ${main_build_recurse_ant.dita_with_id} , $empty.xml = ${empty.xml}</echo>
|
|
|
+ <echoxml file="${empty.xml}">
|
|
|
+ <empty>empty</empty>
|
|
|
+ </echoxml>
|
|
|
+ <xslt basedir="${default_db:recurse_ant_basedir}" style="${get_wfs_recurse_xsl.xsl}" in="${empty.xml}" destdir="./" out="${out_task.dita.final}" > <!-- out_task.dita.final -->
|
|
|
<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="main"/>
|
|
|
</factory>
|
|
|
|
|
|
- <classpath location="/opt/local/share/java/saxon.jar"/>
|
|
|
- <!--<classpath location="/opt/local/share/java/saxon9he.jar"/>-->
|
|
|
+ <!--<classpath location="/opt/local/share/java/saxon.jar"/>-->
|
|
|
+
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
<!--<param name="webRootUrl" expression="${webRootUrl}" />-->
|
|
|
<!--<param name="main_build_recurse_ant.dita" expression="${main_build_recurse_ant.dita}"/>-->
|
|
|
<param name="uuid" expression="${uuid_tested}"/>
|
|
|
+ <param name="xpath" expression="${xpath}"/>
|
|
|
+ <param name="xpath_value" expression="${xpath_value}"/>
|
|
|
<param name="username.pass" expression="${Password}"/>
|
|
|
+ <param name="php_session_id_ok.string" expression="${php_session_id}"/>
|
|
|
<!--<param name="basedir" expression="${basedir}"/>-->
|
|
|
<param name="temp" expression="${temp}"/>
|
|
|
<param name="simpleSchema_dir" expression="${simpleSchema_dir}"/>
|
|
|
+ <param name="simpleSchema.xml" expression="${basedir}/${main_build_recurse_ant.dita}"/>
|
|
|
+ <param name="noRelatedFeatureRoot" expression="1"/>
|
|
|
</xslt>
|
|
|
|
|
|
|
|
|
@@ -908,18 +1090,184 @@
|
|
|
<arg value="${out}"/>
|
|
|
</exec>-->
|
|
|
|
|
|
+
|
|
|
+<!--<antcall target="send_email.send_email_from_xml_parsed">
|
|
|
+ <param name="send_email.xml_to_parse.xml" value="${out_task.dita.final}"/>
|
|
|
+ </antcall>-->
|
|
|
+
|
|
|
+ <exec executable="${dita.dir}" dir=".">
|
|
|
+ <arg value="-i"/>
|
|
|
+ <arg value="${out_task.dita.final}" />
|
|
|
+ <!-- <arg value="-t" />
|
|
|
+ <arg value="temp" />-->
|
|
|
+ <arg value="-f" />
|
|
|
+ <arg value="pdf"/>
|
|
|
+ <arg value="-o"/>
|
|
|
+ <arg value="${out}"/>
|
|
|
+ </exec>
|
|
|
+ <exec executable="bash" dir="." outputproperty="out_task_file">
|
|
|
+ <arg value="-c"/>
|
|
|
+ <arg value="echo ${out_task.dita.final} |sed 's/^.*\///'"/>
|
|
|
+ </exec>
|
|
|
+
|
|
|
+
|
|
|
<echo message="OUTPUT__START"/>
|
|
|
<!--<echo>
|
|
|
<br>Wygenerowano wyjsciowy plik XML - sciagnij go <a href="${webRootUrl}/${out_task.dita.final_with_RelatedFeatureLoop_no_path}.xml" target="_blank"> "${webRootUrl}/${out_task.dita.final_with_RelatedFeatureLoop_no_path}.xml</a></br>
|
|
|
</echo>-->
|
|
|
<echo>
|
|
|
+ <br>Wygenerowano druk pdf - sciagnij go <a href="${webRootUrl}/${out}/${out_task.dita.final.noext}.pdf" target="_blank"> "${webRootUrl}/${out}/${out_task.dita.final.noext}.pdf</a></br>
|
|
|
+ </echo>
|
|
|
+ <echo>
|
|
|
+ <br>Wyslanie linka mailem : <a href="mailto:?subject=Wiadomosc nr ${xpath_value}&body=link do sprawy: ${webRootUrl}/${out}/${out_task.dita.final.noext}.pdf">Wyslanie linka mailem</a> </br>
|
|
|
+ </echo>
|
|
|
+ <!--<echo>
|
|
|
<br># Wygenerowano wyjsciowy plik PDF - sciagnij go <a href="${webRootUrl}/${out}/${uuid}.pdf" target="_blank"> "${webRootUrl}/${out}/${uuid}.pdf</a></br>
|
|
|
+ </echo>-->
|
|
|
+ <echo message="OUTPUT__END"/>
|
|
|
+ <record name="buildpdf_recursed_xsl.log" action="stop" />
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <condition property="confirmAntfile.isset">
|
|
|
+ <isset property="confirmAntfile"/>
|
|
|
+ </condition>
|
|
|
+
|
|
|
+ <target name="confirmAntfile" if="confirmAntfile.isset">
|
|
|
+ <echo message="OUTPUT__START"/>
|
|
|
+ <echo>#1112 wyzwalam ${confirmAntfile} target ${confirmAntfileTarget}: </echo>
|
|
|
+ <ant antfile="${confirmAntfile}" target="${confirmAntfileTarget}"></ant>
|
|
|
+ <echo message="OUTPUT__END"/>
|
|
|
+ </target>
|
|
|
+
|
|
|
+ <target name="buildpdf_recursed_xsl_mail" unless="confirmAntfile.isset" depends="install_folders,uuid_check,typeName_check,xpath_check,xpath_value_check,set_dita,confirmAntfile,php_session_id_cond" description="URL_TASK buildpdf_recursed_xsl_mail szybki druk z wysylka mailem">
|
|
|
+ <record name="buildpdf_recursed_xsl_mail.log" action="start" />
|
|
|
+ <!--<fail unless="php_session_id_tested">#1135 no php_session_id_tested</fail>-->
|
|
|
+ <echo>#836 $php_session_id_tested = ${php_session_id_tested} ; $basedir = ${basedir} ;
|
|
|
+ $dita.dir = ${dita.dir}
|
|
|
+ $confirmAntfile.isset = ${confirmAntfile.isset} will try to in $main_build_recurse_ant.dita_with_id ${main_build_recurse_ant.dita_with_id} , $empty.xml = ${empty.xml}; $uuid = ${uuid} ; $uuid_tested = ${uuid_tested}</echo>
|
|
|
+ <echoxml file="${empty.xml}">
|
|
|
+ <empty>empty</empty>
|
|
|
+ </echoxml>
|
|
|
+
|
|
|
+ <!--<tempfile property="php_session_id_check.properties" destdir="${bgwrx.temp}" prefix="php_session_id_check.properties" deleteonexit="yes"/>
|
|
|
+ <ant antfile="${get_wfs.build}" target="php_session_id_check.properties" inheritall="yes">
|
|
|
+ <!-\-<property name="php_session_id_ok.string" value="${php_session_id_ok.string}"/>
|
|
|
+ <property name="username.pass" value="${username.pass}"/>
|
|
|
+ <property name="username" value="${username}"/>-\->
|
|
|
+ </ant>
|
|
|
+ <loadproperties srcfile="${php_session_id_check.properties}"/>-->
|
|
|
+ <echo>#1150 php_session_id_ok.string = ${php_session_id_ok.string} </echo>
|
|
|
+
|
|
|
+ <xslt basedir="${default_db:recurse_ant_basedir}" style="${get_wfs_recurse_xsl.xsl}" in="${empty.xml}" destdir="./" out="${out_task.dita.final}" failonerror="true"> <!-- out_task.dita.final -->
|
|
|
+ <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="main"/>
|
|
|
+ </factory>
|
|
|
+
|
|
|
+ <!--<classpath location="/opt/local/share/java/saxon.jar"/>-->
|
|
|
+
|
|
|
+ <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
+ <!--<param name="webRootUrl" expression="${webRootUrl}" />-->
|
|
|
+ <!--<param name="main_build_recurse_ant.dita" expression="${main_build_recurse_ant.dita}"/>-->
|
|
|
+ <param name="uuid" expression="${uuid_tested}"/>
|
|
|
+ <param name="xpath" expression="${xpath}"/>
|
|
|
+ <param name="xpath_value" expression="${xpath_value}"/>
|
|
|
+ <param name="username.pass" expression="${Password}"/>
|
|
|
+ <param name="php_session_id_ok.string" expression="${php_session_id_ok.string}"/>
|
|
|
+ <!--<param name="basedir" expression="${basedir}"/>-->
|
|
|
+ <param name="temp" expression="${temp}"/>
|
|
|
+ <param name="simpleSchema_dir" expression="${simpleSchema_dir}"/>
|
|
|
+ <param name="simpleSchema.xml" expression="${user.dir}/${main_build_recurse_ant.dita}"/>
|
|
|
+ <param name="noRelatedFeatureRoot" expression="1"/>
|
|
|
+ </xslt>
|
|
|
+
|
|
|
+ <!--<copy file="${out_task.dita.final}" tofile="/tmp/test.dita" verbose="true"/>-->
|
|
|
+ <!--<ant antfile="${build_CRM_PROCES_tree}" target="default_db:PROCES_INIT:tree:dita" inheritall="false">
|
|
|
+ <property name="uuid" value="${uuid}"/>
|
|
|
+ <property name="default_db:recurse_ant_basedir.out" value="${default_db:recurse_ant_basedir}/out"/>
|
|
|
+ </ant>-->
|
|
|
+
|
|
|
+ <!--<exec executable="${dita.dir}" dir=".">
|
|
|
+ <arg value="-i"/>
|
|
|
+ <arg value="${CRM_PROCES_tree_basedir.temp}/${uuid}/${uuid}.ditamap" />
|
|
|
+ <!-\- <arg value="-t" />
|
|
|
+ <arg value="temp" />-\->
|
|
|
+ <arg value="-f" />
|
|
|
+ <arg value="pdf"/>
|
|
|
+ <arg value="-o"/>
|
|
|
+ <arg value="${out}"/>
|
|
|
+ </exec>-->
|
|
|
+
|
|
|
+
|
|
|
+ <exec executable="${dita.dir.bin.dita}" dir="." failifexecutionfails="true">
|
|
|
+ <arg value="-i"/>
|
|
|
+ <arg value="${out_task.dita.final}" />
|
|
|
+ <!-- <arg value="-t" />
|
|
|
+ <arg value="temp" />-->
|
|
|
+ <arg value="-f" />
|
|
|
+ <arg value="pdf"/>
|
|
|
+ <arg value="-o"/>
|
|
|
+ <arg value="${user.dir}/${out}"/>
|
|
|
+ </exec>
|
|
|
+ <exec executable="bash" dir="." outputproperty="out_task_file">
|
|
|
+ <arg value="-c"/>
|
|
|
+ <arg value="echo ${out_task.dita.final} |sed 's/^.*\///'"/>
|
|
|
+ </exec>
|
|
|
+
|
|
|
+ <echo> $user.dir = ${user.dir}</echo>
|
|
|
+ <echo message="OUTPUT__START"/>
|
|
|
+ <!--<echo>
|
|
|
+ <br>Wygenerowano wyjsciowy plik XML - sciagnij go <a href="${webRootUrl}/${out_task.dita.final_with_RelatedFeatureLoop_no_path}.xml" target="_blank"> "${webRootUrl}/${out_task.dita.final_with_RelatedFeatureLoop_no_path}.xml</a></br>
|
|
|
+ </echo>-->
|
|
|
+ <echo>
|
|
|
+ <br>Wygenerowano druk pdf - sciagnij go <a href="${webRootUrl}/${out}/${out_task.dita.final.noext}.pdf" target="_blank"> "${webRootUrl}/${out}/${out_task.dita.final.noext}.pdf</a></br>
|
|
|
</echo>
|
|
|
+ <echo>
|
|
|
+ <br>Wyslanie linka mailem : <a href="mailto:?subject=Wiadomosc nr ${xpath_value}&body=link do sprawy: ${webRootUrl}/${out}/${out_task.dita.final.noext}.pdf">Wyslanie linka mailem</a> </br>
|
|
|
+ </echo>
|
|
|
+ <!--<echo message="OUTPUT__END"/>-->
|
|
|
+ <antcall target="send_email.send_email_from_xml_parsed">
|
|
|
+ <param name="send_email.xml_to_parse.xml" value="${out_task.dita.final}"/>
|
|
|
+ <param name="antFunctionUrl" value="${antFunctionUrl}"/>
|
|
|
+ <param name="confirmAntfile" value="${confirmAntfile}"/>
|
|
|
+ <param name="confirmAntfileTarget" value="${confirmAntfileTarget}"/>
|
|
|
+ <param name="out.pdf" value="${user.dir}/${out}/${out_task.dita.final.noext}.pdf"/>
|
|
|
+ </antcall>
|
|
|
+ <!--<echo message="OUTPUT__START"/>-->
|
|
|
+ <echo>
|
|
|
+ <!-- $template = V::get('template', '', $_GET); -->
|
|
|
+ <!-- menu https://biuro.biall-net.pl/SE/version-git/index.php?_route=UrlAction_Ant&typeName=default_db:IN7_DZIENNIK_KORESP&primaryKey=63007 -->
|
|
|
+ <!-- menu.choosed https://biuro.biall-net.pl/SE/version-git/index.php?_route=UrlAction_Ant&_task=ant&path=default_db.in7_dziennik_koresp/etykieta&template=buildpdf_recursed_xsl_mail&typeName=default_db:IN7_DZIENNIK_KORESP&primaryKey=63007&primaryKeyField=ID -->
|
|
|
+ <!-- dzialajace https://biuro.biall-net.pl/SE/version-git/index.php?_route=UrlAction_Ant&_task=ant&path=default_db.in7_dziennik_koresp/etykieta&template=buildpdf_recursed_xsl_mail&typeName=default_db:IN7_DZIENNIK_KORESP&primaryKey=63007&primaryKeyField=ID -->
|
|
|
+ <!-- DantFunctionUrl = https://biuro.biall-net.pl/SE/version-git/index.php?_route=UrlAction_Ant&_task=ant&path=default_db.in7_dziennik_koresp/etykieta&template=buildpdf_recursed_xsl_mail&typeName=default_db:IN7_DZIENNIK_KORESP&primaryKey=63007&primaryKeyField=ID -->
|
|
|
+ <!-- $outputFunctionUrl https://biuro.biall-net.pl/SE/version-git/index.php?_route=UrlAction_Ant&_task=output&path=default_db.in7_dziennik_koresp/etykieta&file= -->
|
|
|
+ <!-- pdf https://biuro.biall-net.pl/SE/version-git/schema/ant-url_action/default_db.in7_dziennik_koresp/etykieta/ out/ 2018-04-20-01_09_2128f9d7_out_task_dita_final.pdf -->
|
|
|
+ <!-- link https://biuro.biall-net.pl/SE/version-git/index.php?_route=UrlAction_Ant&_task=ant&path=default_db.in7_dziennik_koresp/etykieta&template=buildpdf_recursed_xsl_mail&typeName=default_db:IN7_DZIENNIK_KORESP&primaryKey=63007&primaryKeyField=ID-->
|
|
|
+ <!-- https://biuro.biall-net.pl/SE/version-git/index.php?_route=UrlAction_Ant&_task=ant&path=default_db.in7_dziennik_koresp/etykieta&file=&template=buildpdf_recursed_xsl_mail&typeName=default_db:IN7_DZIENNIK_KORESP&primaryKey=63007&primaryKeyField=ID&confirmAntfile=&confirmAntfileTarget=&confirmAntfile=&confirmAntfileTarget=send_email.send_email_from_xml_parsed.build.xml.confirm.1 -->
|
|
|
+ <!-- confirmed https://biuro.biall-net.pl/SE/version-git/index.php?_route=UrlAction_Ant&_task=ant&path=default_db.in7_dziennik_koresp/etykieta&file=&template=buildpdf_recursed_xsl_mail&typeName=default_db:IN7_DZIENNIK_KORESP&primaryKey=63007&primaryKeyField=ID&confirmAntfile=&confirmAntfileTarget=send_email.send_email_from_xml_parsed.build.xml.confirm.1&confirmAntfile=&confirmAntfileTarget=send_email.send_email_from_xml_parsed.build.xml.confirm.1 -->
|
|
|
+ <!-- https://biuro.biall-net.pl/SE/version-git/index.php?_route=UrlAction_Ant&_task=ant&path=default_db.in7_dziennik_koresp/etykieta&file=&template=buildpdf_recursed_xsl_mail&typeName=default_db:IN7_DZIENNIK_KORESP&primaryKey=63007&primaryKeyField=ID&confirmAntfile=&confirmAntfileTarget=send_email.send_email_from_xml_parsed.build.xml.confirm.1&confirmAntfile=&confirmAntfileTarget=send_email.send_email_from_xml_parsed.build.xml.confirm.3 -->
|
|
|
+ <!-- URL_TASK send_email.send_email_from_xml_parsed.confirm
|
|
|
+ Wysłanie mailem przez system ${webRootUrl}
|
|
|
+ $url = ${url}
|
|
|
+ $typeName = ${typeName}
|
|
|
+ $xpath = ${xpath}
|
|
|
+ $xpath_value = ${xpath_value}
|
|
|
+ $api_url = ${api_url}-->
|
|
|
+ <!--$outputFunctionUrl = ${outputFunctionUrl}
|
|
|
+ $antFunctionUrl = ${antFunctionUrl}
|
|
|
+ $confirmAntfile = ${confirmAntfile} / $confirmAntfileTarget = ${confirmAntfileTarget}
|
|
|
+ -->
|
|
|
+ <br/>
|
|
|
+ </echo>
|
|
|
+ <!--<echo>
|
|
|
+ <br># Wygenerowano wyjsciowy plik PDF - sciagnij go <a href="${webRootUrl}/${out}/${uuid}.pdf" target="_blank"> "${webRootUrl}/${out}/${uuid}.pdf</a></br>
|
|
|
+ </echo>-->
|
|
|
<echo message="OUTPUT__END"/>
|
|
|
+ <record name="buildpdf_recursed_xsl_mail.log" action="stop" />
|
|
|
</target>
|
|
|
|
|
|
<target name="buildpdf_recursed_html5" depends="install_folders,uuid_check,typeName_check,xpath_check,xpath_value_check,passwordBase64Basic_check,php_session_id_check,check_dita" if="${test_if_dita}" description="URL_TASK Pobierz Wersję HTML">
|
|
|
- <property name="dita.dir" location="/Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita"/>
|
|
|
+ <!--R<property name="dita.dir" location="/Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita"/>-->
|
|
|
<exec executable="${dita.dir}" dir=".">
|
|
|
<arg value="-i"/>
|
|
|
<arg value="${out_task.dita.final}" />
|
|
|
@@ -963,7 +1311,7 @@
|
|
|
</target>
|
|
|
|
|
|
<target name="buildpdf_recursed_tocjs" depends="install_folders,uuid_check,typeName_check,xpath_check,xpath_value_check,passwordBase64Basic_check,php_session_id_check,check_dita" if="${test_if_dita}" description="URL_TASK Pobierz Dynamiczną Wersję HTML">
|
|
|
- <property name="dita.dir" location="/Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita"/>
|
|
|
+ <property name="dita.dir" value="/Library/Server/Web/Data/Sites/Default/SE/stuff/dita-ot-2.3.3/bin/dita"/>
|
|
|
<exec executable="${dita.dir}" dir=".">
|
|
|
<arg value="-i"/>
|
|
|
<arg value="${out_task.dita.final}" />
|