build_WPS_Functions.xsl 1.1 KB

1234567891011121314151617181920212223242526
  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. <xsl:output indent="yes"/>
  7. <xsl:strip-space elements="*"/>
  8. <xsl:param name="WPS_Functions" required="yes"/>
  9. <xsl:template match="WPS_Functions.childproperties.builds">
  10. <project basedir="." name="WPS_Functions.childproperties.builds" default="WPS_Functions.childproperties.builds">
  11. <description>
  12. Generated ant by xsl from childproperties modules, to be run modules in mode to let they give their properties and dependencies
  13. </description>
  14. <target name="WPS_Functions.childproperties.builds">
  15. <xsl:for-each select="tokenize(.,';')">
  16. <echo>Running <xsl:value-of select="."/></echo>
  17. <ant antfile="{$WPS_Functions}/{.}" inheritall="yes" inheritrefs="yes" target="write_child_props_to_config_dir"/>
  18. </xsl:for-each>
  19. </target>
  20. </project>
  21. </xsl:template>
  22. </xsl:stylesheet>