File:  [mozdev] / tasksandmails / build.xml
Revision 1.2: download - view: text, annotated - select for diffs - revision graph
Sat Mar 24 19:07:19 2012 UTC (7 years, 3 months ago) by gilles.orsini
Branches: MAIN
CVS tags: HEAD
automatisation modif installation.html

<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================================== 
     19 mars 2012 21:31:39                                                        

     mozdev www    
     description
                   
     gnn                                                                
     ====================================================================== -->
<project name="mozdev www" default="default">
    <description>
            description
    </description>

    <xmlproperty file="../tasks&amp;mails svn/src/install.rdf" keeproot="false"/>
		<tstamp/>
	
		<!-- ================================= 
          target: default              
         ================================= -->
    <target name="default" depends="changelog.html, installation.html" description="description"/>
	
		<target name="changelog.html">
				<delete dir="build/"/>
				<copy todir="build/">
						<fileset dir="www/update/" includes="update-*.xhtml"/>
						<filterchain>
								<headfilter lines="-1" skip="4"/>
								<tailfilter lines="-1" skip="2"/>
						</filterchain>
				</copy>
				<concat destfile="www/changelog.html">
						<header><![CDATA[<!-- MAIN CONTENT -->
<!--  autogenerated from update/update-*.xhtml -->
<h1 class="page-header">Change log</h1>
]]></header>					
					<sort>
						<fileset dir="build/" includes="update-*xhtml"/>
						<reverse  xmlns="antlib:org.apache.tools.ant.types.resources.comparators">
							<date/>
						</reverse>
					</sort>
				</concat>
		</target>
	
		<target name="installation.html">
			<echo message="version=${Description.em:version}"/>
			<copy file="src/installation.html" tofile="www/installation.html" overwrite="true">
				<filterchain>
					<expandproperties/>
				</filterchain>
			</copy>
		</target>

</project>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>