|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?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" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema" >
|
|
xmlns:xs="http://www.w3.org/2001/XMLSchema" >
|
|
|
<description>
|
|
<description>
|
|
|
Pismo
|
|
Pismo
|
|
@@ -871,24 +871,31 @@
|
|
|
</target>
|
|
</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="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">
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- <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 -->
|
|
|
|
|
|
|
+ <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">
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
<!--<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>-->
|
|
<!--<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>-->
|
|
|
<attribute name="http://saxon.sf.net/feature/initialTemplate" value="main"/>
|
|
<attribute name="http://saxon.sf.net/feature/initialTemplate" value="main"/>
|
|
|
</factory>
|
|
</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="webRootUrl" expression="${webRootUrl}" />-->
|
|
|
<!--<param name="main_build_recurse_ant.dita" expression="${main_build_recurse_ant.dita}"/>-->
|
|
<!--<param name="main_build_recurse_ant.dita" expression="${main_build_recurse_ant.dita}"/>-->
|
|
|
<param name="uuid" expression="${uuid_tested}"/>
|
|
<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="username.pass" expression="${Password}"/>
|
|
|
|
|
+ <param name="php_session_id_ok.string" expression="${php_session_id}"/>
|
|
|
<!--<param name="basedir" expression="${basedir}"/>-->
|
|
<!--<param name="basedir" expression="${basedir}"/>-->
|
|
|
<param name="temp" expression="${temp}"/>
|
|
<param name="temp" expression="${temp}"/>
|
|
|
<param name="simpleSchema_dir" expression="${simpleSchema_dir}"/>
|
|
<param name="simpleSchema_dir" expression="${simpleSchema_dir}"/>
|
|
|
|
|
+ <param name="simpleSchema.xml" expression="${basedir}/${main_build_recurse_ant.dita}"/>
|
|
|
|
|
+ <param name="noRelatedFeatureRoot" expression="1"/>
|
|
|
</xslt>
|
|
</xslt>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -908,13 +915,32 @@
|
|
|
<arg value="${out}"/>
|
|
<arg value="${out}"/>
|
|
|
</exec>-->
|
|
</exec>-->
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <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 message="OUTPUT__START"/>
|
|
|
<!--<echo>
|
|
<!--<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>
|
|
<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>-->
|
|
|
<echo>
|
|
<echo>
|
|
|
- <br># Wygenerowano wyjsciowy plik PDF - sciagnij go <a href="${webRootUrl}/${out}/${uuid}.pdf" target="_blank"> "${webRootUrl}/${out}/${uuid}.pdf</a></br>
|
|
|
|
|
|
|
+ <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>
|
|
|
|
|
+ <!--<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"/>
|
|
<echo message="OUTPUT__END"/>
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|