| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- <![CDATA[ |
<!-- <![CDATA[ |
| 3 |
$Id: default-site.xml,v 1.1 2007/12/07 23:23:26 allisterbeharry Exp $ |
$Id: default-site.xml,v 1.2 2008/03/08 01:40:18 allisterbeharry Exp $ |
| 4 |
]]> --> |
]]> --> |
| 5 |
|
|
| 6 |
<!-- ==================================================================================================== --> |
<!-- ==================================================================================================== --> |
| 23 |
<taskdef name="DumpProperties" classname="DumpPropertiesTask"/> |
<taskdef name="DumpProperties" classname="DumpPropertiesTask"/> |
| 24 |
|
|
| 25 |
<!-- ================================= |
<!-- ================================= |
| 26 |
|
target: clean-files |
| 27 |
|
================================= --> |
| 28 |
|
<target name="clean-files" depends="configure" description="--> standalone task to remove the files directory under drupal.dir"> |
| 29 |
|
<echo>-------------------------------------------------</echo> |
| 30 |
|
<echo> +++++ Running default-site.xml clean-files +++++</echo> |
| 31 |
|
<echo>-------------------------------------------------</echo> |
| 32 |
|
<available file="${drupal.filesDirPath}" type="dir" property="drupal.filesDirPath"/> |
| 33 |
|
<if><isset property="drupal.dir.DirectoryExists"/><then> |
| 34 |
|
<delete dir="${drupal.filesDirPath}" includeemptydirs="true" verbose="false" failonerror="true"/> |
| 35 |
|
<echo>${drupal.filesDirPath} deleted </echo> |
| 36 |
|
</then> |
| 37 |
|
</if> |
| 38 |
|
</target> |
| 39 |
|
<!-- ================================= |
| 40 |
target: main |
target: main |
| 41 |
================================= --> |
================================= --> |
| 42 |
<target name="main" depends="configure" description="--> Runs the site-configure, site-build scripts in sequence"> |
<target name="main" depends="configure" description="--> Runs the site-configure, site-build scripts in sequence"> |