|
@@ -9,7 +9,11 @@
|
|
|
<property name="biale_plamy_class.php" value="biale_plamy_class.php"/>
|
|
<property name="biale_plamy_class.php" value="biale_plamy_class.php"/>
|
|
|
<property name="biale_plamy-prepare_sql_data.php" value="biale_plamy-prepare_sql_data.php"/>
|
|
<property name="biale_plamy-prepare_sql_data.php" value="biale_plamy-prepare_sql_data.php"/>
|
|
|
<property name="biale_plamy-generate_data.php" value="biale_plamy-generate_data.php"/>
|
|
<property name="biale_plamy-generate_data.php" value="biale_plamy-generate_data.php"/>
|
|
|
- <property name="biale_plamy-find_ways.php" value="biale_plamy-find_ways.php"/>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <property name="ways_as_Text_z_ID_xml.xsl" value="ways_as_Text_z_ID_xml.xsl"/>
|
|
|
|
|
+ <property name="ways_as_Text_z_ID_xml.xml" value="ways_as_Text_z_ID_xml.xml"/>
|
|
|
|
|
+
|
|
|
|
|
+ <property name="biale_plamy_class_findWay.php" value="biale_plamy_class_findWay.php"/><!--<property name="biale_plamy-find_ways.php" value="biale_plamy-find_ways.php"/>-->
|
|
|
<property name="joins_asText.xml" value="joins_asText.xml"/>
|
|
<property name="joins_asText.xml" value="joins_asText.xml"/>
|
|
|
<property name="joins2ways.xml" value="joins2ways.xml"/>
|
|
<property name="joins2ways.xml" value="joins2ways.xml"/>
|
|
|
<property name="points2ID_Way.xml" value="points2ID_Way.xml"/>
|
|
<property name="points2ID_Way.xml" value="points2ID_Way.xml"/>
|
|
@@ -21,9 +25,17 @@
|
|
|
<property name="joins2ways_z_ID_Way.xsl" value="joins2ways_z_ID_Way.xsl"/>
|
|
<property name="joins2ways_z_ID_Way.xsl" value="joins2ways_z_ID_Way.xsl"/>
|
|
|
<property name="joins2ways_z_ID_Way.xml" value="joins2ways_z_ID_Way.xml"/>
|
|
<property name="joins2ways_z_ID_Way.xml" value="joins2ways_z_ID_Way.xml"/>
|
|
|
<property name="biale_plamy_joins2ways_do_paths.xsl" value="biale_plamy_joins2ways_do_paths.xsl"/>
|
|
<property name="biale_plamy_joins2ways_do_paths.xsl" value="biale_plamy_joins2ways_do_paths.xsl"/>
|
|
|
|
|
+
|
|
|
|
|
+ <property name="edge_joins_filled_paths_make.xsl" value="edge_joins_filled_paths_make.xsl"/>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<property name="points_asText.xml" value="points_asText.xml"/>
|
|
<property name="points_asText.xml" value="points_asText.xml"/>
|
|
|
<property name="points2joins.xml" value="points2joins.xml"/>
|
|
<property name="points2joins.xml" value="points2joins.xml"/>
|
|
|
<property name="edge_joins.xml" value="edge_joins.xml"/>
|
|
<property name="edge_joins.xml" value="edge_joins.xml"/>
|
|
|
|
|
+
|
|
|
|
|
+ <property name="joins_asText_xml.xsl" value="joins_asText_xml.xsl"/>
|
|
|
|
|
+ <property name="joins_asText_xml.xml" value="joins_asText_xml.xml"/>
|
|
|
|
|
+ <!-- sciezki -->
|
|
|
<property name="edge_joins_filled_paths.xml" value="edge_joins_filled_paths.xml"/>
|
|
<property name="edge_joins_filled_paths.xml" value="edge_joins_filled_paths.xml"/>
|
|
|
<property name="edge_joins_filled_paths.xsl" value="edge_joins_filled_paths.xsl"/>
|
|
<property name="edge_joins_filled_paths.xsl" value="edge_joins_filled_paths.xsl"/>
|
|
|
|
|
|
|
@@ -44,15 +56,17 @@
|
|
|
|
|
|
|
|
<target name="biale_plamy-generate_data" >
|
|
<target name="biale_plamy-generate_data" >
|
|
|
<!-- stary sposob -->
|
|
<!-- stary sposob -->
|
|
|
- <antcall target="biale_plamy_prepare_mysql_data"/>
|
|
|
|
|
- <antcall target="biale_plamy-generate_data_sql"/>
|
|
|
|
|
|
|
+ <antcall target="biale_plamy-prepare_sql_data.php"/>
|
|
|
|
|
+ <antcall target="biale_plamy-generate_data.php"/>
|
|
|
<echo message="odpalam biale_plamy-generate_data "/>
|
|
<echo message="odpalam biale_plamy-generate_data "/>
|
|
|
<delete file="${joins2ways_z_ID_Way.xml}"/>
|
|
<delete file="${joins2ways_z_ID_Way.xml}"/>
|
|
|
- <antcall target="biale_plamy_points2ID_Way_do_Joins"/>
|
|
|
|
|
|
|
+ <antcall target="joins2ways_z_ID_Way.xml"/>
|
|
|
|
|
+
|
|
|
<delete file="${edge_joins.xml}"/>
|
|
<delete file="${edge_joins.xml}"/>
|
|
|
- <antcall target="biale_plamy_joins2ways_do_paths"/>
|
|
|
|
|
|
|
+ <antcall target="edge_joins.xml"/>
|
|
|
|
|
+
|
|
|
<!-- tymczasowy rem bo dziala -->
|
|
<!-- tymczasowy rem bo dziala -->
|
|
|
- <antcall target="biale_plamy_paths_to_findways_php"/>
|
|
|
|
|
|
|
+ <antcall target="biale_plamy_class_findWay.php"/>
|
|
|
<antcall target="PE_and_Cables"/>
|
|
<antcall target="PE_and_Cables"/>
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
@@ -60,35 +74,77 @@
|
|
|
|
|
|
|
|
<target name="biale_plamy-generate_data_by_nosql">
|
|
<target name="biale_plamy-generate_data_by_nosql">
|
|
|
<!-- nowy sposob -->
|
|
<!-- nowy sposob -->
|
|
|
- <antcall target="biale_plamy_prepare_php_data_by_class"/> <delete file="${joins2ways_z_ID_Way.xml}"/>
|
|
|
|
|
- <antcall target="biale_plamy_points2ID_Way_do_Joins"/>
|
|
|
|
|
|
|
+ <antcall target="biale_plamy_class.php"/>
|
|
|
|
|
+
|
|
|
|
|
+ <delete file="${joins2ways_z_ID_Way.xml}"/>
|
|
|
|
|
+ <antcall target="joins2ways_z_ID_Way.xml"/>
|
|
|
|
|
+
|
|
|
|
|
+ <antcall target="AsTextToXml"/>
|
|
|
|
|
+
|
|
|
|
|
+ <delete file="${edge_joins.xml}"/>
|
|
|
|
|
+ <antcall target="edge_joins.xml"/>
|
|
|
|
|
+
|
|
|
|
|
+ <delete file="${edge_joins_filled_paths.xml}"/>
|
|
|
|
|
+ <antcall target="edge_joins_filled_paths_make"/>
|
|
|
|
|
+
|
|
|
|
|
+ <!--<antcall target="biale_plamy_class_findWay.php"/>-->
|
|
|
|
|
+ <antcall target="PE_and_Cables"/>
|
|
|
|
|
+ </target>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <target name="biale_plamy-just_xsl_PE_cables">
|
|
|
|
|
+ <!-- nowy sposob -->
|
|
|
|
|
+
|
|
|
|
|
+ <delete file="${joins2ways_z_ID_Way.xml}"/>
|
|
|
|
|
+ <antcall target="joins2ways_z_ID_Way.xml"/>
|
|
|
|
|
+
|
|
|
|
|
+ <antcall target="AsTextToXml"/>
|
|
|
|
|
+
|
|
|
<delete file="${edge_joins.xml}"/>
|
|
<delete file="${edge_joins.xml}"/>
|
|
|
- <antcall target="biale_plamy_joins2ways_do_paths"/>
|
|
|
|
|
- <antcall target="biale_plamy_paths_to_findways_php"/>
|
|
|
|
|
|
|
+ <antcall target="edge_joins.xml"/>
|
|
|
|
|
+
|
|
|
|
|
+ <delete file="${edge_joins_filled_paths.xml}"/>
|
|
|
|
|
+ <antcall target="edge_joins_filled_paths_make"/>
|
|
|
|
|
+
|
|
|
|
|
+ <antcall target="biale_plamy_class_findWay.php"/><!-- to jest szukanie path mega wolne -->
|
|
|
<antcall target="PE_and_Cables"/>
|
|
<antcall target="PE_and_Cables"/>
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
|
|
+ <target name="AsTextToXml">
|
|
|
|
|
+ <delete file="${ways_as_Text_z_ID_xml.xml}"/>
|
|
|
|
|
+ <antcall target="ways_as_Text_z_ID_xml.xml"/>
|
|
|
|
|
+
|
|
|
|
|
+ <delete file="${joins_asText_xml.xml}"/>
|
|
|
|
|
+ <antcall target="joins_asText_xml.xml"/>
|
|
|
|
|
+ </target>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
<target name="clean">
|
|
<target name="clean">
|
|
|
|
|
+ <delete file="${joins2ways_z_ID_Way.xml}"/>
|
|
|
|
|
+ <delete file="${edge_joins_filled_paths.xml}"/>
|
|
|
|
|
+ <delete file="${edge_paths_with_PE.xml}"/>
|
|
|
|
|
+ <delete file="${cables_from_joins_to_PE.xml}"/>
|
|
|
|
|
+ <delete file="${joins_asText_xml.xml}"/>
|
|
|
|
|
+ <delete file="${ways_as_Text_z_ID_xml.xml}"/>
|
|
|
|
|
+ </target>
|
|
|
|
|
+
|
|
|
|
|
+ <target name="clean_input">
|
|
|
|
|
+ <delete file="${points2ID_Way.xml}"/>
|
|
|
<delete file="${points2joins.xml}"/>
|
|
<delete file="${points2joins.xml}"/>
|
|
|
<delete file="${ways2joins.xml}"/>
|
|
<delete file="${ways2joins.xml}"/>
|
|
|
<delete file="${ways_asText.xml}"/>
|
|
<delete file="${ways_asText.xml}"/>
|
|
|
<delete file="${joins_asText.xml}"/>
|
|
<delete file="${joins_asText.xml}"/>
|
|
|
- <delete file="${joins2ways_z_ID_Way.xml}"/>
|
|
|
|
|
<delete file="${edge_joins.xml}"/>
|
|
<delete file="${edge_joins.xml}"/>
|
|
|
<delete file="${joins2ways.xml}"/>
|
|
<delete file="${joins2ways.xml}"/>
|
|
|
- <delete file="${points2ID_Way.xml}"/>
|
|
|
|
|
<delete file="${ways2drogi.xmll}"/>
|
|
<delete file="${ways2drogi.xmll}"/>
|
|
|
- <delete file="${joins2ways_z_ID_Way.xml}"/>
|
|
|
|
|
<delete file="${points_asText.xml}"/>
|
|
<delete file="${points_asText.xml}"/>
|
|
|
- <delete file="${points2joins.xml}"/>
|
|
|
|
|
<delete file="${edge_joins.xml}"/>
|
|
<delete file="${edge_joins.xml}"/>
|
|
|
- <delete file="${edge_joins_filled_paths.xml}"/>
|
|
|
|
|
- <delete file="${edge_paths_with_PE.xml}"/>
|
|
|
|
|
- <delete file="${cables_from_joins_to_PE.xml}"/>
|
|
|
|
|
|
|
+ <delete file="${points2joins.xml}"/>
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
<target name="check_files_for_PE_and_Cables" >
|
|
<target name="check_files_for_PE_and_Cables" >
|
|
|
<echo message="czy sa wymagane pliki do wygenerowania samych PE_and_Cables"/>
|
|
<echo message="czy sa wymagane pliki do wygenerowania samych PE_and_Cables"/>
|
|
|
<condition property="files_PE_and_Cables" taskname="PE_and_Cables" value="AVIABLE">
|
|
<condition property="files_PE_and_Cables" taskname="PE_and_Cables" value="AVIABLE">
|
|
@@ -102,23 +158,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<target name="PE_and_Cables">
|
|
<target name="PE_and_Cables">
|
|
|
- <antcall target="biale_plamy_from_paths_php_to_place_PE"/>
|
|
|
|
|
|
|
+ <antcall target="edge_paths_with_PE.xml"/>
|
|
|
<!-- tymczasowy rem bo skryptu nie ma -->
|
|
<!-- tymczasowy rem bo skryptu nie ma -->
|
|
|
<antcall target="biale_plamy_put_PE_to_mysql_php"/>
|
|
<antcall target="biale_plamy_put_PE_to_mysql_php"/>
|
|
|
- <antcall target="biale_plamy_analyze_shortest_and_trace_cables"/>
|
|
|
|
|
|
|
+ <antcall target="cables_from_joins_to_PE.xml"/>
|
|
|
<!--Tymczasowa zatrzymanie bo nie chodzi na zdalnym - plik juz jest-->
|
|
<!--Tymczasowa zatrzymanie bo nie chodzi na zdalnym - plik juz jest-->
|
|
|
<antcall target="biale_put_Cables_to_PE"/>
|
|
<antcall target="biale_put_Cables_to_PE"/>
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
|
|
|
|
|
- <target name="biale_plamy_prepare_mysql_data">
|
|
|
|
|
|
|
+ <target name="biale_plamy-prepare_sql_data.php">
|
|
|
<echo message="biale_plamy_prepare_mysql_data - przygotowuje punkty xpoint"/>
|
|
<echo message="biale_plamy_prepare_mysql_data - przygotowuje punkty xpoint"/>
|
|
|
<exec executable="php" failonerror="true" dir=".">
|
|
<exec executable="php" failonerror="true" dir=".">
|
|
|
<arg file="${biale_plamy-prepare_sql_data.php}"/>
|
|
<arg file="${biale_plamy-prepare_sql_data.php}"/>
|
|
|
</exec>
|
|
</exec>
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
- <target name="biale_plamy_prepare_php_data_by_class">
|
|
|
|
|
|
|
+ <target name="biale_plamy_class.php">
|
|
|
<echo message=" przygotowuje punkty xpoint przez biale_plamy_class.php"/>
|
|
<echo message=" przygotowuje punkty xpoint przez biale_plamy_class.php"/>
|
|
|
<exec executable="php" failonerror="true" dir=".">
|
|
<exec executable="php" failonerror="true" dir=".">
|
|
|
<arg file="${biale_plamy_class.php}"/>
|
|
<arg file="${biale_plamy_class.php}"/>
|
|
@@ -127,7 +183,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- <target name="biale_plamy-generate_data_sql">
|
|
|
|
|
|
|
+ <target name="biale_plamy-generate_data.php">
|
|
|
<!--<antcall target="install_in_file_db_query">
|
|
<!--<antcall target="install_in_file_db_query">
|
|
|
<param name="sql_query" value="select 1+1;"/>
|
|
<param name="sql_query" value="select 1+1;"/>
|
|
|
</antcall>-->
|
|
</antcall>-->
|
|
@@ -137,8 +193,10 @@
|
|
|
<echo message="Teraz Przelec arraya joins2ways pod katem 1-elementowych subarrayow"/>
|
|
<echo message="Teraz Przelec arraya joins2ways pod katem 1-elementowych subarrayow"/>
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
- <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 "/>
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <target name="joins2ways_z_ID_Way.xml">
|
|
|
|
|
+ <echo message="przygotownie z joins2ways xsl biale_plamy_joins2ways_do_paths.xsl pod katem 1 katem 1-elementowych subarrayow aby zrobic paths out ${joins2ways_z_ID_Way.xml} "/>
|
|
|
<delete file="${joins2ways_z_ID_Way.xml}"/>
|
|
<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}" >
|
|
<xslt basedir="./" style="${joins2ways_z_ID_Way.xsl}" in="${joins2ways.xml}" destdir="./" out="${joins2ways_z_ID_Way.xml}" >
|
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
@@ -151,8 +209,24 @@
|
|
|
</xslt>
|
|
</xslt>
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
- <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 "/>
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <target name="joins_asText_xml.xml">
|
|
|
|
|
+ <echo message="uporzadkowanie Joins as text aby mialy xmlowe wspolrzedne - out ${joins_asText_xml.xml}"/>
|
|
|
|
|
+ <delete file="${joins_asText_xml.xml}"/>
|
|
|
|
|
+ <xslt basedir="./" style="${joins_asText_xml.xsl}" in="${joins_asText.xml}" destdir="./" out="${joins_asText_xml.xml}" >
|
|
|
|
|
+ <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="points2ID_Way.xml" expression="${ways2drogi.xml}"/>-->
|
|
|
|
|
+ </xslt>
|
|
|
|
|
+ </target>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <target name="edge_joins.xml">
|
|
|
|
|
+ <echo message="przygotownie ${edge_joins.xml} z joins2ways xsl biale_plamy_joins2ways_do_paths.xsl pod katem 1 katem 1-elementowych subarrayow aby zrobic paths "/>
|
|
|
<delete file="${edge_joins.xml}"/>
|
|
<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}" >
|
|
<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">
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
@@ -165,17 +239,56 @@
|
|
|
</xslt>
|
|
</xslt>
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
- <!-- wyznaczenie sciezek do ulozenia PE - dziala-->
|
|
|
|
|
- <target name="biale_plamy_paths_to_findways_php">
|
|
|
|
|
|
|
+ <!-- wyznaczenie sciezek do ulozenia PE - dziala - -->
|
|
|
|
|
+ <target name="ways_as_Text_z_ID_xml.xml">
|
|
|
|
|
+ <echo message="przygotownie ${ways_as_Text_z_ID_xml.xml} z joins2ways xsl biale_plamy_joins2ways_do_paths.xsl pod katem 1 katem 1-elementowych subarrayow aby zrobic paths "/>
|
|
|
|
|
+ <delete file="${ways_as_Text_z_ID_xml.xml}"/>
|
|
|
|
|
+ <xslt basedir="./" style="${ways_as_Text_z_ID_xml.xsl}" in="${ways_asText.xml}" destdir="./" out="${ways_as_Text_z_ID_xml.xml}" >
|
|
|
|
|
+ <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="ways2drogi.xml" expression="${ways2drogi.xml}"/>
|
|
|
|
|
+ </xslt>
|
|
|
|
|
+ </target>
|
|
|
|
|
+
|
|
|
|
|
+ <target name="edge_joins_filled_paths_make">
|
|
|
|
|
+ <echo message="przygotownie ${edge_joins_filled_paths.xml} z joins2ways xsl biale_plamy_joins2ways_do_paths.xsl pod katem 1 katem 1-elementowych subarrayow aby zrobic paths "/>
|
|
|
|
|
+ <delete file="${edge_joins_filled_paths.xml}"/>
|
|
|
|
|
+ <xslt basedir="./" style="${edge_joins_filled_paths_make.xsl}" in="${edge_joins.xml}" destdir="./" out="${edge_joins_filled_paths.xml}" >
|
|
|
|
|
+ <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="ways_as_Text_z_ID_xml.xml" expression="${ways_as_Text_z_ID_xml.xml}"/>
|
|
|
|
|
+ <param name="joins_asText_xml.xml" expression="${joins_asText_xml.xml}"/>
|
|
|
|
|
+ </xslt>
|
|
|
|
|
+ </target>
|
|
|
|
|
+
|
|
|
|
|
+ <target name="biale_put_xml_paths_to_mysql.php">
|
|
|
|
|
+ <echo message="za pomoca ${biale_plamy_class_findWay.php} wkladam plik: ${edge_joins_filled_paths.xml} do bazy mysql "></echo>
|
|
|
<exec executable="php" failonerror="true" dir=".">
|
|
<exec executable="php" failonerror="true" dir=".">
|
|
|
- <arg file="${biale_plamy-find_ways.php}"/>
|
|
|
|
|
|
|
+ <arg file="${biale_put_xml_paths_to_mysql.php}"/>
|
|
|
</exec>
|
|
</exec>
|
|
|
- <!-- to wyrzuca edge_joins_filled_paths.xml-->
|
|
|
|
|
</target>
|
|
</target>
|
|
|
|
|
+
|
|
|
|
|
+ <target name="biale_plamy_class_findWay.php">
|
|
|
|
|
+ <!-- to jest szukanie path mega wolne -->
|
|
|
|
|
+ <exec executable="php" failonerror="true" dir=".">
|
|
|
|
|
+ <arg file="${biale_plamy_class_findWay.php}"/>
|
|
|
|
|
+ </exec>
|
|
|
|
|
+ <!-- to wyrzuca edge_joins_filled_paths.xml-->
|
|
|
|
|
+ </target>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
|
|
|
<!-- postawienie PE po trasach -->
|
|
<!-- postawienie PE po trasach -->
|
|
|
- <target name="biale_plamy_from_paths_php_to_place_PE">
|
|
|
|
|
- <echo message="Wyznaczenie PE na podstawie tras "/>
|
|
|
|
|
|
|
+ <target name="edge_paths_with_PE.xml">
|
|
|
|
|
+ <echo message="Wyznaczenie PE na podstawie tras ${edge_paths_with_PE.xml} "/>
|
|
|
<delete file="${edge_paths_with_PE.xml}"/>
|
|
<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}" >
|
|
<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">
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
@@ -195,7 +308,7 @@
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
<!-- przeliczenie dla kazdego PE z trasy punktu przeciecia i wybranie najkrotszej i wygenerowania kabla -->
|
|
<!-- przeliczenie dla kazdego PE z trasy punktu przeciecia i wybranie najkrotszej i wygenerowania kabla -->
|
|
|
- <target name="biale_plamy_analyze_shortest_and_trace_cables">
|
|
|
|
|
|
|
+ <target name="cables_from_joins_to_PE.xml">
|
|
|
<delete file="${cables_from_joins_to_PE.xml}"/>
|
|
<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}" >
|
|
<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">
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|
|
@@ -209,6 +322,7 @@
|
|
|
</target>
|
|
</target>
|
|
|
|
|
|
|
|
<target name="biale_put_Cables_to_PE">
|
|
<target name="biale_put_Cables_to_PE">
|
|
|
|
|
+ <echo message="Wgrywam Kable z pliku ${cables_from_joins_to_PE.xml} do bazy danych "></echo>
|
|
|
<exec executable="php" failonerror="true" dir=".">
|
|
<exec executable="php" failonerror="true" dir=".">
|
|
|
<arg file="${biale_put_Cables_to_PE.php}"/>
|
|
<arg file="${biale_put_Cables_to_PE.php}"/>
|
|
|
</exec>
|
|
</exec>
|