1.1 --- a/build.xml Sun Apr 03 17:44:58 2011 +0200
1.2 +++ b/build.xml Sun Apr 03 18:44:35 2011 +0200
1.3 @@ -21,10 +21,12 @@
1.4 </target>
1.5
1.6 <target name="agregace" description="Vytvoří agregované výstupy: RSS, Atom, Sitemap.xml">
1.7 + <!-- TODO: sloučit, zjednodušit, parametrizovat -->
1.8 +
1.9 <!-- Atom -->
1.10 <xslt in="${vstup}/web.conf" out="${výstup}/atom.xml" style="${šablona}/atom.xsl">
1.11 <classpath location="/usr/share/java/saxonb-9.0.jar"/>
1.12 - <classpath location="${funkce}"/>
1.13 + <classpath location="${funkce}"/>
1.14 <factory name="net.sf.saxon.TransformerFactoryImpl">
1.15 <attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>
1.16 </factory>
1.17 @@ -33,13 +35,20 @@
1.18 <!-- RSS -->
1.19 <xslt in="${výstup}/atom.xml" out="${výstup}/rss.xml" style="${šablona}/rss.xsl">
1.20 <classpath location="/usr/share/java/saxonb-9.0.jar"/>
1.21 - <classpath location="${funkce}"/>
1.22 + <classpath location="${funkce}"/>
1.23 <factory name="net.sf.saxon.TransformerFactoryImpl">
1.24 <attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>
1.25 </factory>
1.26 </xslt>
1.27
1.28 <!-- TODO: Sitemap.xml -->
1.29 + <xslt in="${výstup}/atom.xml" out="${výstup}/sitemap.xml" style="${šablona}/sitemap.xsl">
1.30 + <classpath location="/usr/share/java/saxonb-9.0.jar"/>
1.31 + <classpath location="${funkce}"/>
1.32 + <factory name="net.sf.saxon.TransformerFactoryImpl">
1.33 + <attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>
1.34 + </factory>
1.35 + </xslt>
1.36
1.37 </target>
1.38