XDC - v. 0.6.1

File build.xml

<project name="xdc" basedir="." default="build.all"/>

This is the main ant build file for the XDC project.
Target Summary
<target name="clean" description="Clean XDC build directory"/>

The clean target removes all class files and copied resources from the build directory.

<target name="compile" description="Compile the XDC sources"/>

This target compiles all Java sources of the XDC project.

<target name="compile.all" description="Compile the XDC sources into a 'clean' directory" depends="clean,compile"/>

This target compiles all sources "from scratch".

<target name="jar" description="Package classes and resources in a JAR file" depends="compile"/>

The jar target combines all class and resource files from the build directory in a JAR archive.

<target name="clean.test" description="Clean test class directory"/>

This target cleans all class and result files from the XDC unit tests.

<target name="clean.testresults" description="Clean test result directory"/>

This target deletes all previously generated JUnit and Alster test results.

<target name="compile.test" description="Compile the XDC test sources"/>

This target is used to compile the JUnit test sources.

<target name="junit" description="Run all JUnit tests"/>

This target executes all JUnit tests.

<target name="alster" description="Run all Alster tests"/>

This target executes all Alster tests.

<target name="test" description="Run all tests" depends="clean.test,clean.testresults,compile.test,junit,alster"/>

The test target performs all steps necessary for running all (JUnit ans Alster) unit tests.

<target name="clean.javadoc" description="Clean the generated Javadoc documentation"/>

This target deletes all Javadoc generated documentation.

<target name="javadoc" description="Generate Javadoc documentation from XDC source Java files"/>

The javadoc target generates Javadoc documentation from the Java source files of the XDC application.

<target name="clean.xdc" description="Clean the generated XDC documentation"/>

This target deletes all XDC generated documentation.

<target name="xdc" description="Generate XDC documentation from XDC source XML files" depends="jar"/>

The xdc target generates XDC documentation from the XML source files of the XDC application.

<target name="generate.reference" description="Create reference guide list"/>

This target produces the XDC Reference Guide.

<target name="preprocess.developer" description="Generate material for developers' handbook"/>

This target prepares the sources from which the XDC Developers' Handbook is generated.

<target name="generate.developer" description="Generate developers' handbook" depends="preprocess.developer"/>

This target generates the XDC Developers' Handbook.

<target name="generate.ant" description="Generate Ant task description"/>

This target generates the xdc Ant task description.

<target name="document" description="Generate all documentation" depends="javadoc,xdc,generate.reference,generate.developer,generate.ant"/>

The document target performs all build steps to generate the complete set of XDC documentation.

<target name="build.all"/>

This target performs all compile, archive, test and documentation build steps.


Target Detail
<target name="clean" description="Clean XDC build directory"/>

The clean target removes all class files and copied resources from the build directory.


<target name="compile" description="Compile the XDC sources"/>

This target compiles all Java sources of the XDC project. It also copies all other resources (like XSLT and CSS stylesheets) from the source directory to the build directory.


<target name="compile.all" description="Compile the XDC sources into a 'clean' directory" depends="clean,compile"/>

This target compiles all sources "from scratch".


<target name="jar" description="Package classes and resources in a JAR file" depends="compile"/>

The jar target combines all class and resource files from the build directory in a JAR archive.


<target name="clean.test" description="Clean test class directory"/>

This target cleans all class and result files from the XDC unit tests.


<target name="clean.testresults" description="Clean test result directory"/>

This target deletes all previously generated JUnit and Alster test results.


<target name="compile.test" description="Compile the XDC test sources"/>

This target is used to compile the JUnit test sources.


<target name="junit" description="Run all JUnit tests"/>

This target executes all JUnit tests.


<target name="alster" description="Run all Alster tests"/>

This target executes all Alster tests. Alster is an XSLT unit testing framework.

See:
Alster framework


<target name="test" description="Run all tests" depends="clean.test,clean.testresults,compile.test,junit,alster"/>

The test target performs all steps necessary for running all (JUnit ans Alster) unit tests.


<target name="clean.javadoc" description="Clean the generated Javadoc documentation"/>

This target deletes all Javadoc generated documentation.


<target name="javadoc" description="Generate Javadoc documentation from XDC source Java files"/>

The javadoc target generates Javadoc documentation from the Java source files of the XDC application.


<target name="clean.xdc" description="Clean the generated XDC documentation"/>

This target deletes all XDC generated documentation.


<target name="xdc" description="Generate XDC documentation from XDC source XML files" depends="jar"/>

The xdc target generates XDC documentation from the XML source files of the XDC application.


<target name="generate.reference" description="Create reference guide list"/>

This target produces the XDC Reference Guide.


<target name="preprocess.developer" description="Generate material for developers' handbook"/>

This target prepares the sources from which the XDC Developers' Handbook is generated.


<target name="generate.developer" description="Generate developers' handbook" depends="preprocess.developer"/>

This target generates the XDC Developers' Handbook.


<target name="generate.ant" description="Generate Ant task description"/>

This target generates the xdc Ant task description.


<target name="document" description="Generate all documentation" depends="javadoc,xdc,generate.reference,generate.developer,generate.ant"/>

The document target performs all build steps to generate the complete set of XDC documentation.


<target name="build.all"/>

This target performs all compile, archive, test and documentation build steps.


XDC - v. 0.6.1

Copyright © 2005 - 2006 Jens Voß.