<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>
|