My lazy header ...

AntDoc
Target antdoc.html.manual

antdoc.html.manual
  |
  +--antdoc.compile.properties
    |
    +--init

Copies and modifies the HTML AntDoc manual in the temporaray directory.

This target creates the ${TEMPORARY_DIRECTORY_PATH} directory if necessary. It also read the Java ${TEMPORARY_REPLACE_DIRECTORY_PATH}/${ANTDOC_PROPERTIES_FILE} properties file.

Detail:
<target
	depends="antdoc.compile.properties"
	description="Copies and modifies the HTML AntDoc manual in the temporaray directory."
	name="antdoc.html.manual"
>
	<property file="${TEMPORARY_REPLACE_DIRECTORY_PATH}/${ANTDOC_PROPERTIES_FILE}"/>

	<mkdir dir="${TEMPORARY_DIRECTORY_PATH}"/>

	<copy
		file="${JAVA_SOURCE_DIRECTORY_PATH}/${ED_PACKAGE_PATH}/ant/${ANTDOC_DOC_HTML_FILE_NAME}"
		toDir="${TEMPORARY_DIRECTORY_PATH}"
	/>

	<replace file="${TEMPORARY_DIRECTORY_PATH}/${ANTDOC_DOC_HTML_FILE_NAME}">
		<replacefilter
			token="@@@VERSION@@@"
			value="${VERSION}"
		/>

		<replacefilter
			token="@@@DATE@@@"
			value="${TIME_STAMP}"
		/>

		<replacefilter
			token="@@@antdoc.author.email@@@"
			value="${antdoc.author.email}"
		/>
	</replace>
</target>

... is just like my footer!

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