My lazy header ...

AntDoc
Target antdoc.javawebstart

antdoc.javawebstart
  |
  +--antdoc.compile.properties
    |
    +--init

Creates the AntDoc JNLP deployment file for Java Web Start.


Detail:
<target
	depends="antdoc.compile.properties"
	description="Creates the AntDoc JNLP deployment file for Java Web Start."
	name="antdoc.javawebstart"
>
	<property file="${TEMPORARY_REPLACE_DIRECTORY_PATH}/${ANTDOC_PROPERTIES_FILE}"/>

	<delete file="${DISTRIBUTION_FULL_DIRECTORY_PATH}/${ANTDOC_JNLP_FILE_NAME}"/>

	<copy
		file="${SOURCE_DIRECTORY_PATH}/${ANTDOC_JNLP_FILE_NAME}"
		toDir="${DISTRIBUTION_FULL_DIRECTORY_PATH}"
	/>

	<condition
		property="ANT_XERCES_JAR"
		value="xerces.jar"
	>
		<and>
			<equals
				arg1="${ANT_VERSION}"
				arg2="1.4.1"
			/>
		</and>
	</condition>

	<property
		name="ANT_XERCES_JAR"
		value="xercesImpl.jar"
	/>

	<condition
		property="ANT_JAXP_JAR"
		value="jaxp.jar"
	>
		<and>
			<equals
				arg1="${ANT_VERSION}"
				arg2="1.4.1"
			/>
		</and>
	</condition>

	<property
		name="ANT_JAXP_JAR"
		value="xml-apis.jar"
	/>

	<replace file="${DISTRIBUTION_FULL_DIRECTORY_PATH}/${ANTDOC_JNLP_FILE_NAME}">

		<replacefilter
			token="@@@antdoc.name@@@"
			value="${antdoc.name}"
		/>

		<replacefilter
			token="@@@antdoc.gui.name@@@"
			value="${antdoc.gui.name}"
		/>

		<replacefilter
			token="@@@antdoc.version@@@"
			value="${VERSION}"
		/>

		<replacefilter
			token="@@@antdoc.date@@@"
			value="${TIME_STAMP}"
		/>

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

		<replacefilter
			token="@@@antdoc.author.url@@@"
			value="${antdoc.author.url}"
		/>

		<replacefilter
			token="@@@ant.version@@@"
			value="${ANT_VERSION}"
		/>
		<--replacefilter
                        				token="@@@antdoc.javawebstart.codebase@@@"
                        				value="http://localhost/AntDoc/${ANT_VERSION}"
                        			/-->

		<replacefilter
			token="@@@antdoc.javawebstart.codebase@@@"
			value="http://the.edouard.mercier.free.fr/AntDoc/${ANT_VERSION}"
		/>

		<replacefilter
			token="@@@ant.xerces.jar@@@"
			value="${ANT_XERCES_JAR}"
		/>

		<replacefilter
			token="@@@ant.jaxp.jar@@@"
			value="${ANT_JAXP_JAR}"
		/>
	</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