My lazy header ...

AntDoc
Target antdoc.website.generate.hot

antdoc.website.generate.hot
  |
  +--antdoc.website.generate.pre
    |
    +--init
  |
  +--antdoc.html.manual
    |
    +--antdoc.compile.properties
      |
      +--init

Generates AntDoc website and hot-deploys it locally.

This is the same target as antdoc.website.generate, except that the site is hot-deployed under my local PHP server.
Override the Ant ${WWW_ROOT_PATH} property in order to specify in what www directory the generated files should be output.

Detail:
<target
	depends="antdoc.website.generate.pre, antdoc.html.manual"
	description="Generates AntDoc website and hot-deploys it locally."
	name="antdoc.website.generate.hot"
>
	<echo level="info">Generating site in '${WWW_ROOT_PATH}/AntDoc'</echo>

	<taskdef
		classname="${ED_PACKAGE}.wedsitor.WedSitor"
		name="WedSitor"
	/>

	<WedSitor
		destination="${WWW_ROOT_PATH}/AntDoc"
		frames="no"
		mainCSS="${WEBSITE_SOURCE_DIRECTORY_PATH}/AntDoc.css"
		mySQLDatabaseName="test"
		mySQLHostName="localhost"
		mySQLUserName="root"
		mySQLUserPassword=""
		php="yes"
		portal="${WEBSITE_SOURCE_DIRECTORY_PATH}/Portal.xml"
		source="${WEBSITE_SOURCE_DIRECTORY_PATH}"
	/>

	<antcall target="antdoc.website.generate.post">
		<param
			name="WEBSITE_GENERATED_DIRECTORY_PATH"
			value="${WWW_ROOT_PATH}/AntDoc"
		/>
	</antcall>

	<antcall target="antdoc.website.example">
		<param
			name="WEBSITE_GENERATED_DIRECTORY_PATH"
			value="${WWW_ROOT_PATH}/AntDoc"
		/>
	</antcall>
</target>

... is just like my footer!

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