a.binder 8 anni fa
parent
commit
a629b68cd4

+ 1 - 3
SE/schema/WPS_Functions/send_email/build_send_email.xml

@@ -19,7 +19,7 @@
       <input addproperty="confirmAntfileTarget" message="name of target to confirm something" />
       <!--<property name="send_email.xml_to_parse.xml" location="/opt/local/pl.procesy5/p5build_SE/temp/WPS_Functions/temp/recurse_ant/62888prezes1/62888prezes1_out_task_dita_final.dita"/>-->
       <tempfile property="send_email.send_email_from_xml_parsed.xml" destdir="${send_email.temp}" prefix="send_email.send_email_from_xml_parsed." suffix=".xml"/>
-      <tempfile property="send_email.send_email_from_xml_parsed.build.xml" destdir="${send_email.temp}" prefix="send_email.send_email_from_xml_parsed.build.xml" suffix=".xml"/>
+      <tempfile property="send_email.send_email_from_xml_parsed.build.xml" destdir="${send_email.temp}" prefix="send_email.send_email_from_xml_parsed.build.xml" suffix=".xml" deleteonexit="false"/>
       
       
       <xslt basedir="${send_email.temp}" style="${send_email.xsl}" in="${send_email.xml_to_parse.xml}"  destdir="./" out="${send_email.send_email_from_xml_parsed.xml}" >
@@ -50,8 +50,6 @@
          <param name="antFunctionUrl" expression="${antFunctionUrl}"/>
          <param name="confirmAntfile" expression="${send_email.send_email_from_xml_parsed.build.xml}"/>
          <param name="confirmAntfileTarget" expression="${confirmAntfileTarget}"/>
-         
-         
       </xslt>
       
       <ant antfile="${send_email.send_email_from_xml_parsed.build.xml}" target="send_email.send_email_from_xml_parsed.build.xml.to.confirm"/>

+ 6 - 0
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/etykieta/build_recurse_ant.xml

@@ -1107,6 +1107,12 @@
         <record name="buildpdf_recursed_xsl.log" action="stop" />
     </target>
     
+    <target name="confirmAntfile" if="confirmAntfile">
+        <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" depends="install_folders,uuid_check,typeName_check,xpath_check,xpath_value_check,set_dita"  description="URL_TASK buildpdf_recursed_xsl_mail szybki druk z wysylka mailem">
         <record name="buildpdf_recursed_xsl_mail.log" action="start" />