<!--
  Copyright org.apache.openstack

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  Limitations under the License.
-->

<project>
    <!-- Storlets Engine build /-->
    <target name="build_engine">
        <ant dir="src/java" target="build" />
    </target>

    <target name="clean_engine">
        <ant dir="src/java" target="clean" />
    </target>

    <!-- Storlets Engine install /-->
    <target name="install_engine">
        <ant dir="src/java" target="install" />
    </target>

    <target name="uninstall_engine">
        <ant dir="src/java" target="uninstall" />
    </target>

    <!-- Storlets Samples build -->
    <target name="build_storlets">
        <ant dir="StorletSamples/java" target="build" />
    </target>

    <target name="clean_storlets">
        <ant dir="StorletSamples/java" target="clean" />
    </target>

    <!-- Overall build -->
    <target name="build" depends="build_engine, build_storlets" />
    <target name="clean" depends="clean_engine, clean_storlets" />

    <!-- Overall install -->
    <target name="install" depends="install_engine" />
    <target name="uninstall" depends="uninstall_engine" />
</project>
