My lazy header ...

WedSitor
Target wedsitor.website.generate.life

wedsitor.website.generate.life
  |
  +--init

Generates WedSitor own web site and places the resulting site under the local PHP environment

The site is hot-deployed under the PHP server.

Detail:
<target
	depends="init"
	description="Generates WedSitor own web site and places the resulting site under the local PHP environment"
	name="wedsitor.website.generate.life"
>
	<property
		location="${TEMPORARY_DIRECTORY_PATH}/WedSitor"
		name="WEBSITE_DIRECTORY_PATH"
	/>

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

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

	<mkdir dir="${PHP_WWW_ROOT_PATH}/WedSitor/wedsitor"/>

	<antcall target="wedsitor.zip"/>

	<copy
		file="WedSitor-${VERSION}.zip"
		toDir="${PHP_WWW_ROOT_PATH}/WedSitor/wedsitor"
	/>
</target>

... is just like my footer!

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