|
|
@@ -540,7 +540,7 @@
|
|
|
</target>
|
|
|
|
|
|
<!-- przeliczenie dla kazdego PE z trasy punktu przeciecia i wybranie najkrotszej i wygenerowania kabla -->
|
|
|
- <target name="cables_from_joins_to_PE.xml" depends="edge_paths_with_PE_fixed.xml">
|
|
|
+ <target name="cables_from_joins_to_PE.xml" depends="edge_paths_with_PE_fixed.xml" unless="${edge_paths_with_PE_fixed.xml.exists}">
|
|
|
<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">
|
|
|
@@ -626,6 +626,10 @@
|
|
|
|
|
|
<target name="edge_paths_with_PE_fixed.xml" depends="get_PE_fixings_from_db" description="przerobienie edge_paths_with_PE.xml na fixed (${edge_paths_with_PE_fixed.xml}) do wygenerowania kabli aby je tam uzyc ">
|
|
|
|
|
|
+ <condition property="edge_paths_with_PE_fixed.xml.exists" taskname="cables_from_joins_to_PE.xml">
|
|
|
+ <available file="${edge_paths_with_PE_fixed.xml}" filepath="."/>
|
|
|
+ </condition>
|
|
|
+
|
|
|
<delete file="${edge_paths_with_PE_fixed.xml}"/>
|
|
|
<xslt basedir="./" style="${edge_paths_with_PE_fixed.xsl}" in="${edge_paths_with_PE.xml}" destdir="./" out="${edge_paths_with_PE_fixed.xml}" >
|
|
|
<factory name="net.sf.saxon.TransformerFactoryImpl">
|