My lazy header ...

AntDoc
Target antdoc.website.generate.post

antdoc.website.generate.post
  |
  +--init

Copies the resources that should be added to the generated site directory.

This task uses the ${WEBSITE_GENERATED_DIRECTORY_PATH} property, which is the root directory where the website is being generated.

Detail:
<target
	depends="init"
	description="Copies the resources that should be added to the generated site directory."
	name="antdoc.website.generate.post"
>
	<copy toDir="${WEBSITE_GENERATED_DIRECTORY_PATH}">
		<fileset dir="${WEBSITE_SOURCE_DIRECTORY_PATH}">
			<include name="images/*"/>
		</fileset>
	</copy>

	<copy
		file="${TEMPORARY_DIRECTORY_PATH}/${ANTDOC_DOC_HTML_FILE_NAME}"
		toDir="${WEBSITE_GENERATED_DIRECTORY_PATH}/AntDoc"
	/>

	<copy
		flatten="yes"
		includeEmptyDirs="false"
		toDir="${WEBSITE_GENERATED_DIRECTORY_PATH}/j2h"
	>
		<fileset dir="${TEMPORARY_ROOT_DIRECTORY_PATH}/j2h">
			<include name="**/*"/>
		</fileset>
	</copy>

	<copy toDir="${WEBSITE_GENERATED_DIRECTORY_PATH}/javadoc">
		<fileset dir="${TEMPORARY_DIRECTORY_PATH}/javadoc/public">
			<include name="**/*"/>
		</fileset>
	</copy>
</target>

... is just like my footer!

Edouard Mercier 2003.12.08 20:31:08 - AntDoc V0.8h - XSL Transformer Factory: com.icl.saxon.TransformerFactoryImpl