|
|
@@ -106,6 +106,7 @@
|
|
|
|
|
|
<target name="biale_plamy_points2ID_Way_do_Joins">
|
|
|
<echo message="przygotownie z joins2ways xsl biale_plamy_joins2ways_do_paths.xsl pod katem 1 katem 1-elementowych subarrayow aby zrobic paths "/>
|
|
|
+ <delete file="${joins2ways_z_ID_Way.xml}"/>
|
|
|
<xslt basedir="./" style="${joins2ways_z_ID_Way.xsl}" in="${joins2ways.xml}" destdir="./" out="${joins2ways_z_ID_Way.xml}" >
|
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
@@ -119,6 +120,7 @@
|
|
|
|
|
|
<target name="biale_plamy_joins2ways_do_paths">
|
|
|
<echo message="przygotownie z joins2ways xsl biale_plamy_joins2ways_do_paths.xsl pod katem 1 katem 1-elementowych subarrayow aby zrobic paths "/>
|
|
|
+ <delete file="${edge_joins.xml}"/>
|
|
|
<xslt basedir="./" style="${biale_plamy_joins2ways_do_paths.xsl}" in="${joins2ways_z_ID_Way.xml}" destdir="./" out="${edge_joins.xml}" >
|
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
@@ -141,6 +143,7 @@
|
|
|
<!-- postawienie PE po trasach -->
|
|
|
<target name="biale_plamy_from_paths_php_to_place_PE">
|
|
|
<echo message="Wyznaczenie PE na podstawie tras "/>
|
|
|
+ <delete file="${edge_paths_with_PE.xml}"/>
|
|
|
<xslt basedir="./" style="${edge_joins_filled_paths.xsl}" in="${edge_joins_filled_paths.xml}" destdir="./" out="${edge_paths_with_PE.xml}" >
|
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
@@ -160,6 +163,7 @@
|
|
|
|
|
|
<!-- przeliczenie dla kazdego PE z trasy punktu przeciecia i wybranie najkrotszej i wygenerowania kabla -->
|
|
|
<target name="biale_plamy_analyze_shortest_and_trace_cables">
|
|
|
+ <delete file="${cables_from_joins_to_PE.xml}"/>
|
|
|
<xslt basedir="./" style="${cables_from_joins_to_PE.xsl}" in="${joins2ways_z_ID_Way.xml}" destdir="./" out="${cables_from_joins_to_PE.xml}" >
|
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
<attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
@@ -218,73 +222,5 @@
|
|
|
<echo message="Using default XML object on input from file ${INPUT} . "/>
|
|
|
</target>
|
|
|
|
|
|
- <target name="PROCES_TO_DITA_build" depends="check-info">
|
|
|
- <echo message="PROCES_TO_DITA_build to ${test_if_INPUTxml}"/>
|
|
|
- <!-- przyklad z uzywaniem saxona ktorego wczesniej trzeba pobrac z port install saxon -->
|
|
|
- <!--<xslt style="copy-no-xml.xsl" in="${INPUT}" out="${Test_z_getfeature_do_parse__noxml.xml}"> <!-\- {Test_z_getfeature_do_parse__noxml.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"/>
|
|
|
- </xslt>-->
|
|
|
- <!--<xslt style="copy-no-xml.xsl" in="main.dita" out="${main__noxml.dita}"/>-->
|
|
|
- <!--<concat destfile="${tmp.xml}" append="true" encoding="UTF-8" >
|
|
|
- <string><?xml version="1.0" encoding="UTF-8"?>
|
|
|
- <root></string>
|
|
|
- <file file="${Test_z_getfeature_do_parse__noxml.xml}" />
|
|
|
- <file file="${main__noxml.dita}"/>
|
|
|
- <string></root></string>
|
|
|
- </concat>-->
|
|
|
-
|
|
|
- <!-- parsuje main.dita aby wiedziec, jaki proces jest zalaczany do danego zaglebienia aby wygenerowac docelowy plik dita z zaglebieniami -->
|
|
|
- <xslt basedir="./" style="${parse_dita_templ.xsl}" in="${INPUT}" destdir="./" out="out.dita" >
|
|
|
- <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
- <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
- <attribute name="http://saxon.sf.net/feature/initialMode" value="DITA_PARSE_templ"/>
|
|
|
- <!--<attribute name="http://saxon.sf.net/feature/initialTemplate" value="asd"/>-->
|
|
|
- </factory>
|
|
|
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
- <!--<param name="dita_task_template_file_param" expression="main.dita"/>-->
|
|
|
- </xslt>
|
|
|
-
|
|
|
- <!-- tymczasowe rem dla zrobienia akcji wyzej -->
|
|
|
- <!--<xslt basedir="./" style="${PROCES_INCLUDE.xsl}" in="${INPUT}" destdir="./" out="out.dita" >
|
|
|
- <factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
|
- <attribute name="http://saxon.sf.net/feature/xinclude-aware" value="true"/>
|
|
|
- <attribute name="http://saxon.sf.net/feature/initialMode" value="PROCES_INCLUDE"/>
|
|
|
- <!-\-<attribute name="http://saxon.sf.net/feature/initialTemplate" value="asd"/>-\->
|
|
|
- </factory>
|
|
|
- <classpath location="/opt/local/share/java/saxon9he.jar"/>
|
|
|
- <!-\-<param name="dita_task_template_file_param" expression="main.dita"/>-\->
|
|
|
- </xslt>-->
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <!--<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}" />
|
|
|
- <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} |sed 's/^.*\///'"/>
|
|
|
- </exec>-->
|
|
|
-
|
|
|
- <!--<propertyregex property="out_file" input="${out_task.dita}" regexp="$.*/(.*)" select="\1."/>-->
|
|
|
- <!--<loadfile property="result" srcFile="out/${out_task_file}.pdf"/>-->
|
|
|
- <!--<echo message="input was : ${input}"/>-->
|
|
|
- <!--<echo message="${result}"/>-->
|
|
|
- <!--<propertyregex
|
|
|
- name="test"
|
|
|
- property="current.target.dir"
|
|
|
- input="com.element.subelement"
|
|
|
- regexp="\."
|
|
|
- replace="/"
|
|
|
- global="true" />-->
|
|
|
- </target>
|
|
|
+
|
|
|
</project>
|