| 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:36:23 allisterbeharry Exp $ |
$Id: default-site.xml,v 1.2 2007/12/09 06:32:03 allisterbeharry Exp $ |
| 4 |
]]> --> |
]]> --> |
| 5 |
<!--========================================================================--> |
<!--========================================================================--> |
| 6 |
<!-- @file This is the build file for the default-site build project. It is |
<!-- @file This is the build file for the default-site build project. It is |
| 26 |
<taskdef name="DumpProperties" classname="DumpPropertiesTask"/> |
<taskdef name="DumpProperties" classname="DumpPropertiesTask"/> |
| 27 |
|
|
| 28 |
<!-- ================================= |
<!-- ================================= |
| 29 |
|
target: clean-files |
| 30 |
|
================================= --> |
| 31 |
|
<target name="clean-files" depends="configure" description="--> standalone task to remove the files directory under drupal.dir"> |
| 32 |
|
<echo>-------------------------------------------------</echo> |
| 33 |
|
<echo> +++++ Running default-site.xml clean-files +++++</echo> |
| 34 |
|
<echo>-------------------------------------------------</echo> |
| 35 |
|
<available file="${drupal.filesDirPath}" type="dir" property="drupal.filesDirPathExists"/> |
| 36 |
|
<if><isset property="drupal.filesDirPathExists"/><then> |
| 37 |
|
<delete dir="${drupal.filesDirPath}" includeemptydirs="true" verbose="false" failonerror="true"/> |
| 38 |
|
<echo>${drupal.filesDirPath} deleted </echo> |
| 39 |
|
</then> |
| 40 |
|
</if> |
| 41 |
|
</target> |
| 42 |
|
|
| 43 |
|
<!-- ================================= |
| 44 |
target: main |
target: main |
| 45 |
================================= --> |
================================= --> |
| 46 |
<target name="main" depends="configure" description="--> Runs |
<target name="main" depends="configure" description="--> Runs |