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">
using offline package-list files"/>
${javadoc.doctitle}
description="Assemble the documentation" unless="docs.notRequired">
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}"/>
description="Prepare the database by creating it and inserting data">
url="${database.root}"
userid="${database.user}"
password="${database.password}">
description="Set the defaults for the command-line arguments">
description="Run the stand-alone application">
description="Start Tomcat if it isn't running" unless="tomcat.running">
spawn="true" vmlauncher="false"/>
depends="package-stand-alone,deploy-copy-war,test-init"
description="Compile the test classes">
srcdir="${test.src}">
description="Check whether the tests should run">
excludes="docs/**,**/*.sql,**/package.html"/>
excludes="docs/**,**/${appName}.xml,**/package.html"/>
unless="tests.notRequired"
description="Test the application">
errorProperty="test.failed"
failureProperty="test.failed">
file="${last.test.failed.file}"/>
in ${basedir}/${test.junit.reports}/index.html."
if="test.failed"/>
description="Check the coding conventions">
failOnViolation="false"
failureProperty="checkstyle.failed">
tofile="${test.checkstyle.data}/checkstyle_report.xml"/>
out="${test.checkstyle.reports}/checkstyle_report.html"
style="${checkstyle.home}/contrib/checkstyle-noframes.xsl"/>
if="checkstyle.failed"/>
AntTestAndCodeConvention.zip( 137 k)