<?xml version="1.0"?>
<!--
- Licensed Materials - Property of IBM Corp.
- IBM AnthillPro
- (c) Copyright IBM Corporation 2011, 2013. All Rights Reserved.
-
- U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by
- GSA ADP Schedule Contract with IBM Corp.
-->
<project name="Package Plugin" basedir="." default="package">

  <!-- ===================================================================
         Package the Plugin
       =================================================================== -->

  <target name="package" description="Package the plugin files found in ${plugin.dir} into a corresponding plugin zip file">
    <fail unless="${plugin.dir}" message="Please specify the plugin.dir property to locate where the plugin files are located" />
    <basename property="plugin.name" file="${plugin.dir}"/>
    <zip destfile="${plugin.name}-${plugin.version}.zip" basedir="${plugin.dir}"/>
  </target>
</project>