name="DdlUtils"
basedir=".">
description="Initializes the build process">
description="Compiles the code"
depends="init">
destdir="${build.java.dir}"
deprecation="true"
debug="true"
source="1.2"
target="1.2"
optimize="false">
excludes="**/*.java,**/*.html"/>
description="Creates the jar"
depends="compile">
excludes="**/*.java"/>
file="${basedir}/LICENSE.txt"/>
basedir="${build.java.dir}"
excludes="**/package.html">
description="Cleans up the generated directories">
dir="${build.dir}"/>
dir="${dist.dir}"/>
description="Builds the complete documentation">
failonerror="false"/>
dir="${build.doc.dir}"
inheritall="false"
target="site">
depends="init"
description="Builds the API javadocs.">
classpathref="compilation-classpath"
destdir="${build.javadoc.dir}"
doctitle="${javadoc.title}"
windowtitle="${javadoc.title}"
bottom="${javadoc.footer}"
protected="true"
author="false"
version="true"
packagenames="org.*">
description="Builds the documentation for the database XML schema format">
classpathref="compilation-classpath"
property="dtddoc.available"/>
classname="DTDDoc.DTDDocTask"
classpathref="compilation-classpath"/>
description="Builds the documentation for the Ant tasks">
classpathref="compilation-classpath"
property="antdoc.available"/>
classpathref="compilation-classpath"
destdir="${build.antdoc.dir}"
doctitle="${antdoc.title}"
protected="true"
author="false"
version="true"
packagenames="org.apache.ddlutils.task">
pathref="compilation-classpath">
description="Checks the doc for broken links using linklint">
Running linklint on ${build.doc.dir}. The output can be found in linklint.log.
description="Builds the complete documentation archive.">
basedir="."
includes="${dist.doc.includes}"/>
description="Builds the source distribution archive.">
basedir="."
includes="${dist.src.includes}"
excludes="${dist.src.excludes}"/>
description="Builds the binary distribution archive.">
basedir="."
includes="${dist.bin.includes}"
excludes="${dist.bin.excludes}"/>
description="Creates the distribution"
depends="jar, doc-archive, src-archive, bin-archive"/>
description="Compiles the unit tests"
depends="compile">
destdir="${build.test.dir}"
deprecation="true"
debug="true"
source="1.2"
target="1.2"
optimize="false">
description="Can be used to create the testdatabase if the platform supports it">
classname="org.apache.ddlutils.task.DdlToDatabaseTask"
classpathref="compilation-classpath"/>
url="${datasource.url}"
username="${datasource.username}"
password="${datasource.password}"/>
description="Runs the test cases against no database or the one specified via -Djdbc.properties.file">
description="Runs the test cases against Axion">
description="Runs the test cases against Derby">
description="Runs the test cases against Hsqldb">
description="Runs the test cases against MySql">
description="Runs the test cases against PostgreSQL">
depends="compile-tests">
printSummary="yes"
fork="true"
haltonerror="false">
description="Creates a test report in html form">
todir="${build.test.dir}"/>
depends="compile-tests"
description="Creates a test summary">
classname="org.apache.ddlutils.TestSummaryCreatorTask"
classpathref="compilation-classpath"/>
outputfile="${build.test.dir}/summary.xml">
casesensitive="false">
style="${test.summary.stylesheet}"
out="${build.test.dir}/summary.txt"/>
description="Checks the sourcecode via Checkstyle">
resource="checkstyletask.properties"/>
classpathref="compilation-classpath"/>
failOnViolation="false">
includes="**/*.java"/>
includes="**/*.java"/>
//File: build.properties
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
lib.dir=lib
src.dir=src
src.java.dir=${src.dir}/main/java
src.test.dir=${src.dir}/test/java
src.resources.dir=${src.dir}/main/resources
src.doc.dir=${src.dir}/main/doc
src.antdoc.dir=${src.dir}/main/antdoc
src.check.dir=${src.dir}/main/checkstyle
build.dir=target
build.java.dir=${build.dir}/classes
build.test.dir=${build.dir}/test
build.antdoc.dir=${build.dir}/antdoc
build.javadoc.dir=${build.dir}/javadoc
build.schemadoc.dir=${build.dir}/schemadoc
build.doc.dir=${build.dir}/doc
build.check.dir=${build.dir}/checkstyle
dist.dir=dist
doc.dir=doc
dist.name=DdlUtils
dist.vendor=Apache Software Foundation
dist.version=1.0
dist.filename.prefix=${dist.name}-${dist.version}
dist.doc.filename.prefix=${dist.name}-${dist.version}-doc
dist.doc.includes=doc/**
dist.src.filename.prefix=${dist.name}-${dist.version}-src
dist.src.includes=.classpath,.project,build*.*,dump-metadata.xml,*.txt,pom.xml,src/**,lib/*,lib/build-only/ant-*.jar,lib/build-only/junit*.jar,doc/**
dist.src.excludes=lib/drivers/**,lib/driver-alternatives/**
dist.bin.filename.prefix=${dist.name}-${dist.version}-bin
dist.bin.includes=dump-metadata.xml,*.txt,pom.xml,dist/${dist.filename.prefix}.jar,lib/*,doc/**
dist.bin.excludes=lib/build-only/**,lib/drivers/**,lib/driver-alternatives/**
checkstyle.version.pattern=\\$Revision.*\\$
checkstyle.author.pattern=\\S
checkstyle.header.file=${src.check.dir}/license-check.txt
test.profile.dir=${src.dir}/test-profiles
test.summary.dir=${src.dir}/test-summary
#
# Documentation properties
#
javadoc.title=${dist.name} ${dist.version} API Documentation
javadoc.footer=Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.
antdoc.title=${dist.name} ${dist.version} Ant Tasks
antdoc.templates.dir=${src.antdoc.dir}/templates
forrest.antdoc.destdir=${build.doc.dir}/src/documentation/content/ant
forrest.javadoc.destdir=${build.doc.dir}/src/documentation/content/api
forrest.schemadoc.destdir=${build.doc.dir}/src/documentation/content/schema
forrest.output.dir=${build.doc.dir}/build/site