build.xml
changeset 24 63e404f454e8
parent 22 65afc0483ef5
child 31 da6ae32853cb
     1.1 --- a/build.xml	Wed Jul 06 21:21:58 2011 +0200
     1.2 +++ b/build.xml	Wed Jul 06 22:37:22 2011 +0200
     1.3 @@ -10,7 +10,7 @@
     1.4  	<property name="vstupníPřípona" value=".xml"/>
     1.5  	<property name="výstupníPřípona" value=".xhtml"/>
     1.6  	
     1.7 -	<target	name="generuj" description="Vygeneruje kompletní web." depends="stránky,agregace">
     1.8 +	<target	name="generuj" description="Vygeneruje kompletní web." depends="agregace,stránky">
     1.9  	</target>
    1.10  	
    1.11  	<target name="stránky" description="Vygeneruje samotné XHTML webové stránky." depends="statický-obsah,kompiluj-funkce">		
    1.12 @@ -59,6 +59,15 @@
    1.13  			</factory>
    1.14  		</xslt>
    1.15  		
    1.16 +		<!-- Seznam stránek --> 
    1.17 +		<xslt in="${výstup}/atom.xml" out="${vstup}/.seznam.xml" style="${šablona}/seznam.xsl"  processor="org.apache.tools.ant.taskdefs.optional.TraXLiaison">			
    1.18 +			<classpath location="/usr/share/java/saxonb-9.0.jar"/>
    1.19 +			<classpath location="${funkce}"/>
    1.20 +			<factory name="net.sf.saxon.TransformerFactoryImpl">
    1.21 +				<attribute name="http://saxon.sf.net/feature/allow-external-functions" value="true"/>				
    1.22 +			</factory>
    1.23 +		</xslt>
    1.24 +		
    1.25  	</target>
    1.26  	
    1.27  	<target name="kompiluj-funkce" description="Přeloží funkce napsané v Javě.">