build.xml
changeset 9 71275159d985
parent 8 ad0ee12d13fd
child 10 4e70453a027f
equal deleted inserted replaced
8:ad0ee12d13fd 9:71275159d985
    19 			</factory>
    19 			</factory>
    20 		</xslt>
    20 		</xslt>
    21 	</target>
    21 	</target>
    22 	
    22 	
    23 	<target name="agregace" description="Vytvoří agregované výstupy: RSS, Atom, Sitemap.xml">
    23 	<target name="agregace" description="Vytvoří agregované výstupy: RSS, Atom, Sitemap.xml">
       
    24 		<!-- TODO: sloučit, zjednodušit, parametrizovat -->
       
    25 	
    24 		<!-- Atom -->
    26 		<!-- Atom -->
    25 		<xslt in="${vstup}/web.conf" out="${výstup}/atom.xml" style="${šablona}/atom.xsl">
    27 		<xslt in="${vstup}/web.conf" out="${výstup}/atom.xml" style="${šablona}/atom.xsl">
    26 			<classpath location="/usr/share/java/saxonb-9.0.jar"/>
    28 			<classpath location="/usr/share/java/saxonb-9.0.jar"/>
    27 			<classpath location="${funkce}"/>			
    29 			<classpath location="${funkce}"/>
    28 			<factory name="net.sf.saxon.TransformerFactoryImpl">
    30 			<factory name="net.sf.saxon.TransformerFactoryImpl">
    29 				<attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>				
    31 				<attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>				
    30 			</factory>
    32 			</factory>
    31 		</xslt>
    33 		</xslt>
    32 		
    34 		
    33 		<!-- RSS --> 
    35 		<!-- RSS --> 
    34 		<xslt in="${výstup}/atom.xml" out="${výstup}/rss.xml" style="${šablona}/rss.xsl">			
    36 		<xslt in="${výstup}/atom.xml" out="${výstup}/rss.xml" style="${šablona}/rss.xsl">			
    35 			<classpath location="/usr/share/java/saxonb-9.0.jar"/>
    37 			<classpath location="/usr/share/java/saxonb-9.0.jar"/>
    36 			<classpath location="${funkce}"/>			
    38 			<classpath location="${funkce}"/>
    37 			<factory name="net.sf.saxon.TransformerFactoryImpl">
    39 			<factory name="net.sf.saxon.TransformerFactoryImpl">
    38 				<attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>				
    40 				<attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>				
    39 			</factory>
    41 			</factory>
    40 		</xslt>
    42 		</xslt>
    41 		
    43 		
    42 		<!-- TODO: Sitemap.xml -->
    44 		<!-- TODO: Sitemap.xml -->
       
    45 		<xslt in="${výstup}/atom.xml" out="${výstup}/sitemap.xml" style="${šablona}/sitemap.xsl">			
       
    46 			<classpath location="/usr/share/java/saxonb-9.0.jar"/>
       
    47 			<classpath location="${funkce}"/>
       
    48 			<factory name="net.sf.saxon.TransformerFactoryImpl">
       
    49 				<attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>				
       
    50 			</factory>
       
    51 		</xslt>
    43 		
    52 		
    44 	</target>
    53 	</target>
    45 	
    54 	
    46 	<target name="kompiluj-funkce" description="">		
    55 	<target name="kompiluj-funkce" description="">		
    47 		<mkdir dir="${funkce}"/>
    56 		<mkdir dir="${funkce}"/>