a.binder vor 9 Jahren
Ursprung
Commit
824b6f6383

+ 19 - 3
SE/schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/build.xml

@@ -17,7 +17,11 @@
         />
     -->
 
-
+    <property name="uuid" value="${uuid}"/>
+    <property name="passwordBase64Basic" value="${passwordBase64Basic}"/>
+    <property name="url" value="${url}"/>
+    
+    
     
     <tempfile property="out_task.dita" deleteonexit="no"  destdir="temp"/>
     <tempfile property="wfs_output" deleteonexit="no"  destdir="temp"  />
@@ -28,7 +32,7 @@
     </if>-->
 
 
-    <target name="get_related_feature">
+     <target name="get_related_feature">
         
         <exec executable="curl"  output="${wfs_output}" errorproperty="wfs_error" resultproperty="wfs_result">
             <arg line="-H 'Authorization: Basic ${passwordBase64Basic}' ${url}"/>
@@ -41,7 +45,16 @@
         
         <echo message="ERROR__START"/>
         <echo message="${wfs_error}"/>
-        <echo message="ERROR__END"/>
+        
+         
+         <echo> gues path of pdf is </echo>
+         <exec  executable="bash" dir="." outputproperty="url_of_current_script">
+             <arg value="-c"/>
+             <arg value="echo ${url} 's/index.php.*//'"/>
+         </exec>
+         <echo message="ERROR__END"/>
+        
+        
         
         <!--<echo file="${wfs_output}" output="${wfs_output}"/>-->
         
@@ -92,6 +105,9 @@
         <echo>
             &lt;br&gt;Wygenerowano druk pdf - sciagnij go &lt;a href=&quot;https://biuro.biall-net.pl/SE/version-git/schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/out/${out_task_file}.pdf&quot;&gt; out/${out_task_file}.pdf&lt;/a&gt;&lt;/br&gt; 
         </echo>
+        <echo>
+            &lt;br&gt;Wygenerowano druk pdf - sciagnij go &lt;a href=&quot;${url_of_current_script}schema/ant-url_action/default_db.in7_dziennik_koresp/test-druk/out/${out_task_file}.pdf&quot;&gt; out/${out_task_file}.pdf&lt;/a&gt;&lt;/br&gt; 
+        </echo>
         <echo message="OUTPUT__END"/>
     </target>
 </project>