|
|
@@ -51,18 +51,22 @@
|
|
|
<property name="xpath_value" value="${xpath_value}"/> <!-- to be set initially like 1000 (to search ID=1000, if ID we get by featureID -->
|
|
|
|
|
|
<property name="loop_path_recurs" value=""/> <!-- w przypadku podania, system powinien w tym katalogu zapisywac wynik xml dzialania, azeby odbudowac rekursywne drzewo - zapisujemy po system_cache__appinfo:id np bedzie ${temp}/${uuid}_CRM_PROCES___d14e4479-1_PROCES_BEN/ -->
|
|
|
- <property name="temp" value="${basedir}/temp${loop_path_recurs}"/> <!-- temp files-->
|
|
|
+ <property name="temp_name" value="temp"/> <!-- temp files-->
|
|
|
+ <property name="temp" value="${basedir}/${temp_name}${loop_path_recurs}"/> <!-- temp files-->
|
|
|
<!-- variables to first transform of doc for then get related features -->
|
|
|
<!--<property name="default_db_xml_cache.public" value="../../../default_db_xml_cache.public"/>--> <!-- katalog z xsl z projektu src-xmlschema.git -->
|
|
|
|
|
|
<!--<tempfile property="uuid" deleteonexit="yes"/>-->
|
|
|
<property name="out_task.dita" value="${temp}/${uuid}.out_task_dita"/>
|
|
|
<property name="out_task.dita.final" value="${temp}/${uuid}.out_task.dita.final"/>
|
|
|
+ <property name="out_task.dita.final_with_RelatedFeatureLoop_no_path" value="${temp_name}/${uuid}.out_task.dita.final_with_RelatedFeatureLoop"/>
|
|
|
<property name="out_task.dita.final_with_RelatedFeatureLoop" value="${temp}/${uuid}.out_task.dita.final_with_RelatedFeatureLoop"/>
|
|
|
+
|
|
|
+ <property name="recurse_ant_to_html.xsl" value="recurse_ant_to_html.xsl"/> <!-- do zrobienia -->
|
|
|
<!--<tempfile property="wfs_output" deleteonexit="no" destdir="temp" suffix=".xml" />-->
|
|
|
|
|
|
|
|
|
- <!--<record name="${temp}/ant.log" loglevel="verbose" append="true"/>-->
|
|
|
+ <record name="ant.log" loglevel="verbose" append="true" />
|
|
|
|
|
|
<echo> $basedir=${basedir};
|
|
|
$temp=${temp};
|
|
|
@@ -309,10 +313,10 @@
|
|
|
</xslt>
|
|
|
<echo message="OUTPUT__START"/>
|
|
|
<echo>
|
|
|
- <br>Wygenerowano wyjsciowy plik XML - sciagnij go <a href="${webRootUrl}/${out_task.dita.final_with_RelatedFeatureLoop}.xml" target="_blank"> "${webRootUrl}/${out_task.dita.final_with_RelatedFeatureLoop}.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 message="OUTPUT__END"/>
|
|
|
- </target>
|
|
|
+ </target>
|
|
|
|
|
|
<!-- #### eof tr_map #### -->
|
|
|
|
|
|
@@ -451,6 +455,7 @@
|
|
|
|
|
|
</xslt>
|
|
|
<!--<import file="${build_recurse_ant.xml}"/>-->
|
|
|
+ <record action="stop" name="ant.log"/>
|
|
|
<ant antfile="${build_recurse_ant.xml}" dir="." >
|
|
|
<property name="" value=""></property>
|
|
|
</ant>
|
|
|
@@ -491,6 +496,54 @@
|
|
|
</xslt>
|
|
|
<echo> zapisalem plik gotowy do utworzenia dita do ${out_task.dita.final}. </echo>
|
|
|
</target>
|
|
|
+
|
|
|
+ <target name="xml_recursed_from_tr_map_with_RelatedFeatureLoop_html" depends="xml_recursed_from_tr_map" description="URL_TASK Pobierz HTML">
|
|
|
+ <echo message="OUTPUT__START"/>
|
|
|
+
|
|
|
+ <!-- TODO proba wlaczenia rekursywnosci zapisanie wezla do sciezki w folderze-->
|
|
|
+ <!--<copy file="${out_task.dita.final}" tofile="${temp}/${loop_path_recurs}/${uuid_tested}.loop_path.xml" />-->
|
|
|
+
|
|
|
+ <!--<loadfile property="out_task.dita.final_no_RelatedFeatureRoot" srcfile="${out_task.dita.final}"/>-->
|
|
|
+ <!--<move file="${out_task.dita.final}" tofile="${out_task.dita.final}.xml"/>-->
|
|
|
+ <!--<echoxml file="${out_task.dita.final}.xml">
|
|
|
+ <RelatedFeatureRoot>${out_task.dita.final_no_RelatedFeatureRoot}</RelatedFeatureRoot>
|
|
|
+ </echoxml>-->
|
|
|
+
|
|
|
+ <xslt basedir="./" style="${build_recurse_ant_merge_dita_from_temp.xsl}" in="${main_build_recurse_ant.dita_with_id}" destdir="./" out="${out_task.dita.final_with_RelatedFeatureLoop}.xml" >
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ </factory>
|
|
|
+ <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="basedir" expression="${basedir}"/>-->
|
|
|
+ <param name="temp" expression="${temp}"/>
|
|
|
+ <param name="with_RelatedFeatureLoop" expression="true"/>
|
|
|
+ </xslt>
|
|
|
+
|
|
|
+ <xslt basedir="./" style="${recurse_ant_to_html.xsl}" in="${out_task.dita.final_with_RelatedFeatureLoop}.xml" destdir="./" out="${out_task.dita.final_with_RelatedFeatureLoop}.html" >
|
|
|
+ <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
+ <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
+ </factory>
|
|
|
+ <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="basedir" expression="${basedir}"/>-->
|
|
|
+ <!--<param name="temp" expression="${temp}"/>-->
|
|
|
+ <!--<param name="with_RelatedFeatureLoop" expression="true"/>-->
|
|
|
+ </xslt>
|
|
|
+
|
|
|
+
|
|
|
+ <echo message="OUTPUT__START"/>
|
|
|
+ <echo>
|
|
|
+ <br>Wygenerowano wyjsciowy plik XML - sciagnij go <a href="${webRootUrl}/${out_task.dita.final_with_RelatedFeatureLoop_no_path}.html" target="_blank"> "${webRootUrl}/${out_task.dita.final_with_RelatedFeatureLoop_no_path}.html</a></br>
|
|
|
+ </echo>
|
|
|
+ <echo message="OUTPUT__END"/>
|
|
|
+ </target>
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<!--<target name="build_recurse_ant_merge_dita_from_temp.xsl_with_RelatedFeatureLoop" depends="build_recurse_ant_merge_dita_from_temp.xsl" description="z plikow temp/$uuid.* buduje $out_task.dita.final ">
|
|
|
<xslt basedir="./" style="${build_recurse_ant_merge_dita_from_temp.xsl}" in="${main_build_recurse_ant.dita_with_id}" destdir="./" out="${out_task.dita.final_with_RelatedFeatureLoop}" >
|