Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Wednesday, November 28, 2007

java code for Checking that the documentation is up to date








value=":pserver:anoncvs@cvs.apache.org:/home/cvspublic" />


value=":pserver:anonymous@cvs.sourceforge.net:/cvsroot/mmmysql" />













































































description="Update or check out required sources
from CVS for the JSTL">



command="checkout -P ${jstl.build}"
dest="${build}" compression="true" />



description="Update or check out required sources
from CVS for the MySQL connector">



command="checkout" package="${mysql.build}"
dest="${build}" compression="true" />




description="Build the JSTL from source">












description="Build the MySQL connector from source">
















description="Compile stand-alone application">


destdir="${build.stand-alone.root}"/>




depends="build-mysql-connector, package-stand-alone"
description="Compile stand-alone application,
using CVS version of the MySQL connector">




description="Package the stand-alone application">


















depends="build-mysql-connector, build-jstl, package-web"
description="Compile web application,
using CVS versions of the MySQL connector and the JSTL">































description="Build the WAR file in one step">

webxml="${src.web.conf}/web.xml">













depends="package-stand-alone, package-web"
description="Compile both applications,
without CVS versions of the MySQL connector and the JSTL">



depends="stand-alone-complete, web-complete"
description="Compile both applications,
using CVS versions of the MySQL connector and the JSTL">





description="Download the servlet JAR">


dest="${servlet24.jar}"
verbose="true"/>



description="Download the JSP JAR">


dest="${jsp20.jar}"
verbose="true"/>




description="Check that the documentation is up to date">














description="Generate Javadocs for the application"
unless="docs.notRequired">




${javadoc.doctitle}








description="Generate Javadocs for the application,
using offline package-list files"
unless="docs.notRequired">




${javadoc.doctitle}









description="Assemble the documentation" unless="docs.notRequired">
































forceOverwrite="true"/>
algorithm="SHA1"/>



description="Zip the source and documentation together">









algorithm="SHA1"/>



description="Zip the binary stand-alone distribution
with the documentation">












forceOverwrite="true"/>
forceOverwrite="true" algorithm="SHA1"/>



description="Zip the binary web distribution with the documentation">









forceOverwrite="true"/>
forceOverwrite="true" algorithm="SHA1"/>



description="Zip the binary distribution with the documentation">

duplicate="preserve" update="true">



algorithm="SHA1"/>



description="Zip the binary and source distributions">


















forceOverwrite="true"/>
forceOverwrite="true" algorithm="SHA1"/>



description="Tar the documentation">
















algorithm="SHA1"/>



description="Tar the binary stand-alone distribution
with the documentation">

compression="gzip">















forceOverwrite="true"/>
forceOverwrite="true" algorithm="SHA1"/>



description="Tar the binary web distribution with the documentation">

compression="gzip">













forceOverwrite="true"/>
forceOverwrite="true" algorithm="SHA1"/>



description="Tar the binary distribution with the documentation">



























algorithm="SHA1"/>




description="Tar the binary web distribution with the documentation">


compression="gzip">


forceOverwrite="true"/>
forceOverwrite="true" algorithm="SHA1"/>



depends="zip-bin,tar-bin-stand-alone,tar-bin-web-new"
description="Tar the binary distribution with the documentation">









algorithm="SHA1"/>



description="Tar the binary and source distributions">










description="Place the documentation on FTP">

userid="${ftp.user}"
password="${ftp.password}"
remotedir="${ftp.src.dir}"
action="send"
newer="true"
timediffauto="true">







description="Place the source code on FTP">

userid="${ftp.user}"
password="${ftp.password}"
remotedir="${ftp.src.dir}"
action="send"
newer="true"
timediffauto="true">







description="Place the binaries on FTP">

userid="${ftp.user}"
password="${ftp.password}"
remotedir="${ftp.bin.dir}"
action="send"
newer="true"
timediffauto="true">




















description="E-mailing the documentation">

tolist="${mail.tolist}"
mailhost="${mail.mailhost}"
user="${mail.user}"
password="${mail.password}"
subject="${mail.subject}">

${mail.message.docs}










description="Deploy the application by copying it to Tomcat">









description="Deploy the WAR by copying it to Tomcat">






description="Deploy the web application using a context XML file">



file="${src.web.conf}/${appName}.xml"/>






description="Hot deploy the application">

username="${manager.user}"
password="${manager.password}"
path="/${appName}"
war="file:${appName.war}"
update="true"/>








username="${manager.user}"
password="${manager.password}"
path="/${appName}"/>







No comments: