1 <project name="update site">
2 <!-- ========================================================================= -->
3 <!-- Extracts feature zip for update site -->
4 <!-- expected properties: -->
5 <!-- id - feature id to extract -->
6 <!-- buildDirectory - base directgory where build takes place -->
7 <!-- buildLabel - build id label -->
8 <!-- updateSiteRoot - where to extract feature zip -->
9 <!-- ========================================================================= -->
10 <target name="extractFeature">
11 <unzip src="${buildDirectory}/${buildLabel}/${id}-${buildLabel}.zip" dest="${updateSiteRoot}"/>