builds_to_ant.xsl 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  4. exclude-result-prefixes="xs"
  5. version="2.0">
  6. <!-- template do zbudowania listy podzadan na podsatwie <fileset id="builds_to_ant" dir="temp" includes="prezes1.build_root_x2f_.d1e1.CRM_PROCES_x2f_.d1e46.CRM_WSKAZNIK_x2f_.d1e51.CRM_LISTA_ZASOBOW.*" /> -->
  7. <xsl:output indent="yes"/>
  8. <xsl:strip-space elements="*"/>
  9. <xsl:param name="temp" required="yes"/>
  10. <xsl:param name="default_antfile"/>
  11. <!--<xsl:param name="loop_xpath" required="yes"/>-->
  12. <xsl:param name="loop_xpath_real" required="yes"/>
  13. <xsl:template match="builds_to_ant">
  14. <project xmlns:gml="http://www.opengis.net/gml"
  15. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  16. xmlns:xlink="http://www.w3.org/1999/xlink"
  17. xmlns:p5_default_db="https://biuro.biall-net.pl/wfs/default_db"
  18. xmlns:wfs="http://www.opengis.net/wfs"
  19. xmlns:ogc="http://www.opengis.net/ogc"
  20. xmlns:system_cache__appinfo="http://biuro.biall-net.pl/xmlschema_procesy5/default_db_xml_cache/appinfo.xsd"
  21. basedir="../."
  22. name="builds_to_ant_proj{$loop_xpath_real}"
  23. default="builds_to_ant{$loop_xpath_real}">
  24. <target name="builds_to_ant{$loop_xpath_real}">
  25. <xsl:comment> default_antfile: <xsl:value-of select="$default_antfile"/> ; </xsl:comment>
  26. <xsl:for-each select="tokenize(.,';')">
  27. <echo>
  28. #
  29. #
  30. #
  31. #
  32. builds_to_ant - za chwile uruchomie antfile temp/<xsl:value-of select="."/>;
  33. #
  34. #
  35. </echo>
  36. <ant antfile="{$temp}/{.}" dir="."/>
  37. </xsl:for-each>
  38. </target>
  39. </project>
  40. </xsl:template>
  41. </xsl:stylesheet>