| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- <![CDATA[ |
<!-- <![CDATA[ |
| 3 |
$Id: site-fetch.xml,v 1.11 2007/09/29 06:06:24 allisterbeharry Exp $ |
$Id: site-fetch.xml,v 1.12 2008/03/17 07:01:30 allisterbeharry Exp $ |
| 4 |
--> |
--> |
| 5 |
<project name="site-fetch" default="main"> |
<project name="site-fetch" default="main"> |
| 6 |
<!-- ============================================================================================================== --> |
<!-- ============================================================================================================== --> |
| 34 |
<echo>-------------------------------------------------</echo> |
<echo>-------------------------------------------------</echo> |
| 35 |
<!--(Re)create drupal.dir--> |
<!--(Re)create drupal.dir--> |
| 36 |
<available file="${drupal.dir}" type="dir" property="drupal.dir.DirectoryExists"/> |
<available file="${drupal.dir}" type="dir" property="drupal.dir.DirectoryExists"/> |
| 37 |
|
<!-- <available file="${drupal.dir}${php.directory_separator}files${php.directory_separator}.htaccess" type="file" property="drupal.dir.htaccess.Exists"/> |
| 38 |
|
<if><isset property="drupal.dir.DirectoryExists"/><then> |
| 39 |
|
<delete file="${drupal.dir}${php.directory_separator}files${php.directory_separator}.htaccess" /></then> |
| 40 |
|
</if> --> |
| 41 |
|
|
| 42 |
<if><isset property="drupal.dir.DirectoryExists"/><then> |
<if><isset property="drupal.dir.DirectoryExists"/><then> |
| 43 |
<!--Make all files in dir writeable --> |
<!--Make all files in dir writeable --> |
| 44 |
<if><not><equals arg1="${host.fstype}" arg2="UNIX" /></not><then> |
<!-- <if><not><equals arg1="${host.fstype}" arg2="WINNT" /></not><then> |
| 45 |
<warn>Chmoding permissions on the ${drupal.dir} directory only works under UNIX-type filesystems; you will have to change permissions on ${drupal.dir} manually if necessary.</warn> |
<warn>Chmoding permissions on the ${drupal.dir} directory only works under UNIX-type filesystems; you will have to change permissions on ${drupal.dir} manually if necessary.</warn> |
| 46 |
</then> |
</then> |
| 47 |
<else> |
<else> |
| 51 |
</fileset> |
</fileset> |
| 52 |
</Chmod> |
</Chmod> |
| 53 |
</else> |
</else> |
| 54 |
</if> |
</if> --> |
| 55 |
|
|
| 56 |
<delete dir="${drupal.dir}" includeemptydirs="true" verbose="false" failonerror="true"/> |
<delete dir="${drupal.dir}" includeemptydirs="true" verbose="false" failonerror="true"/> |
| 57 |
<echo>${drupal.dir} deleted </echo> |
<echo>${drupal.dir} deleted </echo> |
| 58 |
</then> |
</then> |