Show build.xml syntax highlighted
<?xml version="1.0" encoding="UTF-8"?>
<project name="agentdoc" default="help" basedir="../..">
<!-- Set the relative path to current module directory -->
<property name="module.dir" value="${basedir}/gb-agent/gb-docs"/>
<!-- ================================================================== -->
<!-- Setup the builder environment-->
<!-- ================================================================== -->
<!-- Common GridBlocks build scripts -->
<import file="${basedir}/builder/builder.xml"/>
<!-- GridBlocks modules and their dependencies -->
<import file="${basedir}/builder/modules.xml"/>
<!-- ================================================================= -->
<!-- Initialisation-->
<!-- ================================================================= -->
<!-- Initialise the common build system.
Other targets should depend on this init before doing anything. -->
<target name="init" unless="builder:initialised" depends="modules:init, builder:init">
</target>
<!-- ================================================================= -->
<!-- Module dependent configuration-->
<!-- ================================================================= -->
<!-- Initialise module dependent configurations. Called automatically
from build script. -->
<target name="configure">
<!-- Module name and version -->
<property name="module.name" value="gb-docs"/>
<property name="module.version" value="${agent.version}"/>
<property name="release.prefix" value="gb-agent"/>
<!-- fill here your local property names -->
<!-- Javadoc package includes -->
<property name="javadoc.packages" value="fi.hip.gb.*"/>
<!-- Javadoc package includes -->
<property name="cvs.package" value="agentdoc"/>
<!-- Additional bootclasspath variables for building-->
<property name="bootclasspath.local" value=""/>
<!-- External libraries needed for building-->
<path id="library.classpath">
<!-- for building -->
<fileset dir="${module.buildlib}">
<include name="**/*.jar"/>
</fileset>
</path>
</target>
<!-- ================================================================= -->
<!-- Help-->
<!-- ================================================================= -->
<target name="help" depends="init,builder:help">
<echo>
Full documentation of build tasks can be found
from application documents package:
- docs/ant.html
- http://gridblocks.sourceforge.net/agent/ant.html
</echo>
</target>
<!-- ================================================================= -->
<!-- Default task-->
<!-- ================================================================= -->
<target name="all" depends="init, clean, release"
description="Clean, compile and release everything">
</target>
<!-- ================================================================= -->
<!-- Documenting-->
<!-- ================================================================= -->
<target name="docs" depends="init,builder:docs-app"
description="Build application documentation">
</target>
<!-- ================================================================= -->
<!-- Install and release -->
<!-- ================================================================= -->
<target name="copy-deps" depends="init, require:agentdoc, require:btdoc, require:midpdoc">
<copy todir="${build.javadoc}/agent">
<fileset dir="${agent.dir}/${agent.docs}"/>
</copy>
<copy todir="${build.javadoc}/bluetooth">
<fileset dir="${bluetooth.dir}/${bluetooth.docs}"/>
</copy>
<copy todir="${build.javadoc}/midp">
<fileset dir="${midp.dir}/${midp.docs}"/>
</copy>
</target>
<target name="release" depends="init, copy-deps, docs, builder:release:jar"
description="Release the module with application documents and Javadoc">
</target>
<!-- ================================================================= -->
<!-- Cleaning -->
<!-- ================================================================= -->
<target name="clean" depends="init,builder:clean"
description="Clean up everything">
</target>
</project>
See more files for this project here